Slash command not working - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-11-18, 04:54 PM   #1
A Frostmaul Preserver
Join Date: Nov 2006
Posts: 263
Slash command not working

Trying to add this into my addon. It already does many other slash commands with no isue
  SLASH_ZID = '/zid'
  SlashCmdList['ZID'] = function() print(C_Map.GetBestMapForUnit('player')) end
I checked to make sure this wasn't being used already. And its free. Afterwards I check to make sure
the code is there. If I call SlashCmdList['ZID']() externally it works fine. but /zid doesn't work

no idea why.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Slash command not working

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off