Search found 2 matches
- 21 Jan 2022, 01:30
- Forum: Gaming Help (v1)
- Topic: How can I immediately interrupt a while loop, or refactor my logic?
- Replies: 0
- Views: 521
How can I immediately interrupt a while loop, or refactor my logic?
I'm trying to write an auto sprint script for the game The Forest, however, I need to hold the shift key down for some duration, then release and wait for stamina to regenerate before pressing once again. I would rather not have to wait for this cycle to complete before exiting the loop and so I wan...
- 18 Jan 2022, 07:38
- Forum: Ask for Help (v1)
- Topic: Multiple commands under an 'if' statement Topic is solved
- Replies: 5
- Views: 2221
Re: Multiple commands under an 'if' statement Topic is solved
Maybe this?
Code: Select all
MsgBox, 4, Would you like to continue? (press Yes or No)
IfMsgBox No
Return
MsgBox You pressed Yes.
x := 123