Advertisement
nO_OnE_910

Untitled

Jul 20th, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.25 KB | None | 0 0
  1. $Userstart = Inputbox("Test", "Start:")
  2. $Userend = Inputbox("Test", "End:")
  3. Func Dummy($i)
  4.     If Random (0, 1, 1) = 1 Return True
  5.     Return False
  6. EndFunc
  7. $current = $Userstart
  8. Do
  9.     $test = Dummy($current)
  10.     $current += 1
  11. Until $test Or $current > $Userend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement