Jump
jump <address>
<address> - is a gamevar that stores the destination address.
Transfers control to another statement with a specified <address> which should be obtained by the getcurraddress command. The address must be obtained before the corresponding jump command. This limitation makes it hardly possible to do a jump forward.
Here is an example that shows how to make a countdown loop(from 10 to 1) by means of the jump command.
// addr and i are gamevars. setvar i 10 getcurraddress addr // begin loop addlogvar i subvar i 1 ifvarn i 0 jump addr // if 'i' isn't 0, jumps to addr