I wrote this command to toggle bunny hopping with a voice command, and it works fine, but I was curious if there is a more efficient way to do it.
Begin Boolean Compare : [TOG_BUNNYHOP] Has Not Been Set
Set Boolean [TOG_BUNNYHOP] to False
End Condition
Begin Boolean Compare : [TOG_BUNNYHOP] Equals True
Set Boolean [TOG_BUNNYHOP] to False
Say, 'bunny hop, off'
Else
Set Boolean [TOG_BUNNYHOP] to True
Say, 'bunny hop, on'
End Condition
Start Loop While : [TOG_BUNNYHOP] Equals True
Press Space key and hold for 0.25 seconds and release
Pause 1 second
End Loop