hey,
i'm looking for a way to create aliases for slash commands in WoW so that instead of e.g. /readycheck i could type /rdc (or some other acronym or phrase of MY choosing).
From googling I've found a GlobalStrings.lua referenced where slash commands are supposed to be stored but that info seems to be outdated since it doesn't exist in my WoW-folder.
I also don't really want to mess with any WoW-internal files. Obviously, addons can create slash-commands so if it's not too much to ask i'd be glad if someone could hack a quick .lua file together for me to put the aliases in.
Any other tips or pointers are appreciated.
Regards,
zora
P.S.:
Code:
SLASH_RL = '/rl';
function SlashCmdList.RL(msg, editbox)
ReloadUI();
end
SLASH_RDC = '/rdc';
function SlashCmdList.RDC(msg, editbox)
DoReadyCheck();
end
I got this far. The /rl alias works (triggers Reload UI). But the /rdc alias doesn't work. Why?