Jump to content

Alittle help with input box.


Recommended Posts

Hello all i am making alittle program that needs to run a "func" as many times as a user would like so i put in a input box and i cant seem to get it to run as many times as i would like it to. for Ex: ill type in 3 in the input box and then it will ethor run only 1 time or if i put it another way it will run till i stop it. here is the code.

Func Start()
    $value = InputBox("Enter Amount", "Enter the amount of keys to rip.")
$i = 0
Do
    Call("MenuNAV")
  $i = $i > $value
Until $i = $value

EndFunc

i hope poeple will understand what i am doing :whistle: i never tryed running a input box so heads up i am a noob.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...