Page 1 of 1

Disable/enable Addons

Posted: Thu Aug 04, 2011 6:14 am
by klubi
Hi, i'm looking for an option to disable/enable addons in my WP, I thought chat commands like /ntb off would work, but seems like i don't now how, i tried
RoMScript("SendChatMessage(\"/ntb off\",\"ZONE\",0,\"CharName\")") ;
but the bot post it as message

I'm working on a Malatina's Survival WP my next problem is, the bot should lootdemolish the Tiles and loot the chest again after getting disturbed, so i tried
player:target_Object("Treasure Tile", nil, true, true);
but the bot get stuck with this option

Thank you for your help :)

Re: Disable/enable Addons

Posted: Thu Aug 04, 2011 6:24 am
by S1y
Hi Klubi

you can use :

Code: Select all

SlashCommand("/ntb off");
or

Code: Select all

SlashCommand("ntb off");
both should work, but make sure you have the latest RomBot version as this function was added recently.

I dont know how to solve your second problem thou.

Take Care

Re: Disable/enable Addons

Posted: Sat Aug 06, 2011 6:37 pm
by klubi
SlashCommand

works well, thank you

Re: Disable/enable Addons

Posted: Sat Aug 06, 2011 9:26 pm
by rock5
That slash command really turned out to be a good idea. There's already a few people using it in a relatively short time. :)