Create Slash Commands
View Single Post
08-05-17, 11:10 AM
I did that?
Join Date: Dec 2011
SLASH_PHRASE1 = "/ph"; SLASH_PHRASE2 = "/sph"; SlashCmdList["PHRASE"] = function(msg) ... end
if you type "/ph something" or "/sph something", "something" will be passed as a string to the msg/txt parameter of your slash comand function.
local anything is local to that module/code chunk and can't be "seen" outside of it. I'm not sure what you mean by SendChatMessage but if you mrean calls to the SendChatMessage function in code then no.
Discord Unit Frames
Move Pad Plus.
Last edited by Fizzlemizz : 08-05-17 at
View Public Profile
Send a private message to Fizzlemizz
Find More Posts by Fizzlemizz