I have posted before about looping scripts and exit loops but now it is something different.
Take into consideration I am a beginner so do not get angry if you think my ways are 'stupid'
OK I have a script where the user inputs some numbers
before (stupidly) I have tried
$input = inputbox("input", "how many times to repeat?", "") $set = "1" while 1 $set = $set +1 if $set = $input then exitloop else ;do stuff endif wend
this is an example
$number = inputbox("Beep", "how many times should it repeat?", "") ;repeat $number of times beep(500, 500) wend
please if you could help.
Edited by Scriptmaster, 23 March 2012 - 07:49 PM.