Page 1 of 1

Micromacro waiting time code ? (like sleep delay )

Posted: Sat Dec 08, 2012 7:12 pm
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);

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

Posted: Sat Dec 08, 2012 7:26 pm
by lisa

Code: Select all

yrest(3000)
any reason you don't use the mail addon, like someone mentioned in your last topic?

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

Posted: Sat Dec 08, 2012 7:53 pm
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 :)

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

Posted: Sat Dec 08, 2012 8:56 pm
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

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

Posted: Sun Dec 09, 2012 3:21 am
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