Battletard wrote:
Necrachilles wrote:
The Kayne macro does seem good, but I don't think it would function as is. =/
Yeah I think I messed it up when I tried to recreate it after a WTF folder wipe.
Fix it, lul. The mathrandom 5 part means it has a 1 in 5 chance of doing it I think...to prevent spam during pve encounters.
Code:
#showtooltip
/cast Spellname
/script if math.random(5) == 5 then local s=UnitCastingInfo("target") or UnitChannelInfo("target") if s then SendChatMessage('Yo %t, imma let you finish, but Hogger had the best ' .. s .. ' of all time.') end end
lol I spent like an hour trying to make this code work from scratch and then I came upon the sorce of it originally. So as it turns out, the only thing wrong with yours was the question marks.
sup 60 minutes of wasted time!