beginloop2
@IF [@1]
@IF [@2]
SetContextStatus 2
stblchange
SetContextStatus 3
@IF [@3]
stlogout
rewind2 [ScriptIterationLimit]