How to execute a slash command from the bot?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
ctps
Posts: 4
Joined: Fri Jan 22, 2010 4:32 am

How to execute a slash command from the bot?

#1 Post by ctps »

Hi guys,

I want to execute a slash command from the bot. Say I want to configure Lootfilter++ as "/lf add * I". It is not hard. I were able to do that but I forgot completely. How bad!

Anyone can help me on this.

Thanks
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: How to execute a slash command from the bot?

#2 Post by Administrator »

Check the Lua file that came with the addon to find it's slash-command function. Now, just call that function inside RoMScript().
ctps
Posts: 4
Joined: Fri Jan 22, 2010 4:32 am

Re: How to execute a slash command from the bot?

#3 Post by ctps »

Thanks man, I will give it a try.
Post Reply