How to stop this script working when a key has been clicked and activate again when clicked again
Posted: 22 Apr 2023, 18:17
Basically need to stop this script from working when a key is clicked and start working again when clicked again
[Mod action: Topic moved from "Ask for Help (v2)" since this is v1 code.]
Code: Select all
gosub generateNewRandom ;Generate initial random number
*~$LButton::
numClicks--
if(numClicks==0){
Click
gosub generateNewRandom ;Generate subsequent random numbers
}
return
generateNewRandom:
Random, numClicks , 1, 11 ;Adjust these values as needed
return
[Mod action: Topic moved from "Ask for Help (v2)" since this is v1 code.]