beginscript; label wait: if (GetGlobalVar(0)==1) { EndFrame(); goto Checkdist; } EndFrame(); goto wait; label Checkdist: if (GetGlobalVar(0)==6) { EndFrame(); goto end; } if (GetGlobalVar(0)==2) { EndFrame(); goto wait2; } if (GetGlobalVar(0)==4) { EndFrame(); goto wait3; } if (PlayerInRange(1800)) { EndFrame(); goto Checkdist; } if (GetCameraID() != (0x801)) { EndFrame(); goto Checkdist; } if (GetGlobalVar(0)==6) { EndFrame(); goto end; } TriggerMessage(30,0xffff,0xffff); WaitForTime(60); if (PlayerInRange(1800)) { EndFrame(); goto Checkdist; } if (GetGlobalVar(0)==6) { EndFrame(); goto end; } TriggerMessage(29,0xffff,0xffff); label back: if (PlayerInRange(1800)) { EndFrame(); goto Checkdist; } EndFrame(); goto back; EndFrame(); goto Checkdist; label wait2: if (GetGlobalVar(0)==3) { EndFrame(); goto Checkdist; } EndFrame(); goto wait2; label wait3: if (GetGlobalVar(0)==5) { EndFrame(); goto Checkdist; } EndFrame(); goto wait3; label End: EndFrame(); goto End; endscript; $