On the code you wrote can I add an option to turn on, and off the rapid fire ? I mean I know I can just do this for example
if buttoncheck = 1 then
sleep 6
else
goto main something like that but where would i add it.
Yes, you can. Think in terms of 2 loops each checking the switch. 1 loop elses into the main loop which loops back into the loop, but if true it goes to loop 2 which loops into itself unless true, effectively giving you an on off toggle.