View Single Post
09-11-18, 04:54 PM   #1
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Slash command not working

Trying to add this into my addon. It already does many other slash commands with no isue
Code:
  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