Im by no means an expert here, in fact slash commands absolutely drive me insane with their flakey little rules.
But i was having lots of trouble in AggroAlert to get basic slash commands to work, in fact it was just one command to do a toggle just like yours, until i finally cracked it.
I had to add
if (cmd) then
<command handler stuff>
end
inside the function. Again, this might not solve your problem at all, but it solved mine, and mine was set up almost the exact same way.
__________________
--Sathanas
|