View Single Post
03-18-06, 02:25 PM   #35
Mamamu
A Defias Bandit
Join Date: Feb 2006
Posts: 2
Originally Posted by Gello
I'm adding a small mod to create events such as this. Basically you hit a key and it will take a snapshot of your buffs. You pick one and it will create an event to wear while that buff is up.
I found this little script helpfull:
function showAllUnitBuffs(sUnitname)
local iIterator = 1
DEFAULT_CHAT_FRAME:AddMessage(format("[%s] Buffs", sUnitname))
while (UnitBuff(sUnitname, iIterator)) do
DEFAULT_CHAT_FRAME:AddMessage(UnitBuff(sUnitname, iIterator), 1, 1, 0)
iIterator = iIterator + 1
end
DEFAULT_CHAT_FRAME:AddMessage("---", 1, 1, 0)
end

showAllUnitBuffs("Player") returns the name and flurry was named something like GhoulFrenzy so I solved the problem. Thanks anyways!
  Reply With Quote