10-13-11, 04:46 AM | #1 |
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 |
|
Riftui » Developer Discussions » Lua Help » Slash Commands |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Switch to Linear Mode |
Switch to Hybrid Mode |
Threaded Mode |
|
|