View Single Post
04/07/14, 06:14 PM   #7
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
Okay, let's find out exactly what is happening.

1. It isn't kicking up an error ?
2. You are typing the slash command EXACTLY as you have typed it in your addon, in lower case ?
3. What exactly are you typing ?
4. What does your slash command function do when you do not type anything after the slash command itself ?
5. It is activating the ABT.initBookTrack function and allocating the function to the slash command table ?

Step 5 is a bit hard to do but you could go that one step further and put a debug statement into the slash command function itself to see if it gets activated, even if it doesn't do what you expect later.

I personally cannot see any reason why it won't work for you despite the slight differences to my own code. I can only assume something else is causing a problem somewhere that is making the slash command not work.

Can you put up what your slash command function looks like. It would give us an idea if something is causing a problem at that stage.
  Reply With Quote