Jump to content
Sign in to follow this  

Help with array / looping

Recommended Posts


I'm working on a bot.

But there is one thing i don't know.

At the begin of the script i want a input box.

That asks for an ID, and repeats that until cancel has been pressed.

Example input:





HotKeySet("{END}", "StartBot2")

$value = InputBox("Enter ID", "Please insert all ID's", "")  ;Repeat this until cancel has been pressed

;After Cancel, keep running
While 1

;When Hotkey has been pressed, start function.
;I want this function to loop once the hotkey has been pressed once.
Func StartBot2()
MouseClick("left", 459, 67, 2)
Send($value) ;I want this to change after every loop, Example: First Loop : 456  Second Loop: 897 until all have been used
Edited by philo

Auto It Ruels

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...