Micromacro waiting time code ? (like sleep delay )
Posted: Sat Dec 08, 2012 7:12 pm
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);
<?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);