Micromacro waiting time code ? (like sleep delay )

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
mrtgtr
Posts: 67
Joined: Wed Mar 21, 2012 5:09 pm

Micromacro waiting time code ? (like sleep delay )

#1 Post by mrtgtr »

I want to take all mail with clicking.

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-421" z="-5997" y="21"> player:target_NPC("Logar mailbox");
sendMacro("ChoiceOption(1);");
player:mouseclickL(47, 185, 1024, 768);
player:mouseclickL(445, 455, 1024, 768);
</waypoint>
</waypoints>

It is going to mailbox and opening it and clicking to mails but it is clicking very fast it isnt wait to open mail.

I must put waiting time to mouse clicking how must be waypoint codes ?
How is waiting time code ?
for example :
delay 3000;
sleep (3000);
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Micromacro waiting time code ? (like sleep delay )

#2 Post by lisa »

Code: Select all

yrest(3000)
any reason you don't use the mail addon, like someone mentioned in your last topic?
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
mrtgtr
Posts: 67
Joined: Wed Mar 21, 2012 5:09 pm

Re: Micromacro waiting time code ? (like sleep delay )

#3 Post by mrtgtr »

lisa wrote:

Code: Select all

yrest(3000)
any reason you don't use the mail addon, like someone mentioned in your last topic?
ok thanks now it is work perfectly but now I need Stopping code

How I will stop to macro ? What is stopping code ? I am learning with your techs :)
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Micromacro waiting time code ? (like sleep delay )

#4 Post by lisa »

lisa wrote: any reason you don't use the mail addon, like someone mentioned in your last topic?
you didn't answer my question
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
mrtgtr
Posts: 67
Joined: Wed Mar 21, 2012 5:09 pm

Re: Micromacro waiting time code ? (like sleep delay )

#5 Post by mrtgtr »

lisa wrote:
lisa wrote: any reason you don't use the mail addon, like someone mentioned in your last topic?
you didn't answer my question
my english bad I am not using mail addon because ultimate mail addon dont work on my game :S
Post Reply