View Single Post
12-16-12, 01:27 PM   #12
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,322
It only does that when the command you entered isn't in the table. If that's the case, the command doesn't exist in the normal slash command list and shouldn't increment the counter.

I modified the code posted above to accept secure commands and emotes, regular chat is omitted. I forgot there was a global function Blizzard provided to check if a slash command is a secure command. As for the emotes, that's just something that was overlooked when I posted previously.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote