Originally Posted by Fizzlemizz
What function did you add to SlashCmdList to be called by your /xxx command?
|
Well,
.executeCmd() function is made for general purpose and could receive different kind of commands or macros, something like:
Lua Code:
.executeCmd("/sit", true) -- built-in macro
.executeCmd("/anAddonSlashCmd arg1", true) -- an addon /cmd
.executeCmd("print(GetServerTime()", false) -- script
So I'm not sure to understand what are you proposing.