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.