[help] waypoint wait/stop command

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
xxxoxxx
Posts: 2
Joined: Sun Jul 17, 2011 2:05 pm

[help] waypoint wait/stop command

#1 Post by xxxoxxx »

Hi guys.

my bot is working great but i want to know how to set my char waypoint to wait or stop

exp:

<!-- # 1 --><waypoint x="-3689" z="-7952"></waypoint>
<!-- # 2 --><waypoint x="-3574" z="-8057"></waypoint>
<!-- # 3 --><waypoint x="-3478" z="-8003"></waypoint> <----- when my char come here i want to him wait like 10min or stop and when my char teleport he run first line to continue

is this Possible or not ?


thanks for wired question ~~
User avatar
nerf
Posts: 88
Joined: Thu Jan 27, 2011 10:44 am

Re: [help] waypoint wait/stop command

#2 Post by nerf »

<!-- # 3 --><waypoint x="-3478" z="-8003"> player:rest(600) </waypoint>


http://www.solarstrike.net/phpBB3/viewt ... f=21&t=386
player:rest(20) will rest for 20 seconds.
player:rest(60, 20) will rest between 60 and 80 seconds.
player:rest(90, 40, "full") will rest up to between 90 and 130 seconds, and stop resting if being full
player:rest(90, 40, "time") will rest up to between 90 and 130 seconds, and not stop resting if being full
player:rest(20, 40, "full, 20") will rest up to between 20 and 60 seconds, and stop resting if being full, and wait after that between 1-20 seconds
xxxoxxx
Posts: 2
Joined: Sun Jul 17, 2011 2:05 pm

Re: [help] waypoint wait/stop command

#3 Post by xxxoxxx »

wow thanks so much I'm glad for this man :)

thanks again :D
User avatar
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

Re: [help] waypoint wait/stop command

#4 Post by MiesterMan »

I think player:rest() will only rest until full.

Edit: Nope, player:sleep() doesn't accept arguments, it just wait until you tell it to continue.
Post Reply