beginscript; ExcTargetType(0xffffffff); IncTargetType(0x80); IncTargetType(0x2); SetFollowRange(0); label wait: if (GetGlobalVar(0) == 1) { SelectWeapons(0,1,0); EndFrame(); goto WeaponSelect; } EndFrame(); goto wait; label WeaponSelect: if (PlayerInRange(1000)) { SelectWeapons(0,1,0); } else { SelectWeapons(1,0,0); } EndFrame(); goto WeaponSelect; label End: EndFrame(); goto End; endscript; $