You should be using the latest nightly Lua fix experimental build.
I don't understand what you mean by getting the timing right
All you need to do is press PLAY then, with no timing sensitivity, INFO
If you are seeing 'Exit & Do Nothing' you are in interactive mode.
Now press MENU and PLAY to move through your presets.
Once you find a preset that you wish to change, then press INFO, this will toggle that state according to your scripting and exit interactive mode. Pressing PLAY twice will give you normal PLAY.
1TOG2 is the right script.
Have you read and changed the script to your needs.
The default toggler script runs with my Focus Bar script, although toggler should run if FB is not loaded, i.e. the FB menu toggles are ignored.
Cheers
Garry