Here is the code, figure out how to use it. Next time you give us your script tell us how it works and where you want the new code to be. I don't have time to figure it out but here's something what it should look like. You will need to have it in a loop to constantly check if it's being pressed. Work around with it
Code:
1@ == 0
:ENABLE_DISABLE
if
0AB0: key_pressed 120 //When key F9 pressed
then
if
1@ = 1 //If turned on
then
1@ = 0 //Turn off code
//Code disable
else // Turn on code
1@ = 1
//Code enable
end
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.