command to stop bot...?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
dinhdong
Posts: 1
Joined: Mon Sep 28, 2009 12:31 am

command to stop bot...?

#1 Post by dinhdong »

Is there a command to stop and log out of game when heal is low/empty??

thanks for your help
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: command to stop bot...?

#2 Post by d003232 »

dinhdong wrote:Is there a command to stop and log out of game when heal is low/empty??
You have to check the

Code: Select all

player.PotionHpUsed
counter in your profile events and after you reach your limit, use the

Code: Select all

player:logout([true]);
function. You could also use a inventory function

Code: Select all

if (inventory:bestAvailableConsumable("healing") == false) then
to see, that you are out of potions.
The RoM Bot Online Wiki needs your help!
Post Reply