Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
loop delay?
#1
here is my script:
Code:
Copy      Help
rep 600
    int w1=win("Hot Step" "5th Street")
    rig 496 422 w1
    'As
    dou 327 587 w1
    dou 327 587 w1
    dou 327 587 w1
    dou 327 587 w1
    dou 327 587 w1
    dou 327 587 w1
    dou 327 587 w1
    dou 327 587 w1
    lef 327 587 w1
    dou 321 229 w1
    lef 347 413 w1
    dou 1006 602 w1
    lef 984 594 w1
    lef 806 543 w1
    lef 808 355 w1
    lef 807 549 w1

And I have to make that script waits 2 sec after doing that job for me but I don't know the syntax which can control this problem, could anybody help me? Smile
#2
wait 2
#3
it only wait for the 1st time, the n times after that continuously go without waiting Cry
#4
put the wait command within the rep loop
in other words, put the wait command underneath the rep command and indented


Forum Jump:


Users browsing this thread: 5 Guest(s)