Page 1 of 1

How to execute a slash command from the bot?

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

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

Posted: Wed Mar 10, 2010 6:36 am
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().

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

Posted: Tue Mar 16, 2010 1:13 am
by ctps
Thanks man, I will give it a try.