Jump to content
kudl131

On and off with hotkey and the loop - (Locked)

Recommended Posts

Hi, i need some help. I need a example for a script that when i press Z then the switch will turn on and start the loop that clicking at x0 y 50 when isarray $test else of $test not isarray the loop will wait for $test isarray. Then if i press Z+X the loop will turn off.

Thanks for reading and help!

Share this post


Link to post
Share on other sites

i cant use my computer now so i jusst can tell you about it :

$test=Pixelsearch(X Y COLOR)

while isarray $test 

mouseclick(left,x,y,1)

mouseclick(left,x,y,1)

wend

 

 

Im newbie so i dont know how to use else on while command : when $test  not isarray then mouseclick(left,x,y,1) and then do the samp with loop

 

Yes, im making magikarp catcher script to catch magikarp

 

Share this post


Link to post
Share on other sites

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...