beginscript; SetGlobalVar (0, 0); label Start: if (PlayerInRange(500) != 1) { EndFrame(); goto Start; } SetGlobalVar (0, 1); label End: EndFrame(); goto End; endscript; $