Hi, Im trying to get caster's name of Stormlash Totem to the chat using this awesome Weak Auras addon. However Im not that great in lua and all these custom functions. Ive tried to combine something using info on these forums and wowace but its not working at all. Could someone please help me with custom function for this?.
This is something Ive ended up with:
I guess its not going to work anyway.Code:function(event, timestamp, message, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...) if message == "SPELL_CAST_START" then local spellName, spellId = ... if spellName == "Stormlash Totem" or spellId == 120668 then SendChatMessage(sourceName .. " applied " .. spellName .. (destName and " to " or "") .. destName or "", "SAY"); return true end end end
Thx in advance.

MMO-Champion
Reply With Quote



