Slash command functions help
Hi,
I have written an addon for a simple text based game, which has several functions. I would like these functions to be callable by doing something like this:
/addonname nameoffunction argument
- The / command documentation i've seen doesn't seem to allude to how this can be done, so i'm a bit stuck (trying to google) I know it's possible as DBM does something similar, and i'm trying to search through that to find out how it's done but it's a huge addon, and i'm quite new to Lua.
Is there any guide on how to do this? Or can somebody help me figure this one out?
Thanks
|