Slash Commands
I am tring to learn how to create add-ons in the Rift API. I wanted to start with something simple, and started with slash commands. I thought it would be simple. I got my .toc file completed and I created the .lua file. In the .lua file I created two slash commands:
table.insert = Command.Slash.Register("hey")
table.insert = Command.Slash.Register("heythere")
Took me awhile to get this far, I was using eventTable instead of table.insert.
Now I would like to add some function to the slash command. I was thinking of an emote that that says hello to the target. When I type /hey it will say "hello (target) how are you doing".
Regards,
Lildry
|