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 » Wed Mar 10, 2010 2:32 am

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: 5333
Joined: Sat Jan 05, 2008 4:21 pm

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

#2 Post by Administrator » Wed Mar 10, 2010 6:36 am

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 » Tue Mar 16, 2010 1:13 am

Thanks man, I will give it a try.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest