Jump to content

Recommended Posts

  • Moderators

Hi, acgarlick, welcome to the forum. We tend to take the "teach a man to fish" philosophy around here, rather than just writing your code for you. Take a look at your code below, and the relative areas in the Help file. Once you have given it a go, feel free to come back and ask questions if you get stuck ;)

SendInput, %MyNumber% <--Check our Send and ControlSend in the Help file. Also take a look at the Variables section for creating variables and assigning value.

if (MyNumber < 12000) {

MyNumber += 1

} else { <--Check out the If...Then and If..Then...ElseIf...Else...EndIf topics in the Help file.

MyNumber = 10000

"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 post
Share on other sites

Global $iMyNumber = InputBox("", "Please enter your number.")


If ($iMyNumber < 12000) Then
    $iMyNumber += 1
    $iMyNumber = 10000


A minesweeper game created in autoit, source available.


An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...