CLOSEWINDOW=[ape sequence number]
You must close those windows that you opened.
You can close ALL windows by using 0:0, BUT you may have a think switch running and that will close as well causing many problems.
GAMEVAR=[gamevariable, value (0 = unset)]
When you wanna set variables or change some.
Gamevar=ilovejoey,1 – set variable ilovejoey to 1.
Gamevar=ilovejoey,9 – set variable ilovejoey to 9.
Gamevar=ilovejoey,0 – will remove variable entirely.