To make CLEO scripts, put at the beginning of source:
To compile script - press F6. .cs file will be compiled.
Also you may be surprised by "Jump to 0 offset".
Put e.g 0000: NOP before the label then.
It`s because you may not add anything before the first pointed label. BTW there are no labels in compiled SCM anyway. They are just negative offsets relative to the beginning of compiled script.
| CODE |
{$CLEO} 0000: NOP
:dumpscreen wait 0 if 0AB0: key_pressed 48 // press zero on left side of keyboard else_jump @dumpscreen 0A1E: dump_screen 1 wait 500 jump @dumscreen
|