Thanks allot semlar! for quick and more information then i needed =)
This is what i had
Code:
local _, eventType, _, _, srcName = select(1, ...)
if (eventType == "SPELL_CAST_SUCCESS") and (srcName == UnitName("player")) then
local spellId = select(12,...);
if (spellId == 118000) or (spellId == 118000) then --Dragon Roar, Bladestorm
What i needed too change was
Code:
local _, eventType, _, _, srcName = select(1, ...)
if (eventType == "SPELL_CAST_SUCCESS") and (srcName == UnitName("player")) then
SendChatMessage('FUS RO DAH')
local spellId = select(12,...);
if (spellId == 118000) or (spellId == 118000) then --Dragon Roar, Bladestorm
Basically nothing but as a noob i learned something tooday atleast ^^
And once again thanks for more info then i needed made me self-learning.