Code:
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.