Code:
if message:match("call1") then
C_Timer.After(7, SendChatMessage(string.gsub(message, "call1", "call2"), "SAY"))
C_Timer.After(15, SendChatMessage(string.gsub(message, "call1", "call3"), "SAY"))
end
and Bugger throws me:
1x SoAData\SoAData-1.3.lua:18: Usage: C_Timer.After(seconds, func)
[C]:: in function 'After'
SoAData\SoAData-1.3.lua:18: in function <SoAData\SoAData.lua:9
In that way i had used before
http://www.wowwiki.com/USERAPI_wait (and its still working, just wondering how to use that new C_Timer.After)
So, i messed some commas or brackets, or just using it all wrong?