Close! Is there a way to also include an argument as part of the alias?
What I'm getting at is this:
If I wanted to make it so /fs does the same thing as /yell Frostshooock! , I could do this:
SLASH_FS1 = "/fs";
SlashCmdList["FS"] = function()
SendChatMessage("Frostshooock!", "YELL");
end
That works, but is avoiding the issue by doing it via script, which has no (unprotected) function to mimic /use with an argument.
I'm trying to get /hg to mimic /use Have Group, Will Travel; /gb to mimic /use Mobile Banking; etc.
|