Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using OR operators with "wait"
#1
I was wondering is it possible somehow to use syntax like:

wait 10.0 || K a

To wait 10 min or to go further if key "a" is pressed... It would be more then helpful to me, I used to do something like:

wait 60.0 k F12
if(key(VK_F12)) goto g1
wait 300.0
;g1

Thx in advance... Smile
#2
ifk- F12
,wait 300
out 1

or

wait 300 K F12
err
,out "this code runs after 10 minutes if F12 not pressed during that time"
,goto g1
out "this code runs if F12 pressed during that time"
;g1
out 1


Forum Jump:


Users browsing this thread: 1 Guest(s)