Advertisement
Guest User

Untitled

a guest
Aug 4th, 2013
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.27 KB | None | 0 0
  1. _cmdrun = {
  2. titleText ['Init Anon Lite v2.1','PLAIN DOWN'];
  3.  
  4. _genVar = {_arr = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","ANON"];_gen = "ANON";for "_i" from 1 to 5 do {_gen = _gen + (_arr select (random ((count _arr)-1)));};_gen}; if(isNil'dayzforce_save')then{dayzforce_save = true;
  5. _rand1 = call _genVar; _rand2 = call _genVar;
  6. _rand3 = call _genVar; _rand4 = call _genVar;
  7. _rand5 = call _genVar; _rand6 = call _genVar;
  8. _hintcode = call _genVar; _rand8 = call _genVar;
  9. _rand9 = call _genVar; _rand10 = call _genVar;
  10. _rand11 = call _genVar; _rand12 = call _genVar;
  11. _rand13 = call _genVar; _rand14 = call _genVar;
  12. _rand15 = call _genVar; _rand16 = call _genVar;
  13. _rand17 = call _genVar; _rand18 = call _genVar;
  14. _rand19 = call _genVar; _rand20 = call _genVar;
  15. _rand21 = call _genVar; _rand22 = call _genVar;
  16. _rand23 = call _genVar; _rand24 = call _genVar;
  17. _rand25 = call _genVar; _rand26 = call _genVar;
  18. _rand27 = call _genVar; _rand28 = call _genVar;
  19. _rand29 = call _genVar; _rand30 = call _genVar;
  20. _rand31 = call _genVar; _rand32 = call _genVar;
  21. _rand33 = call _genVar; _rand34 = call _genVar;
  22. _rand35 = call _genVar; _rand36 = call _genVar;
  23. _rand37 = call _genVar; _rand38 = call _genVar;
  24. _rand39 = call _genVar; _rand40 = call _genVar;
  25. _rand41 = call _genVar; _rand42 = call _genVar;
  26. _rand43 = call _genVar; _rand44 = call _genVar;
  27. _rand45 = call _genVar; _rand46 = call _genVar;
  28. _rand47 = call _genVar; _rand48 = call _genVar;
  29. _rand49 = call _genVar; _rand50 = call _genVar;
  30. _rcmd = format [" ||cmdprocess_||",floor(random 10000)];
  31. _rand51 = call _genVar; _rand52 = call _genVar;
  32. _rand53 = call _genVar; _rand54 = call _genVar;
  33. _rand55 = call _genVar; _rand56 = call _genVar;
  34. _rand57 = call _genVar; _rand58 = call _genVar;
  35. _rand59 = call _genVar; _rand60 = call _genVar;
  36. _fn_ExtendName = call _genVar;
  37.  
  38. call compile ('
  39. '+_rand1+' =
  40. {
  41. [] spawn
  42. {
  43. '+_rand50+' =
  44. {
  45. _text = _this select 0;
  46. _text = toArray _text;
  47. '+_rand51+' = false;
  48. '+_rand52+' = [];
  49. for "_i" from 0 to (count _text -1) do
  50. {
  51. _char = _text select _i;
  52. if (_char == 124) then {'+_rand51+' = true;};
  53. if !('+_rand51+') then {'+_rand52+' = '+_rand52+' + [_char];};
  54. };
  55.  
  56. _textString = toString '+_rand52+';
  57. [_textString] call '+_rand24+';
  58. };
  59.  
  60. '+_rand4+' =
  61. {
  62. sleep 0.1;
  63. _text = _this select 0;
  64. _pos1 = _this select 1;
  65. _pos2 = _this select 2;
  66. _id = _this select 3;
  67. [format["<t size =""1"" color=""#00FF00"" allign=""left""></t>",_text],_pos1,_pos2,99999999,0,0,_id] spawn bis_fnc_dynamicText;
  68. };
  69.  
  70. '+_rand47+' =
  71. {
  72. _item = _this select 0;
  73. _isTrue = _this select 1;
  74. _quantity = _this select 2;
  75.  
  76. if (_isTrue) then
  77. {
  78. _config = [_item];
  79. _num = parseNumber _quantity;
  80.  
  81. for "_i" from 1 to _num do
  82. {
  83. _isOK = [player,_config] call BIS_fnc_invAdd;
  84. };
  85.  
  86. player globalchat format [" of added to your Inventory!",_num,_item];
  87. hint format [" of added to your Inventory!",_num,_item];
  88. }
  89. else
  90. {
  91. _config = [_item];
  92. _isOK = [player,_config] call BIS_fnc_invAdd;
  93. _mags = getArray(configfile >> "cfgWeapons" >> _item >> "magazines");
  94. _config = _mags select 0;
  95. _isOK = [player,_config] call BIS_fnc_invAdd;
  96. _isOK = [player,_config] call BIS_fnc_invAdd;
  97. _isOK = [player,_config] call BIS_fnc_invAdd;
  98. player globalchat format [" added to your Inventory!",_item];
  99. hint format [" added to your Inventory!",_item];
  100. };
  101. };
  102.  
  103. '+_rand48+' =
  104. {
  105. _classname = _this select 0;
  106.  
  107. '+_rand19+' =
  108. {
  109. _array = toArray (_this select 0);
  110. _count = (_this select 1) - 1;
  111. _max = (count _array) - 1;
  112. _Num = [];
  113. for "_i" from 0 to _count do
  114. {
  115. if !(_i > _max) then {_Num = _Num + [_array select _i];};
  116. };
  117. _firstNum = toString _Num;
  118. _firstNum
  119. };
  120.  
  121. '+_rand20+' =
  122. {
  123. _array = toArray (_this select 0);
  124. _count = (_this select 1) - 1;
  125. _max = (count _array) - 1;
  126. _Num = [];
  127. for "_i" from 0 to _count do
  128. {
  129. if !((_max - (_count - _i)) > _max) then {_Num = _Num + [_array select (_max - (_count - _i))];};
  130. };
  131. _firstNum = toString _Num;
  132. _firstNum
  133. };
  134.  
  135. '+_rand21+' = ["SEAGULL","BOX","MINE","SADARM_","LASER_","WP_","_MLRS","_81","_82","_105","_120","_122","_227","_AA","_AT",
  136. "_AP","_80","_57","_85","_100","_125","_30","_IED","_CRV7","_MEEWS","_SMAW","_GRAD","_SABOT","_SH","KORD","DSHKM","MK19",
  137. "AGS","NEST_","R_PG","R_OG","B_","_YAKB","COCK","PARACHUTE","LAND_","BBARRACKS","_LHD_","_ACR","MASH_","FORT_","BASICWEAPONS","SPECIALWEAPONS","_UAV"];
  138.  
  139. '+_rand22+' = [];
  140. for "_i" from 2 to 6 do
  141. {
  142. _charFront = [_classname,_i] call '+_rand19+';
  143. _charBack = [_classname,_i] call '+_rand20+';
  144. '+_rand22+' = '+_rand22+' + [toUpper (_charFront)];
  145. '+_rand22+' = '+_rand22+' + [toUpper (_charBack)];
  146. };
  147.  
  148. '+_rand23+' = false;
  149. {
  150. if (_x in '+_rand21+') exitWith {hint ("ERROR: CHARS\n\n"""+_x+"""\n\nIN CLASSNAME\n\n"""+_classname+"""\n\nWILL KICK"); '+_rand23+' = true;};
  151. } forEach '+_rand22+';
  152.  
  153. waitUntil {!('+_rand23+')};
  154. [("Classname "+_classname+" is OK: Preparing to spawn!")] spawn '+_hintcode+';
  155.  
  156. allunits = [];
  157. publicVariable "allunits";
  158.  
  159. sleep 0.5;
  160.  
  161. _dir = getDir player - 90;
  162. _location = player modelToWorld [0,6,0];
  163.  
  164. _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
  165.  
  166. [("Spawning:<br/>"+_classname)] spawn '+_hintcode+';
  167.  
  168. _tent = _object;
  169. _tent setdir _dir;
  170. _tent setpos _location;
  171. player reveal _tent;
  172. };
  173. if (isNil "'+_rand5+'") then {'+_rand5+' = [];};
  174. '+_rand9+' = false;
  175. [] spawn '+_rand6+';
  176.  
  177. '+_rand6+' =
  178. {
  179. _name = _this select 0;
  180. _istrue = _this select 1;
  181. if (_istrue) then
  182. {
  183. if !(_name in '+_rand5+') then
  184. {
  185. '+_rand5+' = '+_rand5+' + [_name];
  186. };
  187. }
  188. else
  189. {
  190. if (_name in '+_rand5+') then
  191. {
  192. '+_rand5+' = '+_rand5+' - [_name];
  193. };
  194. };
  195.  
  196. for "_i" from 0 to 6 do {["",0,0,(3000+_i)] spawn '+_rand4+';};
  197. sleep 0.2;
  198. for "_i" from 0 to (count '+_rand5+' - 1) do
  199. {
  200. _hak = '+_rand5+' select _i;
  201. if (_i == 0) then
  202. {
  203. [_hak,(safezoneX- 1.26)/2,-(safezoneH-1.25)/2,3000] spawn '+_rand4+';
  204. };
  205.  
  206. if (_i == 1) then
  207. {
  208. [_hak,(safezoneX- 1.26)/2,-(safezoneH-1.45)/2,3001] spawn '+_rand4+';
  209. };
  210.  
  211. if (_i == 2) then
  212. {
  213. [_hak,(safezoneX- 1.26)/2,-(safezoneH-1.65)/2,3002] spawn '+_rand4+';
  214. };
  215.  
  216. if (_i == 3) then
  217. {
  218. [_hak,(safezoneX- 1.26)/2,-(safezoneH-1.85)/2,3003] spawn '+_rand4+';
  219. };
  220.  
  221. if (_i == 4) then
  222. {
  223. [_hak,(safezoneX- 1.26)/2,-(safezoneH-2.05)/2,3004] spawn '+_rand4+';
  224. };
  225.  
  226. if (_i == 5) then
  227. {
  228. [_hak,(safezoneX- 1.26)/2,-(safezoneH-2.25)/2,3005] spawn '+_rand4+';
  229. };
  230.  
  231. if (_i == 6) then
  232. {
  233. [_hak,(safezoneX- 1.26)/2,-(safezoneH-2.45)/2,3005] spawn '+_rand4+';
  234. };
  235.  
  236. if (_i == 7) then
  237. {
  238. [_hak,(safezoneX- 1.26)/2,-(safezoneH-2.65)/2,3005] spawn '+_rand4+';
  239. };
  240. };
  241. };
  242. '+_hintcode+' =
  243. {
  244. [format ["<t size =""0.8"" font = ""Zeppelin33"" color=""#CC0000"" allign=""center""></t>",_this select 0], (safezoneX + 0.6)/2,-(safezoneH-2.5)/2,2,0,0,3110] spawn bis_fnc_dynamicText;
  245. sleep 4;
  246. ["<t size =""0.9"" color=""#3333FF"" allign=""center""></t>", (safezoneX + 0.6)/2,-(safezoneH-2.5)/2, 2,0,0,3110] spawn bis_fnc_dynamicText;
  247. };
  248. '+_rand8+' =
  249. {
  250. sleep 0.01;
  251. _first = toLower (_this select 0);
  252. _second = toLower (_this select 1);
  253. _third = toLower (_this select 2);
  254. _fourth = toLower (_this select 3);
  255. _whole = (_this select 3);
  256.  
  257. if ('+_rand45+') exitWith {'+_rand45+' = false; [_first,false,0] spawn '+_rand47+';};
  258. if ('+_rand46+') exitWith {'+_rand46+' = false; [_first] spawn '+_rand48+';};
  259.  
  260. '+_fn_ExtendName+' =
  261. {
  262. _second = _this select 0;
  263. _allnames = [];
  264. {
  265. if (isPlayer _x) then
  266. {
  267. _allnames = _allnames + [name _x];
  268. };
  269. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  270. {
  271. _fullname = toArray _x;
  272. _halfname = toArray _second;
  273.  
  274. _fullname resize (count _halfname);
  275.  
  276. if (toLower(_second) == toLower(toString _fullname)) then {_second = _x;};
  277. } forEach _allnames;
  278.  
  279. _second
  280. };
  281.  
  282. _god = ["/god","/gm","/godmode","/untouchable","/invincible"];
  283. _esp1 = ["/esp","/pmark"];
  284. _esp = ["/esp1","/markers1","/pmark1"];
  285. _help = ["/help","/help 1"];
  286. _delete = ["/delete","/del","/d"];
  287. _wpn = ["/spawnweapon","/wpn","/item","/i","/weapon"];
  288. _tp = ["/tp","/jump","/tele","/warp","/teleport"];
  289. _veh = ["/spawnvehicle","/spawn","/spwnveh","/spwn","/veh"];
  290. _kill = ["/killall","/rape","/rapemurder"];
  291. _search = ["/filter","/classname","/search","/spawnhelp"];
  292. _commandHelp = ["/commands","/aliases","/names"];
  293. _tpto = ["/tpto","/to","/getpos"];
  294. _grass = ["/grass","/nograss","/g","/goff"];
  295. _spectate = ["/spec","/spectate","/watch"];
  296. _remoteControl = ["/control","/remotecontrol","/ctrl","/rctrl"];
  297. _box = ["/box","/wpnbox","/crate","/ammocrate","/spawnbox","/ammobox","/wpncrate"];
  298. _morph = ["/skin","/morph"];
  299. _log = ["/log","/leave","/disconnect"];
  300. _start = ["/start","start"," /start"," start"];
  301. _clip = ["/mouse","/mouseclip","/noclip","/clip"];
  302. _explo = ["/explo","/boom","/explode","/exp"];
  303. _msg = ["/msg:","/message:"];
  304. _breakingpointDev = ["/bpdev","/breakingpointDev"];
  305. _bpAdmin = ["/bpadmin","/breakingpointadmin"];
  306. _close = ["/close","/cl"];
  307. _back = ["/back","/bck","/b"];
  308. _mark = ["/markers","/mapmark","/mapmarkers","/mark"];
  309. _zkill = ["/shield","/sheild","/zshield","/zsheild","/nozombies","/nozed"];
  310. _exec = ["/run","/exec","/execute"];
  311. _backpck = ["/backpack","/bpck","/bpk","/sack","/pack"];
  312. _repair = ["/repair","/fixme","/vehfix","/vehgod"];
  313. _ammo = ["/ammo","/refill","/giveammo"];
  314. _explobullets = ["/explosive","/bullets","/explosivebullets","/explobullets","/explob","/bullets"];
  315. _last = ["/r","/l","/last","/recent"];
  316. _bldg = ["/building","/spawnbuilding"];
  317. _cmdoff = ["/cmdoff","/obfuscate","/cmdprocess","/chatmode"];
  318. _eject = ["/eject","/getout","/forcegetout","/abandonship"];
  319. _join = ["/join","/getin","/movein","/moveto"];
  320. _guard = ["/guard","/bodyguard","/tavianaguarddog"];
  321. _assassian = ["/assassianate","/assassian","/assassin","/assassinate","/assasianate","/assassanate","/hitman"];
  322. _time = ["/timeset","/time","/settime","/teim","/tiem"];
  323. _infammo = ["/infinite","/infammo","/superammo"];
  324. _ban = ["/ban","/bpban","/breakingpointban"];
  325. _antitaze = ["/antitaze","/notaze","/untazable","/antifreeze"];
  326. _bloodsuckers = ["/bloodsucker","/bloodsuckers"];
  327. _taze = ["/taze","/tazer","/laze","/knockout"];
  328. _army = ["/personalarmy","/army","/soldiers"];
  329. _unlock = ["/unlock","/open"];
  330. _warning = ["/warning"];
  331. _dogs = ["/zombiedogs","/infectedhound","/zdogs","/dogs"];
  332. _players = ["/players"];
  333.  
  334. _commands = _god + _esp + _help + _delete + _wpn + _tp + _veh + _kill + _search + _commandHelp + _tpto + _grass + _spectate;
  335. _commands = _commands + _remoteControl + _box + _morph + ["/kill"] + _esp1 + _log + _start + _clip + _explo + _msg;
  336. _commands = _commands + _bpAdmin + _breakingpointDev + _close + _back + _mark + _zkill + ["/test"] + _exec + _backpck;
  337. _commands = _commands + _repair + ["/humanity"] + _ammo + _explobullets + _last + _bldg + _cmdoff + _eject + _join;
  338. _commands = _commands + _guard + _assassian + _time + _infammo + _ban +_antitaze + _taze + _bloodsuckers + _army + _unlock;
  339. _commands = _commands + _warning + _dogs + _players;
  340. if (_first in _commands) then
  341. {
  342. if (_first in _players) then
  343. {
  344. ["Stunt doubles called in. Act normal."] call '+_hintcode+';
  345. _me = typeOf player;
  346. for "_i" from 1 to 20 do
  347. {
  348. _agent = createAgent [_me, getPos player, [], 30, "NONE"];
  349. _position = getPosATL _agent;
  350. [_position, _agent] execFSM "\z\AddOns\dayz_code\system\zombie_agent.fsm";
  351. };
  352. };
  353.  
  354. if (_first in _dogs) then
  355. {
  356. ["Infected Hounds called in."] call '+_hintcode+';
  357. for "_i" from 1 to 20 do
  358. {
  359. _agent = createAgent ["dz_pastor_infected", getPos player, [], 30, "NONE"];
  360. _position = getPosATL _agent;
  361. [_position, _agent] execFSM "\z\AddOns\dayz_code\system\zombie_agent.fsm";
  362. };
  363. };
  364.  
  365. if (_first in _warning) then
  366. {
  367. "Anon lite detection warning" hintC
  368. [
  369. parsetext "<t color=""#FF0000"">/god - Do not use on Infistars anticheat<t/>",
  370. parsetext "<t color=""#FF0000"">/box - Do not use on Infistars anticheat<t/>",
  371. parsetext "<t color=""#FF0000"">/esp - Do not use on Infistars anticheat<t/>",
  372. parsetext "<t color=""#FF0000"">/infammo - Do not use on Breaking Point or Infistars anticheat<t/>"
  373. ];
  374.  
  375. };
  376. if (_first in _unlock) then
  377. {
  378. _list = ["dvereGarazLeve","dvereGarazPrave","dvereDvaB","dvereJednaA","dvereJednaADira","dvereJednaDira","dvereDvaDira","dvereDva",
  379. "dvereGarazLeveDva","dvereJednaC","prapor","dvereTri","dvereJedna","dvereDvaBDira","vrataGaraz","vrataGaraz2","dvereGarazLeveDva",
  380. "dvereGarazPraveDva","dvere4tiri","hridel","kolo1","kolo2","vaha","svich","door1","door2","door3","door4","door5","door6","door7",
  381. "door8","vratkaDva"];
  382. {
  383. _object = cursortarget;
  384. _object animate [_x,1];
  385. } forEach _list;
  386. [("Opening "+(str cursortarget)+"")] call '+_hintcode+';
  387. };
  388.  
  389. if (_first in _army) then
  390. {
  391. ["Spawning personal Army... this is not /b/"] call '+_hintcode+';
  392. _list = ([6800, 9200, 0] nearEntities [["SectorB_def"], 40000]);
  393.  
  394. {
  395. _unit = _x;
  396. [player] joinsilent (group _unit);
  397.  
  398. _bolt = _unit;
  399. _hitObject = vehicle player;
  400. _val = [(random 5.00),(random 5.00),0];
  401. _hitMemoryPt = " ";
  402.  
  403. _bolt attachTo [_hitObject,_val,_hitMemoryPt];
  404. sleep 0.1;
  405. detach _bolt;
  406. } forEach _list;
  407. };
  408.  
  409. if (_first in _taze) then
  410. {
  411. if ((_second == "all") or (_second == "everyone")) then
  412. {
  413. hint "ZAPZAPZAP";
  414. ["Tazing EVERYONE! zapzapzap"] call '+_hintcode+';
  415. {
  416. if ((isPlayer _x) and !(_x == player)) then
  417. {
  418. [_x, player, DDOPP_taser_koTime] spawn DDOPP_taser_victimFx;
  419. };
  420. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  421. }
  422. else
  423. {
  424. _second = [_second] call '+_fn_ExtendName+';
  425. hint "ZAPZAPZAP";
  426. [("Tazing "+(_second)+"! zapzapzap")] call '+_hintcode+';
  427. {
  428. if ((toLower(name _x) == _second) and (isPlayer _x) and !(_x == player)) then
  429. {
  430. [_x, player, DDOPP_taser_koTime] spawn DDOPP_taser_victimFx;
  431. };
  432. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  433. };
  434. };
  435.  
  436. if (_first in _bloodsuckers) then
  437. {
  438. ["Be Careful, these niggas will eat through your godmode..."] call '+_hintcode+';
  439. for "_i" from 1 to 20 do
  440. {
  441. _agent = createAgent ["bloodsucker", getPos player, [], 30, "NONE"];
  442. _position = getPosATL _agent;
  443. [_position, _agent] execFSM "\z\AddOns\dayz_code\system\zombie_agent.fsm";
  444. };
  445.  
  446. };
  447.  
  448. if (_first in _antitaze) then
  449. {
  450. ["Starting Anti-Tazer Loop"] call '+_hintcode+';
  451. while {true} do
  452. {
  453.  
  454. if (player getVariable "isTazed") then
  455. {
  456. hint "YOU HAVE BEEN TAZED\nAnon WILL FIX YOU";
  457. disableuserinput false;
  458. [[player,"amovppnemrunsnonwnondf"],true] call DDOPP_public_anim;
  459. player setVariable ["isTazed",false,true];
  460. };
  461.  
  462. };
  463. };
  464. if (_first in _ban) then
  465. {
  466. _second = [_second] call '+_fn_ExtendName+';
  467. {
  468. if ((toLower(name _x) == _second) and (isPlayer _x)) then
  469. {
  470. _world = toUpper(worldName);
  471. _nearestCity = (nearestLocations [getPos _x, ["NameCityCapital","NameCity","NameVillage","NameLocal"],1000] select 0);
  472. _town = "Wilderness";
  473. if (!isNull _nearestCity) then {_town = text _nearestCity};
  474.  
  475. BP_OnPlayerLogin = [true, name _x, getPlayerUID _x, "Faggot", "lol bp dev why u add ban table", _world, _town];
  476. publicVariableServer "BP_OnPlayerLogin";
  477. [(""+(name _x)+" is Banned on breakingpoint<br/>lelele devs why u put in ban pveh<br/>server needs to restart for ban to take effect")] call '+_hintcode+';
  478. };
  479. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  480. };
  481. if (_first in _infammo) then
  482. {
  483. ["If you are on breaking point, this will ban you<br/>disconnect now"] call '+_hintcode+';
  484. player setUnitRecoilCoefficient 0.001;
  485. _code = "[] spawn {while {true} do {vehicle player setVehicleAmmo 0.99;sleep 0.01;};};";
  486. call compile _code;
  487. };
  488. if (_first in _time) then
  489. {
  490. _day = ["day","daytime","noon","bright"];
  491. _night = ["night","nighttime","midnight","dark"];
  492.  
  493. _possible = _day + _night;
  494.  
  495. if (_second in _possible) then
  496. {
  497. if (_second in _day) then
  498. {
  499. '+_rand59+' = true;
  500. while {'+_rand59+'} do {setDate [2012, 9, 1, 14, 0]; sleep 5;};
  501. ["Day Time!"] spawn '+_hintcode+';
  502. }
  503. else
  504. {
  505. '+_rand59+' = false;
  506. while {!('+_rand59+')} do {setDate [2012, 9, 1, 3, 30]; sleep 5;};
  507. ["Night Time!"] spawn '+_hintcode+';
  508. };
  509. } else {["Time not recognized; /time day or /time night"] spawn '+_hintcode+';};
  510. };
  511. if (_first in _assassian) then
  512. {
  513. _second = [_second] call '+_fn_ExtendName+';
  514. [_second] spawn
  515. {
  516. {
  517. if ((toLower(name _x) == (_this select 0)) and (isPlayer _x)) then
  518. {
  519. _list = ([6800, 9200, 0] nearEntities [["SectorB_def"], 40000]);
  520.  
  521. for "_i" from 1 to 2 do
  522. {
  523. _unit = _list select floor(random count _list - 1);
  524. [player] joinsilent (group _unit);
  525. _bolt = _unit;
  526. _hitObject = vehicle _x;
  527. _val = [2*_i,-4,0];
  528. _hitMemoryPt = " ";
  529. _bolt attachTo [_hitObject,_val,_hitMemoryPt];
  530. sleep 1;
  531. detach _bolt;
  532. };
  533. hint ("Calling in Origins Hitmen to "+(name _x));
  534. };
  535. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  536. };
  537. };
  538. if (_first in _guard) then
  539. {
  540.  
  541. ["guards are among you"] spawn '+_hintcode+';
  542.  
  543. _list = ([6800, 9200, 0] nearEntities [["SectorB_def"], 40000]);
  544.  
  545. _unit = _list select floor(random count _list - 1);
  546. [player] joinsilent (group _unit);
  547.  
  548. _bolt = _unit;
  549. _hitObject = vehicle player;
  550. _val = [0,1,0];
  551. _hitMemoryPt = " ";
  552.  
  553. _bolt attachTo [_hitObject,_val,_hitMemoryPt];
  554. sleep 1;
  555. detach _bolt;
  556. };
  557.  
  558. if (_first in _join) then
  559. {
  560. _second = [_second] call '+_fn_ExtendName+';
  561. [] spawn
  562. {
  563. {
  564. if ((toLower(name _x) == _second) and (isPlayer _x)) then
  565. {
  566. _vehicle = vehicle _x;
  567. _x action ["Eject",vehicle _x];
  568. sleep 0.4;
  569. player action ["getInDriver",_vehicle];
  570. [("Attempting to Get in "+(name _x))] spawn '+_hintcode+';
  571.  
  572. };
  573. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  574. };
  575. };
  576.  
  577. if (_first in _eject) then
  578. {
  579. _second = [_second] call '+_fn_ExtendName+';
  580. {
  581. if ((toLower(name _x) == _second) and (isPlayer _x)) then
  582. {
  583. _x action ["Eject",vehicle _x];
  584. [("Attempting to Eject "+(name _x))] spawn '+_hintcode+';
  585.  
  586. };
  587. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  588.  
  589. };
  590. if (_first in _cmdoff) then
  591. {
  592. if (isNil "'+_rand58+'") then {'+_rand58+' = 0; }; if ('+_rand58+' == 0) then
  593. {
  594. '+_rand58+' = 1;
  595. '+_rand55+' = false;
  596. }
  597. else
  598. {
  599. '+_rand58+' = 0;
  600. '+_rand55+' = true;
  601. };
  602.  
  603. titleText ["Command Obfuscation toggled","PLAIN DOWN"];
  604. };
  605.  
  606. if ((_first in _search) and (_second in ["building","buildings","objects","object","structures","house","base"])) then
  607. {
  608.  
  609. ["Type in chat to search for Building classnames"] call '+_hintcode+';
  610. '+_rand14+' = [];
  611. _cfgvehicles = configFile >> "cfgVehicles";
  612. for "_i" from 0 to (count _cfgvehicles)-1 do
  613. {
  614. _vehicle = _cfgvehicles select _i;
  615. if (isClass _vehicle) then
  616. {
  617. _obj_type = configName _vehicle;
  618. if ((getNumber (_object >> "scope") == 2) && (getText (_object >> "picture") != "") && !((_obj_type isKindOf "ParachuteBase") or (_obj_type isKindOf "BIS_Steerable_Parachute")) && (_obj_type isKindOf "Building")) then
  619. {
  620. '+_rand14+' = '+_rand14+' + [_obj_type];
  621. };
  622. };
  623. };
  624.  
  625. '+_rand15+' =
  626. {
  627. _text = (_this select 1);
  628. _num = _this select 0;
  629.  
  630. '+_rand16+' = [];
  631. {
  632. _scan = [];
  633. _bump = toArray _x;
  634. for "_i" from 0 to (_num - 1) do
  635. {
  636. if !(count _bump <= (_num - 1)) then
  637. {
  638. _char = _bump select _i;
  639. if !(str _char == "") then
  640. {
  641. _scan = _scan + [_char];
  642. };
  643. };
  644. };
  645.  
  646. if ((toString _scan) == _text) then
  647. {
  648. if !(_x in '+_rand16+') then
  649. {
  650. '+_rand16+' = '+_rand16+' + [_x];
  651. };
  652. };
  653.  
  654. } forEach '+_rand14+';
  655.  
  656.  
  657.  
  658. if !(str '+_rand16+' == "[]") then
  659. {
  660. '+_rand17+' = "Results:\n----------------------\n";
  661. for "_i" from 0 to (count '+_rand16+' - 1) do
  662. {
  663. _result = '+_rand16+' select _i;
  664. '+_rand17+' = ('+_rand17+' + _result + "\n");
  665. };
  666. hint '+_rand17+';
  667. } else {hint "No Results.";};
  668. };
  669.  
  670. for "_i" from 1 to 15 do
  671. {
  672. waitUntil {!isNull (finddisplay 24)};
  673. waitUntil {(count (toArray (ctrlText ((findDisplay 24) displayCtrl 101))) == _i)};
  674. if !('+_rand46+') exitWith {};
  675. _text = (ctrlText ((findDisplay 24) displayCtrl 101));
  676.  
  677. [_i,_text] call '+_rand15+';
  678. };
  679. };
  680.  
  681. if (_first in _bldg) then
  682. {
  683. _classname = _this select 0;
  684.  
  685. '+_rand19+' =
  686. {
  687. _array = toArray (_this select 0);
  688. _count = (_this select 1) - 1;
  689. _max = (count _array) - 1;
  690. _Num = [];
  691. for "_i" from 0 to _count do
  692. {
  693. if !(_i > _max) then {_Num = _Num + [_array select _i];};
  694. };
  695. _firstNum = toString _Num;
  696. _firstNum
  697. };
  698.  
  699. '+_rand20+' =
  700. {
  701. _array = toArray (_this select 0);
  702. _count = (_this select 1) - 1;
  703. _max = (count _array) - 1;
  704. _Num = [];
  705. for "_i" from 0 to _count do
  706. {
  707. if !((_max - (_count - _i)) > _max) then {_Num = _Num + [_array select (_max - (_count - _i))];};
  708. };
  709. _firstNum = toString _Num;
  710. _firstNum
  711. };
  712.  
  713. '+_rand21+' = ["SEAGULL","BOX","MINE","SADARM_","LASER_","WP_","_MLRS","_81","_82","_105","_120","_122","_227","_AA","_AT",
  714. "_AP","_80","_57","_85","_100","_125","_30","_IED","_CRV7","_MEEWS","_SMAW","_GRAD","_SABOT","_SH","KORD","DSHKM","MK19",
  715. "AGS","NEST_","R_PG","R_OG","B_","_YAKB","COCK","PARACHUTE","LAND_","BBARRACKS","_LHD_","_ACR","MASH_","FORT_","BASICWEAPONS","SPECIALWEAPONS","_UAV"];
  716.  
  717. '+_rand22+' = [];
  718. for "_i" from 2 to 6 do
  719. {
  720. _charFront = [_classname,_i] call '+_rand19+';
  721. _charBack = [_classname,_i] call '+_rand20+';
  722. '+_rand22+' = '+_rand22+' + [toUpper (_charFront)];
  723. '+_rand22+' = '+_rand22+' + [toUpper (_charBack)];
  724. };
  725.  
  726. '+_rand23+' = false;
  727. {
  728. if (_x in '+_rand21+') exitWith {hint ("ERROR: CHARS\n\n"""+_x+"""\n\nIN CLASSNAME\n\n"""+_classname+"""\n\nWILL KICK"); '+_rand23+' = true;};
  729. } forEach '+_rand22+';
  730.  
  731. waitUntil {!('+_rand23+')};
  732. [("Classname "+_classname+" is OK: Preparing to spawn!")] spawn '+_hintcode+';
  733.  
  734. _dir = getDir player - 90;
  735. _location = player modelToWorld [0,10,0];
  736.  
  737. _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
  738.  
  739. [("Spawning:<br/>"+_classname)] spawn '+_hintcode+';
  740.  
  741. _tent = _object;
  742. _tent setdir _dir;
  743. _tent setpos _location;
  744. player reveal _tent;
  745. };
  746.  
  747. if (_first in _last) then
  748. {
  749. hint format["Running Last Command:\n\n\n\n",_first,_second,_third,_fourth];
  750. };
  751.  
  752. if (_first in _explobullets) then
  753. {
  754. if (isNil "'+_rand53+'") then
  755. {
  756. '+_rand53+' = 0;
  757. };
  758.  
  759. if ('+_rand53+' == 0) then
  760. {
  761. '+_rand53+' = 1;
  762. ["Explosive Bullets on"] spawn '+_hintcode+';
  763. ["Explosive Bullets",true] spawn '+_rand6+';
  764.  
  765. player removeAllEventHandlers "Fired";
  766. player addEventHandler
  767. [
  768. "Fired",
  769. {
  770. if !((str cursortarget) == "") then
  771. {
  772. _classname = "HelicopterExploBig";
  773. _location = screenToWorld [0.5,0.5];
  774. _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
  775. }
  776. else
  777. {
  778. _classname = "HelicopterExploBig";
  779. _location = (getpos cursortarget);
  780. _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
  781. };
  782. }
  783. ];
  784. }
  785. else
  786. {
  787. '+_rand53+' = 0;
  788. ["Explosive Bullets off"] spawn '+_hintcode+';
  789. ["Explosive Bullets",false] spawn '+_rand6+';
  790.  
  791. player removeAllEventHandlers "Fired";
  792. };
  793. };
  794. if (_first in _ammo) then
  795. {
  796. _item = currentWeapon player;
  797. _mags = getArray(configfile >> "cfgWeapons" >> _item >> "magazines");
  798. _config = _mags select 0;
  799. _isOK = [player,_config] call BIS_fnc_invAdd;
  800. _isOK = [player,_config] call BIS_fnc_invAdd;
  801. _isOK = [player,_config] call BIS_fnc_invAdd;
  802. player globalchat format ["Three added to your Inventory!",_config];
  803. hint format ["Three added to your Inventory!",_config];
  804. };
  805. if (_first == "/humanity") then
  806. {
  807. if (_third == "") then
  808. {
  809. _hum = parseNumber _second;
  810. player setVariable["humanity",_hum,true];
  811. cutText [format["Humanity set to ", _hum],"PLAIN DOWN"];
  812. }
  813. else
  814. {
  815. _second = [_second] call '+_fn_ExtendName+';
  816. _num = parseNumber _third;
  817. {
  818. if ((toLower(name _x) == _second) and (isPlayer _x)) then
  819. {
  820. _x setVariable["humanity",_num,true];
  821. cutText [format["Humanity on set to ",_second, _num],"PLAIN DOWN"];
  822. };
  823. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  824. };
  825. };
  826.  
  827. if (_first in _repair) then
  828. {
  829. ["Repairing Vehicle"] spawn '+_hintcode+';
  830.  
  831. _object = (vehicle player);
  832. _object allowDamage false;
  833. _object setDamage 0;
  834.  
  835. };
  836. if (_first in _backpck) then
  837. {
  838. _czeck = ["czeck","check","czeckpack","checkpack"];
  839. _coyote = ["coyote","coyotepack"];
  840. _alice = ["alicepack","alice"];
  841. _omega = ["mega","omega","omega_dz","megapack","omegapack"];
  842. _travler = ["martin","travler","travlermartin","travlerpack"];
  843.  
  844. _packs = _czeck+_coyote+_alice+_omega+_travler;
  845.  
  846. if (_second in _packs) then
  847. {
  848. if (_second in _czeck) then {player addbackpack "DZ_CivilBackpack_EP1";};
  849. if (_second in _coyote) then {player addbackpack "DZ_Backpack_EP1";};
  850. if (_second in _alice) then {player addbackpack "DZ_ALICE_Pack_EP1";};
  851. if (_second in _omega) then {player addbackpack "O_MegaPack_1";};
  852. if (_second in _travler) then {player addbackpack "O_TravelerPack_1";};
  853. }
  854. else
  855. {
  856. if (_second == "help") then
  857. {
  858. hint "Backpack Names/Aliases\n\n
  859. [Czech Backpack]: DZ_CivilBackpack_EP1, czeck, check, czeckpack, checkpack\n\n
  860. [Alice Pack]: DZ_ALICE_Pack_EP1, alicepack, alice\n\n
  861. [Coyote Backpack]: DZ_Backpack_EP1, coyote, coyotepack\n\n
  862. [Traveler Backpack (Origins)]: O_TravelerPack_1, martin, travler, travlermartin, travlerpack\n\n
  863. [Mega Backpack (Origins)]: O_MegaPack_1, mega, omega, omega_dz, megapack, omegapack";
  864. } else {player addBackpack _second;};
  865. };
  866. };
  867. if (_first in _exec) then {execvm format ["ANON\",_second];};
  868. if (_first == "/test") then {execVM "scrFuckOffInfistar\test.sqf";};
  869. if (_first in _zkill) then
  870. {
  871. if (isNil "'+_rand43+'") then {'+_rand43+' = 0;};
  872. if ('+_rand43+' == 0) then
  873. {
  874. '+_rand43+' = 1;
  875. ["Zombie Shield On!"] spawn '+_hintcode+';
  876. ["Zombie Shield",true] spawn '+_rand6+';
  877. if (_second == "") then {'+_rand44+' = 30;} else {'+_rand44+' = parseNumber _second;};
  878. while {'+_rand43+' == 1} do
  879. {
  880. _list = ((getpos player) nearEntities [["zZombie_Base"], '+_rand44+']);
  881. _num = count _list;
  882. if (_num > 0) then
  883. {
  884. {
  885. deleteVehicle _x;
  886. } forEach _list;
  887. };
  888. waitUntil {!(_num == count ((getpos player) nearEntities [["zZombie_Base"], '+_rand44+']))};
  889. };
  890.  
  891. } else {'+_rand43+' = 0; ["Zombie Shield Off!"] spawn '+_hintcode+';["Zombie Shield",false] spawn '+_rand6+';};
  892. };
  893.  
  894. if (_first in _mark) then
  895. {
  896. '+_rand40+' =
  897. {
  898. while {'+_rand41+' == 1} do
  899. {
  900. _entities = ([6800, 9200, 0] nearEntities [["Survivor1_DZ", "Survivor2_DZ", "SurvivorW2_DZ", "Bandit1_DZ", "Survivor3_DZ", "Soldier1_DZ", "Camo1_DZ", "Sniper1_DZ", "BanditW1_DZ", "BanditW2_DZ", "SurvivorW3_DZ", "Hero1_DZ"], 11000]);
  901. for "_i" from 0 to (count _entities)-1 do
  902. {
  903. deleteMarkerLocal ("'+_rand40+'" + (str _i));
  904. _pm = createMarkerLocal [("'+_rand40+'" + (str _i)), getPos (_entities select _i)];
  905. _pm setMarkerTypeLocal "destroyedvehicle";
  906. _pm setMarkerSizeLocal [0.8, 0.8];
  907. _pm setMarkerTextLocal format ["", name (_entities select _i)];
  908. _pm setMarkerColorLocal ("ColorBlue");
  909. };
  910. sleep 3;
  911. };
  912. _entities = ([6800, 9200, 0] nearEntities [["Survivor1_DZ", "Survivor2_DZ", "SurvivorW2_DZ", "Bandit1_DZ", "Survivor3_DZ", "Soldier1_DZ", "Camo1_DZ", "Sniper1_DZ", "BanditW1_DZ", "BanditW2_DZ", "SurvivorW3_DZ", "Hero1_DZ"], 11000]);
  913. for "_i" from 0 to (count _entities)-1 do {deleteMarkerLocal ("'+_rand40+'" + (str _i));};
  914. };
  915. '+_rand42+' =
  916. {
  917. while {'+_rand41+' == 1} do
  918. {
  919. _entities = ([6800, 9200, 0] nearEntities [["LandVehicle", "Air", "Ship"], 11000]);
  920. for "_i" from 0 to (count _entities)-1 do
  921. {
  922. deleteMarkerLocal ("'+_rand42+'" + (str _i));
  923. _vm = createMarkerLocal [("'+_rand42+'" + (str _i)), getPos (_entities select _i)];
  924. _vm setMarkerTypeLocal "destroyedvehicle";
  925. _vm setMarkerSizeLocal [0.8, 0.8];
  926. _vm setMarkerTextLocal format ["", getText (configFile >> "CfgVehicles" >> (typeof (_entities select _i)) >> "displayName")];
  927. _vm setMarkerColorLocal ("ColorBlack");
  928. };
  929. sleep 3;
  930. };
  931. _entities = ([6800, 9200, 0] nearEntities [["LandVehicle", "Air", "Ship"], 11000]);
  932. for "_i" from 0 to (count _entities)-1 do {deleteMarkerLocal ("'+_rand42+'" + (str _i));};
  933. };
  934.  
  935. if (isNil "'+_rand41+'") then {'+_rand41+' = 0;};
  936. if ('+_rand41+' == 0) then
  937. {
  938. '+_rand41+' = 1;
  939. hint "2D Map Markers Enabled";
  940. [] spawn '+_rand40+';
  941. [] spawn '+_rand42+';
  942. ["Map Markers",true] spawn '+_rand6+';
  943. }
  944. else
  945. {
  946. '+_rand41+' = 0;
  947. ["Map Markers",false] spawn '+_rand6+';
  948. hint "2D Map Markers Disabled";
  949. };
  950. };
  951.  
  952. if (_first in _close) then {closedialog 0;};
  953. if (_first in _back) then
  954. {
  955. if ('+_rand36+') then
  956. {
  957. '+_rand36+' = false;
  958. dayz_spaceInterrupt = {};
  959. selectPlayer '+_rand11+';
  960. };
  961.  
  962. player switchCamera "EXTERNAL";
  963. };
  964.  
  965. if (_first in _breakingpointDev) then
  966. {
  967. [] execVM "deathlyrage\radio\commsMenu.sqf";
  968. };
  969.  
  970. if (_first in _bpAdmin) then
  971. {
  972. [] execVM "gcam\gcam.sqf";
  973. };
  974.  
  975. if (_first in _log) then {endmission "LOSER";};
  976.  
  977. if ((_first in _explo) and !(_second == "")) then
  978. {
  979. if (_second in ["all","everyone"]) then
  980. {
  981. {
  982. if (isPlayer _x) then
  983. {
  984. _classname = "HelicopterExploBig";
  985. _location = getpos _x;
  986. _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
  987. };
  988. } forEach ([6800, 9200, 0] nearEntities [["AllVehicles"], 11000]);
  989. }
  990. else
  991. {
  992. _second = [_second] call '+_fn_ExtendName+';
  993. {
  994. if ((toLower(name _x) == _second) and (isPlayer _x)) then
  995. {
  996. _classname = "HelicopterExploBig";
  997. _location = getpos _x;
  998. _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
  999. [format[" goes boom!",_second]] spawn '+_hintcode+';
  1000. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement