kudl131 Posted December 3, 2020 Share Posted December 3, 2020 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! Link to comment Share on other sites More sharing options...
Danp2 Posted December 3, 2020 Share Posted December 3, 2020 Hi... your request is fairly vague. Can you show us what code you've written thus far? Also, what program are you attempting to automate? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
kudl131 Posted December 3, 2020 Author Share Posted December 3, 2020 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 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 3, 2020 Moderators Share Posted December 3, 2020 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! Link to comment Share on other sites More sharing options...
Recommended Posts