yojimbos_law

boablah.ash

Aug 26th, 2019
1,342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.63 KB | None | 0 0
  1. //this is my boa farming script as of 5/11/2019, the last time I revised it. It won't work for you, so don't run it. I'm mostly posting it as a reference for curious people.
  2. //here are most of the macros it uses. these are 3 months older than the script, so there's probably some stuff missing, but oh well. https://pastebin.com/C3NKezVN
  3.  
  4. /*
  5. outfit prior to neverending party:
  6. crumpled fedora
  7. bjorn
  8. fishbone corset
  9. rope
  10. pliers
  11. pantogram
  12. brogues
  13. screege
  14. belt of loathing
  15.  
  16. boa party:
  17.  
  18. crumpled fedora
  19. bjorn
  20. fishbone corset
  21. rope
  22. pliers
  23. pantogram
  24. brogues
  25. screege
  26. belt of loathing
  27. */
  28.  
  29. //you probably aren't me, so commenting this out.
  30. /*
  31. if(get_property("useDevProxyServer") != "true"){
  32. set_property("useDevProxyServer", "true");
  33. set_property("loginServerName", "devproxy.kingdomofloathing.com");
  34. cli_execute("login yojimboS_LAW");
  35. }
  36.  
  37. if(holiday().contains_text("Dependence Day")){
  38. cli_execute("/use green rocket");
  39. }
  40.  
  41. if(my_id() != "1775888"){
  42. abort("wrong account, idiot");
  43. }
  44. */
  45.  
  46. cli_execute("gc");
  47. boolean are_we_consuming_eggs = false;
  48. print_html("robort drinks disabled");
  49. print_html("stooper commented out");
  50. //wait(600);
  51.  
  52. /*
  53. if(my_inebriety() > 23){
  54. cli_execute("run mallbot.ash");
  55. }
  56. */
  57.  
  58. //parses yesterday's session logs for pocket wish purchases and logs all such purchases.
  59. //cli_execute("run wish purchase recorder.ash");
  60. //records total amount below 49k paid for wishes and sends out balances larger than 10k meat.
  61. //cli_execute("run payout.ash");
  62. //wait(69420);
  63.  
  64. /*
  65. if(available_amount($item[cuppa royal tea]) < 950){
  66. cli_execute("mallbuy "+(950-available_amount($item[cuppa royal tea])).to_string()+" cuppa royal tea @ 69420");
  67. }
  68. */
  69.  
  70. //seconds.
  71. int when_the_fuck_is_it = gametime_to_int() / 1000;
  72. if(get_property("_script_start_time") == ""){
  73. set_property("_script_start_time", when_the_fuck_is_it);
  74. }
  75.  
  76. if(get_property("bot_closeted_meat") == "yeah"){
  77. cli_execute("closet take * meat");
  78. set_property("bot_closeted_meat","");
  79. }
  80.  
  81. if($item[portable mayo clinic].available_amount() > 0){
  82. cli_execute("use portable mayo clinic");
  83. }
  84.  
  85. //get_property("_dicey_mp_runs").to_int() == 0 &&
  86. if( have_effect($effect[Clumsy]) > 0){
  87. cli_execute("/shrug! clumsy");
  88. }
  89.  
  90. if(get_property("_turns_that_this_script_can_use_today") == ""){
  91. cli_execute("/shrug timer 1");
  92. wait(3);
  93. int min_duration = 69420;
  94. foreach i in my_effects(){
  95. if(i.have_effect() < min_duration && i.have_effect() > 0){
  96. min_duration = i.have_effect();
  97. }
  98. }
  99. if(min_duration < 10){
  100. set_property("_turns_that_this_script_can_use_today",3);
  101. }
  102. else{
  103. set_property("_turns_that_this_script_can_use_today",4);
  104. }
  105. }
  106. if(have_effect($effect[timer 1]) < get_property("_turns_that_this_script_can_use_today").to_int()){
  107. if(holiday().length() == 0){
  108. cli_execute("/timer "+(get_property("_turns_that_this_script_can_use_today").to_int()+1));
  109. }
  110. else{
  111. cli_execute("/timer "+(get_property("_turns_that_this_script_can_use_today").to_int()+2));
  112. }
  113. }
  114. if(get_property("currentMood") != "apathetic"){
  115. set_property("currentMood","apathetic");
  116. }
  117.  
  118. set_property("battleAction","custom combat script");
  119.  
  120. set_auto_attack("(npzr bullshit");
  121. cli_execute("acquire 420 chipotle wasabi cilantro aioli");
  122. cli_execute("acquire 69 louder than bomb");
  123. /*
  124. base combat macro for this stupid script: https://pastebin.com/qJHSN8nN
  125. things left to do maybe eventually:
  126. 2-4 goth fights?
  127. equipment checks, class checks, path checks, better tracking of deaths
  128. */
  129.  
  130. //lol cocoon nerf.
  131. void new_cocoon(){
  132. if(my_hp()*3 < my_maxhp()*2) cli_execute("/cast "+( min( (my_maxhp() - my_hp()) / 1000 , my_mp() / 14 ) )+" cannelloni cocoon");
  133. }
  134.  
  135. void log_online_players(){
  136. //commented out because you probably don't care how many people are online.
  137. /*
  138. //every 5 minutes.
  139. if(max(gametime_to_int() - get_property("_last_online_check").to_int(),get_property("_last_online_check").to_int() - gametime_to_int()) > 300000){
  140. string[int] online_players;
  141. file_to_map("online players.txt",online_players);
  142. set_property("message_index",get_property("message_index").to_int()+1);
  143. online_players[get_property("message_index").to_int()] = group_string(visit_url("login.php"), "There are currently.*?<b>(\\d+)</b>")[0][1].to_int()+" players logged in at "+gametime_to_int()+" on "+today_to_string();
  144. print(online_players[get_property("message_index").to_int()]);
  145. map_to_file(online_players, "online players.txt");
  146. set_property("_last_online_check",gametime_to_int());
  147. }
  148. */
  149.  
  150. //this logs the graffiti wall every minute, too, because why not.
  151. /*
  152. if(max(gametime_to_int() - get_property("_last_graffiti_check").to_int(),get_property("_last_graffiti_check").to_int() - gametime_to_int()) > 60000){
  153. string stuff = visit_url("town_grafwall.php");
  154. while( stuff.length() < 69 ){
  155. stuff = visit_url("town_grafwall.php");
  156. waitq(5);
  157. }
  158. string[int][int] buttles = group_string(stuff.substring(stuff.index_of("<b>The Graffiti Wall"),stuff.index_of("href=\"graffiti.php\">")), "<font[^<>]+>((?:(?!</font>).)+)</font>");
  159. boolean[string][string] lines;
  160. file_to_map("graffiti.txt",lines);
  161. foreach i,j in buttles{
  162. if(j==1) lines[today_to_string()][buttles[i][j].group_string("^(?:<[bi]>)*(.*)$")[0][1]] = true;
  163. }
  164. map_to_file(lines,"graffiti.txt");
  165. set_property("_last_graffiti_check", gametime_to_int());
  166. }
  167. */
  168. }
  169. void log_mmg(){
  170. //commented out because you probably don't want a registry of MMGers.
  171. /*
  172. //every 20 seconds.
  173. if(max(gametime_to_int() - get_property("_last_mmg_check").to_int(),get_property("_last_mmg_check").to_int() - gametime_to_int()) > 20000){
  174. string[int][int][int] idiots_and_their_bets;
  175. file_to_map("known mmgers.txt", idiots_and_their_bets);
  176. string page_of_idiots = visit_url("bet.php");
  177. int[string] buttles;
  178. int last_bet_ID = get_property("last_bet_ID").to_int();
  179.  
  180. //sample line in table of bets:
  181. //<b>Dare Devil</b> (#3193713)</a></font></td><td>5,000 Meat</td><form style='display: inline' name='form95287715' method=post action='bet.php'><td align=right><input type=hidden name=pwd value=28784c89a945315a880642d415a5b332><input type=hidden name=action value='bet'><input type=hidden name=whichbet value='95287715'>
  182.  
  183. string[int][int] parsed_page_of_idiots = page_of_idiots.group_string("<b>([0-9a-zA-Z _]+)</b> \\(#(\\d+)\\).*?([0-9,]+) Meat.*?name=\'form([0-9]+)\'");
  184.  
  185. foreach i,j in parsed_page_of_idiots{
  186. //print(i+","+j+": "+parsed_page_of_idiots[i][j]);
  187. if(j==1){
  188. idiots_and_their_bets[parsed_page_of_idiots[i][4].to_int()][parsed_page_of_idiots[i][3].to_int()][parsed_page_of_idiots[i][2].to_int()] = parsed_page_of_idiots[i][1];
  189. print_html(parsed_page_of_idiots[i][4]+" "+parsed_page_of_idiots[i][3]+" "+parsed_page_of_idiots[i][2]+" "+parsed_page_of_idiots[i][1]);
  190. }
  191. }
  192.  
  193. //stored as betID betAmount idiotID idiot
  194. map_to_file(idiots_and_their_bets,"known mmgers.txt");
  195. file_to_map("actual mmgers.txt",buttles);
  196. foreach i,j,k in idiots_and_their_bets{
  197. if( i > last_bet_ID){
  198. buttles[idiots_and_their_bets[i][j][k]] += j;
  199. last_bet_ID = i;
  200. }
  201. //buttles[idiots_and_their_bets[i][j][k]] = true;
  202. }
  203. map_to_file(buttles, "actual mmgers.txt");
  204. set_property("last_bet_ID",last_bet_ID);
  205.  
  206. int[string] mmgers;
  207.  
  208. file_to_map("actual mmgers.txt", mmgers);
  209.  
  210. int[int] meats;
  211. foreach i in mmgers{
  212. meats[mmgers[i]] = mmgers[i];
  213. }
  214.  
  215. //sort meats by -value;
  216.  
  217. int county_thing;
  218. string[int][int] sorted_mmgers;
  219. foreach i in mmgers{
  220. foreach j in meats{
  221. if(mmgers[i] == meats[j]){
  222. sorted_mmgers[meats[j]][county_thing] = i;
  223. county_thing++;
  224. }
  225. }
  226. }
  227.  
  228. map_to_file(sorted_mmgers, "sorted mmgers.txt");
  229. set_property("_last_mmg_check",gametime_to_int());
  230. }
  231. */
  232. }
  233.  
  234.  
  235.  
  236.  
  237. void summon_shit(){
  238.  
  239. cli_execute("cast * dice");
  240.  
  241. /*
  242. if(get_property("libram_parity").to_int() == 0){
  243. cli_execute("cast * dice");
  244. set_property("libram_parity", 1);
  245. }
  246. else{
  247. //cli_execute("cast * summon resolutions");
  248. cli_execute("cast * dice");
  249. set_property("libram_parity", 0);
  250. }
  251. */
  252. /*
  253. cli_execute("cast * summon party favor");
  254.  
  255.  
  256. //chance of rare = 1/2^([# of rares summoned]+1)
  257. // E[summons for rare #N] = \sum_{i=1}^{N+1}2^i = 2*(2^{N+1}-1)
  258. //E[rares in N summons] = log_2(N/2 + 1)-1
  259. //but who cares because we can't take a log in ASH.
  260.  
  261.  
  262. int favors_summoned = get_property("libramSummons").to_int()-get_property("_last_bricko_eye").to_int();
  263. int indexing_stuff = 0;
  264. int remaining = favors_summoned;
  265. while(remaining > (2**(1+indexing_stuff))){
  266. indexing_stuff++;
  267. remaining -= 2**indexing_stuff;
  268. }
  269. if(remaining >= 0){
  270. print("expected between "+(indexing_stuff)+" and "+(indexing_stuff+1)+" divine rares from "+favors_summoned+" summons");
  271. print("but got "+get_property("_favorRareSummons"));
  272. }
  273. */
  274. }
  275.  
  276.  
  277.  
  278.  
  279. void bjorn_stuff(){
  280. log_mmg();
  281. log_online_players();
  282. summon_shit();
  283. if(get_property("_garbageFireDropsCrown").to_int() < 3){
  284. if(my_bjorned_familiar() != $familiar[garbage fire]){
  285. bjornify_familiar($familiar[garbage fire]);
  286. }
  287. }
  288. else{
  289. if(get_property("_grimFairyTaleDropsCrown").to_int() < 2){
  290. if(my_bjorned_familiar() != $familiar[grim brother]){
  291. bjornify_familiar($familiar[grim brother]);
  292. }
  293. }
  294. else{
  295. if(get_property("_grimstoneMaskDropsCrown").to_int() < 1){
  296. if(my_bjorned_familiar() != $familiar[grimstone golem]){
  297. bjornify_familiar($familiar[grimstone golem]);
  298. }
  299. }
  300. else{
  301. if(my_bjorned_familiar()!= $familiar[misshapen animal skeleton]){
  302. bjornify_familiar($familiar[misshapen animal skeleton]);
  303. }
  304. }
  305. }
  306. }
  307. }
  308.  
  309. void use_plural_of_rain_man(){
  310. cli_execute("gc");
  311. log_mmg();
  312. while( my_rain() >= 50 && (my_inebriety() - inebriety_limit()) <= 0 ){
  313. if( !get_property("_chateauMonsterFought").to_boolean() && my_rain() <= 93 ){
  314. set_auto_attack("(npzr bullshit");
  315. visit_url("place.php?whichplace=chateau&action=chateau_painting");
  316. run_combat();
  317. //better safe than aborted, I guess:
  318. while(in_multi_fight()){
  319. run_combat();
  320. }
  321. }
  322. else{
  323. if(item_amount($item[photocopied monster]) == 1 && get_property("_photocopyUsed") == "false" ){
  324. set_auto_attack("(npzr bullshit");
  325. cli_execute("/use photocopied monster");
  326. run_combat();
  327. while(in_multi_fight()){
  328. run_combat();
  329. }
  330. }
  331. else{
  332. if(get_property("_turns_that_this_script_can_use_today").to_int() > 0){
  333. set_auto_attack("embezzler boa bullshit");
  334. cli_execute("/cast rain man");
  335. set_property("_turns_that_this_script_can_use_today",get_property("_turns_that_this_script_can_use_today").to_int()-1);
  336. //embezzler 530
  337. visit_url("choice.php?whichchoice=970&whichmonster=530&option=1&pwd");
  338. try{
  339. visit_url("main.php");
  340. }
  341. finally{
  342. run_combat("while !pastround 20; use dictionary; endwhile;");
  343. }
  344. while(in_multi_fight()){
  345. run_combat();
  346. }
  347. set_auto_attack("(npzr bullshit");
  348. }
  349. else{
  350. set_auto_attack("(npzr bullshit");
  351. cli_execute("/cast rain man");
  352. //witchess knight
  353. visit_url("choice.php?whichchoice=970&whichmonster=1936&option=1&pwd");
  354. //black crayon elf
  355. //visit_url("choice.php?whichchoice=970&whichmonster=1201&option=1&pwd");
  356. //Mob Penguin organizer
  357. //visit_url("choice.php?whichchoice=970&whichmonster=2037&option=1&pwd");
  358. run_combat();
  359. while(in_multi_fight()){
  360. run_combat();
  361. }
  362. cli_execute("cast cannelloni cocoon");
  363. bjorn_stuff();
  364. }
  365. }
  366. }
  367. }
  368. while( slash_count($item[spooky putty monster]) > 0 ){
  369. if(get_property("rkelly").to_int() == 0){
  370. while( (slash_count($item[spooky putty monster]) > 0 && get_property("_spoopiesfought").to_int() < 4 )){
  371. cli_execute("/use spooky putty monster");
  372. set_property("_spoopiesfought", get_property("_spoopiesfought").to_int() + 1 );
  373. run_combat();
  374. while(in_multi_fight()){
  375. run_combat();
  376. }
  377. }
  378. if(slash_count($item[spooky putty monster]) > 0 & get_property("_spoopiesfought").to_int() == 4 ){
  379. set_auto_attack("basically npzr bullshit");
  380. cli_execute("/use spooky putty monster");
  381. set_property("_spoopiesfought", get_property("_spoopiesfought").to_int() + 1 );
  382. run_combat();
  383. while(in_multi_fight()){
  384. run_combat();
  385. }
  386. set_auto_attack("(npzr bullshit");
  387. }
  388. if(slash_count($item[spooky putty sheet]) > 0 & get_property("_spoopiesfought").to_int() == 5 ){
  389. put_closet(1, $item[spooky putty sheet]);
  390. set_property("rkelly",1);
  391. }
  392. }
  393. }
  394. }
  395.  
  396.  
  397. void use_lightning_strikes(){
  398. log_mmg();
  399. summon_shit();
  400. while( my_lightning() > 89 ){
  401. set_auto_attack("hr sandworms");
  402. visit_url("inv_use.php?whichitem=2328&pwd");
  403. run_combat();
  404. while(in_multi_fight()){
  405. run_combat();
  406. }
  407. cli_execute("cast cannelloni cocoon");
  408. set_auto_attack("(npzr bullshit");
  409. }
  410. if( my_rain() > 70){
  411. use_plural_of_rain_man();
  412. }
  413. while( my_lightning() > 19 ){
  414. set_auto_attack("hr sandworms");
  415. visit_url("inv_use.php?whichitem=2328&pwd");
  416. run_combat();
  417. while(in_multi_fight()){
  418. run_combat();
  419. }
  420. cli_execute("cast cannelloni cocoon");
  421. bjorn_stuff();
  422. set_auto_attack("(npzr bullshit");
  423. }
  424. if(my_lightning() <= 19 && get_property("_firedJokestersGun") == "false"){
  425. if(get_property("_firedJokestersGun") == "false"){
  426. cli_execute("equip offhand old school flying disc");
  427. cli_execute("equip weapon jokester\'s gun");
  428. set_property("_did_jokester_thingy","asdf");
  429. }
  430. set_auto_attack("hr sandworms");
  431. visit_url("inv_use.php?whichitem=2328&pwd");
  432. run_combat();
  433. while(in_multi_fight()){
  434. run_combat();
  435. }
  436. cli_execute("cast cannelloni cocoon");
  437. bjorn_stuff();
  438. set_auto_attack("(npzr bullshit");
  439. if(get_property("_did_jokester_thingy") != ""){
  440. cli_execute("outfit npzr bullshit");
  441. set_property("_did_jokester_thingy","");
  442. }
  443. }
  444. }
  445.  
  446. cli_execute("acquire 69 soft green echo eyedrop antidote");
  447.  
  448. if(have_effect($effect[insani tea]) != 0){
  449. cli_execute("/shrug! insani tea");
  450. }
  451. if(have_effect($effect[curse of randomness]) != 0){
  452. cli_execute("/shrug! curse of randomness");
  453. }
  454.  
  455. if(!get_property("breakfastCompleted").to_boolean()){
  456. if(get_property("libramSummons").to_int() == 0){
  457. while(get_property("_brickoEyeSummons").to_int() <3 ){
  458. cli_execute("cast summon brickos");
  459. }
  460. set_property("_last_bricko_eye",get_property("libramSummons"));
  461. while(get_property("_favorRareSummons").to_int() <4 ){
  462. cli_execute("cast summon party favor");
  463. }
  464. }
  465. cli_execute("breakfast");
  466. }
  467.  
  468. if(!get_property("_kgbLeftDrawerUsed").to_boolean()){
  469. cli_execute("briefcase collect");
  470. }
  471.  
  472. if(get_property("_deckCardsDrawn").to_int() == 0){
  473. cli_execute("cheat x of swords");
  474. // cli_execute("cheat rope");
  475. cli_execute("cheat x of cups");
  476. cli_execute("cheat year of plenty");
  477. }
  478. /*
  479. //if(get_property("_personal_high_top_tracking") <3 ){
  480. cli_execute("/use pump-up high-tops");
  481. cli_execute("/use pump-up high-tops");
  482. cli_execute("/use pump-up high-tops");
  483. //}
  484. */
  485. refresh_status();
  486.  
  487.  
  488. cli_execute("acquire 69 mayodiol");
  489. cli_execute("acquire 69 mayonex");
  490. cli_execute("acquire 69 special seasoning");
  491. cli_execute("acquire 69 milk of magnesium");
  492. if(get_property("_thanksgettingFoodsEaten").to_int() < 9 && my_fullness() < 7 && my_inebriety() < 11){
  493. if(have_effect($effect[got milk]) < 69){
  494. cli_execute("/use 11 milk of magnesium");
  495. }
  496. /*
  497. if(item_amount($item[warm gravy]) < 11 && item_amount($item[cashew]) < 69 ){
  498. cli_execute("acquire 11 cornucopia");
  499. cli_execute("use 11 cornucopia");
  500. }
  501. for i from 9171 to 9179{
  502. cli_execute("acquire 11 "+to_item(i));
  503. }
  504. for i from 9171 to 9179{
  505. if(!get_property("_timeSpinnerFoodAvailable").contains_text(i.to_string())){
  506. if(get_property("mayoInMouth") == "" && get_property("_this_tracks_mayodiol").to_int() < 4){
  507. use(1, $item[mayodiol]);
  508. set_property("_this_tracks_mayodiol",get_property("_this_tracks_mayodiol").to_int() + 1);
  509. }
  510. else{
  511. use(1, $item[mayonex]);
  512. }
  513. eat(1, to_item(i));
  514. }
  515. }
  516. */
  517. }
  518.  
  519. if(get_property("_infernoDiscoVisited") == "false"){
  520. cli_execute("outfit velvet");
  521. visit_url("place.php?whichplace=airport_hot&action=airport4_zone1");
  522. run_choice(7);
  523. }
  524. if(get_property("_dinseyGarbageDisposed") == "false"){
  525. cli_execute("acquire 11 bag of park garbage");
  526. if(get_property("choiceAdventure1067") != "7"){
  527. set_property("choiceAdventure1067",7);
  528. }
  529. visit_url("place.php?whichplace=airport_stench&action=airport3_tunnels");
  530. cli_execute("try;choice Waste Disposal");
  531. }
  532. if(get_property("_detectiveCasesCompleted") == "0"){
  533. cli_execute("run detective solver.ash");
  534. }
  535. if(get_property("_fantastic_hat") == ""){
  536. visit_url("place.php?whichplace=realm_fantasy&action=fr_initcenter");
  537. visit_url("choice.php?whichchoice=1280&option=1");
  538. set_property("_fantastic_hat","afdfdh");
  539. }
  540.  
  541. if(get_property("_clipartSummons").to_int() == 0 ){
  542. /*
  543. for i from 1 to 3{
  544. //temps tempranillo.
  545. visit_url("campground.php?preaction=combinecliparts&action=bookshelf&clip1=09&clip2=04&clip3=04");
  546. //temps tempranillo.
  547. //visit_url("campground.php?preaction=combinecliparts&action=bookshelf&clip1=09&clip2=04&clip3=04");
  548. }
  549. */
  550. cli_execute("make 3 box of familiar jacks");
  551. }
  552. if(get_property("_horsery") == ""){
  553. cli_execute("horsery meat");
  554. }
  555.  
  556. refresh_status();
  557.  
  558. int eggz1 = inebriety_limit() - my_inebriety() - 2;
  559. int eggz2 = fullness_limit() - my_fullness() - 1;
  560.  
  561. if(get_property("_foisissbsb") == ""){
  562. cli_execute("/buy sphygmayomanometer");
  563. set_property("_foisissbsb","aregatha");
  564. }
  565.  
  566. //cli_execute("acquire 11 toast with hot jelly");
  567. cli_execute("acquire 11 hot jelly");
  568. if(eggz1 > 0 && get_property("_sexy_toast") == ""){
  569. //use(1, $item[mayodiol]);
  570. //eat(1, $item[toast with hot jelly]);
  571. chew(1, $item[hot jelly]);
  572. set_property("_sexy_toast", "asdoiwbd");
  573. //eggz1 = eggz1 - 1;
  574. }
  575.  
  576.  
  577. cli_execute("acquire 69 spooky surprise egg");
  578. cli_execute("acquire 11 jumbo dr. lucifer");
  579. if(get_property("_jdl_consumption").to_int() <0 ){
  580. equip($slot[acc2],$item[sphygmayomanometer]);
  581. }
  582. if(eggz1 > 0){
  583. cli_execute("try; closet put * special seasoning");
  584. }
  585. while(eggz1 > 0 && get_property("_jdl_consumption").to_int() <0 ){
  586. use(1, $item[mayodiol]);
  587. cli_execute("cast cannelloni cocoon");
  588. bjorn_stuff();
  589. eat(1, $item[jumbo dr. lucifer]);
  590. while(my_mp() * 10 > my_maxmp()){
  591. summon_shit();
  592. }
  593. set_property("_jdl_consumption",get_property("_jdl_consumption").to_int()+1);
  594. eggz1 = eggz1 - 1;
  595. cli_execute("cast cannelloni cocoon");
  596. bjorn_stuff();
  597. }
  598. while(eggz1 > 0){
  599. use(1, $item[mayodiol]);
  600. eat(1, $item[spooky surprise egg]);
  601. eggz1 = eggz1 - 1;
  602. }
  603. if(eggz2 > 0){
  604. cli_execute("try; closet take * special seasoning");
  605. }
  606.  
  607. if(are_we_consuming_eggs){
  608. while(eggz2 > 0){
  609. use(1, $item[Mayonex] );
  610. eat(1, $item[spooky surprise egg]);
  611. eggz2 = eggz2 - 1;
  612. }
  613. }
  614. else{
  615. if(eggz2 >= 14 && !get_property("_affirmationCookieEaten").to_boolean()){
  616. cli_execute("acquire 11 frozen banquet; acquire 11 affirmation cookie; acquire 11 salad fork; acquire 11 dieting pill;");
  617. use(1, $item[Mayonex] );
  618. eat(1, $item[spaghetti breakfast]);
  619. //use(1, $item[Mayonex] );
  620. //eat(1, $item[affirmation cookie]);
  621. use(1, $item[Mayonex] );
  622. cli_execute("chew dieting pill; eat salad fork; eat frozen banquet;");
  623. }
  624. }
  625.  
  626.  
  627. while(get_property("_genieWishesUsed").to_int() < 3 && get_property("_holy_shit_stop_wishing").to_int() < 11){
  628. if(slash_count($item[genie bottle]) == 0){
  629. cli_execute("/uncloset genie bottle");
  630. }
  631. cli_execute("genie wish for more wishes");
  632. set_property("_holy_shit_stop_wishing",get_property("_holy_shit_stop_wishing").to_int()+1);
  633. }
  634.  
  635. if(get_property("_pottedTeaTreeUsed") == "false"){
  636. //if(item_amount($item[cuppa royal tea]) < item_amount($item[cuppa mediocri tea])){
  637. cli_execute("teatree royal");
  638. /*
  639. }
  640. else{
  641. if(item_amount($item[cuppa mediocri tea]) < item_amount($item[cuppa voraci tea])){
  642. cli_execute("teatree mediocri");
  643. }
  644. else{
  645. if(item_amount($item[cuppa voraci tea]) < item_amount($item[cuppa sobrie tea]))
  646. {
  647. cli_execute("teatree voraci");
  648. }
  649. else{
  650. cli_execute("teatree sobrie");
  651. }
  652. }
  653. }
  654. */
  655. }
  656.  
  657. if(get_property("_roboDrinks") == ""){
  658. //important ones: 2x lep, 1x fairy kind of, whatever thing heals, potato
  659. //unimportant one: candy because elohelecksdeerandom
  660. //alias ocrsrobort => robo feliz, single entendre, simepore, drive-by, mysterious island iced tea
  661. //cli_execute("ocrsrobort");
  662. //nerfedrobort => robo single entendre, simepore, drive-by, mysterious island iced tea
  663. //cli_execute("nerfedrobort");
  664. }
  665. /*
  666. if(get_property("_bittycar") != "soulcar" ){
  667. cli_execute("/use soulcar");
  668. }
  669. */
  670. if(get_property("_bittycar") != "meatcar" ){
  671. cli_execute("/use bittycar meatcar");
  672. }
  673. if(get_property("_pantogramModifier") == ""){
  674. cli_execute("acquire ten-leaf clover");
  675. cli_execute("acquire taco shell");
  676. cli_execute("/use portable pantogram");
  677. visit_url("choice.php?whichchoice=1270&option=1&m=1&e=1&s1=-1,0&s2=173,1&s3=24,1&pwd="+my_hash());
  678. }
  679.  
  680. if(get_property("_force_sward") == ""){
  681. visit_url("main.php?action=may4");
  682. cli_execute("try; choice empathy;");
  683. set_property("_force_sward", "afgdhddth");
  684. }
  685.  
  686. if(get_property("_yeah_bb") == ""){
  687. while(available_choice_options().count() != 7){
  688. cli_execute("/use bastille battalion control rig");
  689. wait(3);
  690. visit_url("main.php");
  691. }
  692. while(last_choice() == 1313){
  693. visit_url("choice.php?whichchoice=1313&option=5");
  694. }
  695. while(available_choice_options().count() > 0 && last_choice() <= 1319 && last_choice() > 1313 && last_choice() != 1316){
  696. run_choice(3);
  697. }
  698. while(last_choice() == 1316 && available_choice_options()[1].contains_text("Lock in your score")){
  699. run_choice(1);
  700. }
  701. if(last_choice() == 1316 && available_choice_options().count() == 0){
  702. set_property("_yeah_bb","asdfh");
  703. }
  704. }
  705.  
  706. // Looks like 57 pieces in all. 7,423 toddlers are training with 4 instructors in the boxing ring. It's impressive how efficient they are, what with that student-to-teacher ratio.
  707. //<font color=blue><b>[1,000,000 Meat]</b>
  708.  
  709. if(get_property("_child_abuse") == ""){
  710. string kids_bop;
  711. string daycare_state = get_property("daycare_state");
  712. int children_to_buy = 3 - get_property("_children_bought").to_int();
  713. int kids_iteration;
  714. //get into choice 1334.
  715. kids_bop = visit_url("place.php?whichplace=town_wrong&action=townwrong_boxingdaycare");
  716. //fight poor internet connection with idempotence
  717. while(!(kids_bop.contains_text("a door to a spa to your left")) && kids_iteration < 10){
  718. wait(10);
  719. kids_bop = visit_url("place.php?whichplace=town_wrong&action=townwrong_boxingdaycare");
  720. kids_iteration++;
  721. }
  722.  
  723. //grab daily thing.
  724. while(visit_url("choice.php?whichchoice=1334&option=1").length() < 69 && kids_iteration < 69){
  725. kids_iteration++;
  726. }
  727.  
  728. //get into choice 1336.
  729. while(kids_bop.contains_text("a door to a spa to your left") && kids_iteration < 69 ){
  730. kids_bop = visit_url("choice.php?whichchoice=1334&option=3");
  731. kids_iteration++;
  732. //record daycare state after we reach choice 1336
  733. if(kids_bop.contains_text("Hire an instructor")){
  734. daycare_state = kids_bop.substring(kids_bop.index_of("Probably around"),kids_bop.index_of("instructors")+12);
  735. }
  736. }
  737.  
  738. //scavenge for freeeee
  739. while(kids_bop.contains_text("[free]") && kids_bop.contains_text(daycare_state) && kids_iteration < 69 ){
  740. kids_bop = visit_url("choice.php?whichchoice=1336&option=2");
  741. kids_iteration++;
  742. //if we've scavenged successfully, update daycare state.
  743. if(kids_bop.contains_text(" adventure]") && !kids_bop.contains_text("[free]") && !kids_bop.contains_text(daycare_state)){
  744. daycare_state = kids_bop.substring(kids_bop.index_of("Probably around"),kids_bop.index_of("instructors")+12);
  745. }
  746. }
  747.  
  748. //buy some children, but only if they cost at least 100 meat and at most 10000 meat.
  749. while( children_to_buy > 0 && kids_iteration < 69 && kids_bop.contains_text("00 Meat]") && !kids_bop.contains_text("00,000 Meat]")){
  750. kids_bop = visit_url("choice.php?whichchoice=1336&option=1");
  751. kids_iteration++;
  752. //if daycare state changes, decrement children_to_buy, increment _children_bought, and update daycare_state.
  753. if(!((kids_bop.contains_text(daycare_state)) && kids_bop.contains_text("00 Meat]") )){
  754. children_to_buy += -1;
  755. set_property("_children_bought", get_property("_children_bought").to_int()+1);
  756. daycare_state = kids_bop.substring(kids_bop.index_of("Probably around"),kids_bop.index_of("instructors")+12);
  757. }
  758. //if we're done, be done.
  759. if(children_to_buy == 0){
  760. set_property("_child_abuse", "beyond!");
  761. set_property("daycare_state", daycare_state);
  762. }
  763. }
  764. }
  765. if(get_property("expressCardUsed") == "false" ){
  766. cli_execute("try;shrug ancient fortitude;");
  767. equip($slot[acc2],$item[sphygmayomanometer]);
  768. if(take_stash(1,$item[platinum yendorian express card])){
  769. set_property("stole_pyec", get_property("stole_pyec")+"totes");
  770. set_property("_stole_pyec","totes");
  771. set_property("passable_clan", get_clan_name());
  772. set_property("_passable_clan", get_clan_name());
  773. use(1,$item[platinum yendorian express card]);
  774. print("We have successfully stolen a pyec from "+get_property("_passable_clan"));
  775. }
  776. else{
  777. if(get_property("scrublords") != ""){
  778. set_property("scrublords", get_property("scrublords")+", "+get_clan_name());
  779. }
  780. else{
  781. set_property("scrublords", get_clan_name());
  782. }
  783. set_property("_scrublords",get_clan_name());
  784. print_html("We have failed to steal a pyec from "+get_property("_scrublords"));
  785. }
  786. while(my_mp() * 10 > my_maxmp()){
  787. summon_shit();
  788. }
  789. }
  790. if(get_property("_stole_pyec") == "totes" && get_property("_passable_clan") == get_clan_name()){
  791. if(put_stash(1,$item[platinum yendorian express card])){
  792. set_property("stole_pyec", get_property("stole_pyec").substring(5));
  793. print("We have successfully unstolen a pyec from "+get_property("_passable_clan"));
  794. }
  795. else{
  796. print("We have failed to unsteal a pyec from "+get_property("_passable_clan"));
  797. }
  798. }
  799.  
  800. //abort("line 552");
  801.  
  802. cli_execute("outfit npzr bullshit");
  803. if(my_familiar() != $familiar[feather boa constrictor]){
  804. cli_execute("familiar feather boa constrictor");
  805. }
  806. if(!(get_property("_mummeryUses").contains_text("3"))){
  807. cli_execute("mummery muscle");
  808. }
  809. if(equipped_item($slot[familiar]) != $item[loathing legion helicopter]){
  810. cli_execute("try;fold loathing legion helicopter");
  811. cli_execute("equip familiar loathing legion helicopter");
  812. }
  813. cli_execute("equip pants pantogram pants");
  814. /*
  815. if(my_path() == "Heavy Rains"){
  816. cli_execute("equip shirt fishbone corset");
  817. }
  818. else{
  819. cli_execute("equip shirt stephen\'s labcoat");
  820. }
  821. //cli_execute("equip weapon staff of the woodfire");
  822. cli_execute("equip weapon rope");
  823. if(my_path() == "Heavy Rains"){
  824. cli_execute("equip offhand thor's pliers");
  825. }
  826. else{
  827. cli_execute("equip offhand half a purse");
  828. }
  829. */
  830. if(slash_count($item[spooky putty monster]) > 0 || slash_count($item[spooky putty monster]) > 0 ){
  831. set_property("rkelly","");
  832. }
  833.  
  834.  
  835. if(get_property("_spoopiesfought").to_int() == 5 || (slash_count($item[spooky putty sheet]) > 0&& get_property("spookyPuttyCopiesMade").to_int() == 5)){
  836. //put_closet(1, $item[spooky putty sheet]);
  837. cli_execute("try; closet put spooky putty sheet");
  838. set_property("rkelly",1);
  839. }
  840.  
  841. /*
  842. if(get_property("_been_here_today") == ""){
  843. set_property("_been_here_today","asdfg");
  844. abort("it's mime time.");
  845. }
  846. */
  847.  
  848. if(item_amount($item[photocopied monster]) == 0 && get_property("_photocopyUsed") == "false" && get_property("_stop_bugging_faxbots") != "please"){
  849. //2047002812 = yojimbos_law's multis
  850. //set_property("_stop_bugging_faxbots","please");
  851. //cli_execute("faxbot black crayon ballsack elf");
  852. while(get_clan_id() != 2047002812){
  853. cli_execute("/whitelist yojimboS_LAW");
  854. }
  855. while(get_clan_id() == 2047002812 && item_amount($item[photocopied monster]) == 0){
  856. //gets witchess knight
  857. cli_execute("fax receive");
  858. }
  859. while(get_clan_id() == 2047002812 && item_amount($item[photocopied monster]) == 1 ){
  860. cli_execute("/whitelist e from hel");
  861. }
  862. }
  863.  
  864. string avoiding_human_interaction;
  865. if(get_property("_human_interaction_avoided") == ""){
  866. //for bafh
  867. while(get_clan_id() != 90485){
  868. //for reddit united
  869. //while(get_clan_id() != 2047000135){
  870. cli_execute("/whitelist bonus adventures from hell");
  871. //cli_execute("/whitelist reddit united");
  872. }
  873. avoiding_human_interaction = visit_url("clan_viplounge.php?preaction=lovetester");
  874. if(!(avoiding_human_interaction.contains_text("You may still consult Madame Zatara about your relationship with a clanmate"))){
  875. set_property("_human_interaction_avoided","this is text");
  876. }
  877. int hddafqee;
  878. while(avoiding_human_interaction.contains_text("You may still consult Madame Zatara about your relationship with a clanmate") && get_property("_human_interaction_avoided") == "" && hddafqee < 23){
  879. //for bafh
  880. avoiding_human_interaction = visit_url("choice.php?whichchoice=1278&which=1&q1=pizza&q2=batman&q3=thick&option=1&whichid=cheesefax&pwd="+my_hash());
  881. //for reddit united
  882. //avoiding_human_interaction = visit_url("choice.php?whichchoice=1278&which=1&q1=salt&q2=robin&q3=thick&option=1&whichid=2994453&pwd="+my_hash());
  883. if(!(avoiding_human_interaction.contains_text("You may still consult Madame Zatara about your relationship with a clanmate"))){
  884. set_property("_human_interaction_avoided","this is text");
  885. }
  886. if(avoiding_human_interaction.contains_text("already waiting on your results with")){
  887. wait(5);
  888. hddafqee++;
  889. }
  890. }
  891. //for bafh
  892. while(get_clan_id() == 90485){
  893. //for reddit united 2047000135
  894. //while(get_clan_id() == 2047000135){
  895. cli_execute("/whitelist e from hel");
  896. }
  897. }
  898.  
  899. use_lightning_strikes();
  900. use_plural_of_rain_man();
  901.  
  902. while( get_property("_witchess_tracking_suuuucks").to_int() < 5){
  903. visit_url("campground.php?action=witchess");
  904. if(available_choice_options()[1] == "Examine the shrink ray"){
  905. //visit_url("choice.php?whichchoice=1181&option=1&pwd");
  906. run_choice(1);
  907. set_property("_witchess_tracking_suuuucks", get_property("_witchess_tracking_suuuucks").to_int() + 1);
  908. }
  909. if(available_choice_options()[1] == "" && available_choice_options()[2] == "Play Witchess"){
  910. set_property("_witchess_tracking_suuuucks" , 5);
  911. }
  912. //knight.
  913. visit_url("choice.php?whichchoice=1182&option=1&piece=1936&pwd="+my_hash(),false);
  914. run_combat();
  915. while(in_multi_fight()){
  916. run_combat();
  917. }
  918. }
  919.  
  920. if(my_path() == "Heavy Rains"){
  921. cli_execute("equip offhand thor's pliers");
  922. }
  923. else{
  924. cli_execute("equip offhand HOA regulation book");
  925. }
  926.  
  927. string combat_tracking_bullshit;
  928. int turncount_fuckup_finder = my_turncount();
  929. if(holiday().length() > 0){
  930. turncount_fuckup_finder++;
  931. }
  932. if(get_property("_party_preference_whatever").to_int() < 10){
  933. cli_execute("outfit boa party");
  934. }
  935. string party_check;
  936. while(get_property("_party_preference_whatever").to_int() < 10 && turncount_fuckup_finder == my_turncount()){
  937. combat_tracking_bullshit = get_property("_lastCombatStarted");
  938. visit_url("adventure.php?snarfblat=528");
  939. visit_url("main.php");
  940. while(available_choice_options().count() > 0 && last_choice() == 1322){
  941. visit_url("choice.php?whichchoice=1322&option=2&pwd");
  942. }
  943. while(available_choice_options().count() > 0 && last_choice() == 1324){
  944. visit_url("choice.php?whichchoice=1324&option=5&pwd");
  945. }
  946. while(in_multi_fight()){
  947. run_combat();
  948. }
  949. if(combat_tracking_bullshit != get_property("_lastCombatStarted")){
  950. set_property("_party_preference_whatever", get_property("_party_preference_whatever").to_int() + 1 );
  951. }
  952. if(get_property("_party_preference_whatever").to_int() == 10){
  953. party_check = "";
  954. party_check = visit_url("place.php?whichplace=town_wrong");
  955. while(party_check.length() < 6969){
  956. party_check = visit_url("place.php?whichplace=town_wrong");
  957. wait(5);
  958. }
  959. if(party_check.contains_text("nparty_free.gif")){
  960. set_property("_party_preference_whatever", get_property("_party_preference_whatever").to_int() - 1 );
  961. }
  962. }
  963. cli_execute("cast cannelloni cocoon");
  964. bjorn_stuff();
  965. }
  966. if(turncount_fuckup_finder < my_turncount()){
  967. abort("your shitty shit party code is shit, you shit.");
  968. }
  969.  
  970. if(get_property("_party_preference_whatever").to_int() >= 10 && get_property("_snojoFreeFights").to_int() < 10){
  971. cli_execute("outfit npzr bullshit");
  972. }
  973.  
  974.  
  975. use_lightning_strikes();
  976. use_plural_of_rain_man();
  977.  
  978. while(get_property("_snojoFreeFights").to_int() < 10){
  979. adv1(to_location(460),-1, "" );
  980. while(in_multi_fight()){
  981. run_combat();
  982. }
  983. cli_execute("cast cannelloni cocoon");
  984. bjorn_stuff();
  985. }
  986.  
  987. use_lightning_strikes();
  988. use_plural_of_rain_man();
  989.  
  990. cli_execute("acquire 69 lynyrd snare");
  991. if(get_property("_lynyrdSnareUses").to_int() < 3){
  992. set_auto_attack("(npzr bullshit");
  993. }
  994. while(get_property("_lynyrdSnareUses").to_int() < 3){
  995. /*
  996. cli_execute("/use lynyrd snare");
  997. run_combat();
  998. while(in_multi_fight){
  999. run_combat();
  1000. }
  1001. cli_execute("cast cannelloni cocoon");
  1002. bjorn_stuff();
  1003. */
  1004. visit_url("inv_use.php?whichitem=7204&pwd");
  1005. run_combat();
  1006. while(in_multi_fight()){
  1007. run_combat();
  1008. }
  1009. }
  1010.  
  1011. if(get_property("_globster_globs").to_int() <3 ){
  1012. set_auto_attack("(npzr bullshit");
  1013. }
  1014. while(get_property("_globster_globs").to_int() <3 ){
  1015. if(my_familiar() != $familiar[god lobster]){
  1016. cli_execute("familiar god lobster");
  1017. }
  1018. if(equipped_item($slot[familiar]) != $item[god lobster\'s crown] && available_amount($item[god lobster\'s crown]) > 0){
  1019. cli_execute("equip familiar god lobster\'s crown");
  1020. }
  1021. else{
  1022. if(equipped_item($slot[familiar]) != $item[god lobster\'s robe] && available_amount($item[god lobster\'s robe]) > 0){
  1023. cli_execute("equip familiar god lobster\'s robe");
  1024. }
  1025. else{
  1026. if(equipped_item($slot[familiar]) != $item[god lobster\'s rod] && available_amount($item[god lobster\'s rod]) > 0){
  1027. cli_execute("equip familiar god lobster\'s rod");
  1028. }
  1029. else{
  1030. if(equipped_item($slot[familiar]) != $item[god lobster\'s ring] && available_amount($item[god lobster\'s ring]) > 0){
  1031. cli_execute("equip familiar god lobster\'s ring");
  1032. }
  1033. else{
  1034. if(equipped_item($slot[familiar]) != $item[god lobster\'s scepter] && available_amount($item[god lobster\'s scepter]) > 0){
  1035. cli_execute("equip familiar god lobster\'s scepter");
  1036. }
  1037. }
  1038. }
  1039. }
  1040. }
  1041. visit_url("main.php?fightgodlobster=1");
  1042. set_property("_globster_globs",get_property("_globster_globs").to_int()+1);
  1043. visit_url("fight.php?action=macro&macrotext=while !hppercentbelow 69; attack; endwhile;");
  1044. //if(equipped_item($slot[familiar]) == $item[god lobster\'s crown]){
  1045. //visit_url("choice.php?whichchoice=1310&option=3");
  1046. visit_url("choice.php");
  1047. cli_execute("try;choice experience;");
  1048. //}
  1049. /*
  1050. else{
  1051. visit_url("choice.php?whichchoice=1310&option=1");
  1052. }
  1053. */
  1054. visit_url("choice.php");
  1055. }
  1056. if(my_familiar() != $familiar[feather boa constrictor]){
  1057. cli_execute("familiar feather boa constrictor");
  1058. }
  1059. if(equipped_item($slot[familiar]) != $item[loathing legion helicopter]){
  1060. cli_execute("try;fold loathing legion helicopter");
  1061. cli_execute("equip familiar loathing legion helicopter");
  1062. }
  1063.  
  1064. use_lightning_strikes();
  1065. use_plural_of_rain_man();
  1066.  
  1067. cli_execute("acquire 69 seal-blubber candle");
  1068. cli_execute("acquire 69 figurine of a wretched-looking seal");
  1069. if(get_property("_sealsSummoned").to_int() < 10){
  1070. cli_execute("equip weapon gnawed-up dog bone");
  1071. set_property("_change_me_back","asdfg");
  1072. }
  1073. while(get_property("_sealsSummoned").to_int() < 10){
  1074. visit_url("inv_use.php?whichitem=3902&checked=1&pwd");
  1075. run_combat();
  1076. while(in_multi_fight()){
  1077. run_combat();
  1078. }
  1079. cli_execute("cast cannelloni cocoon");
  1080. bjorn_stuff();
  1081. }
  1082.  
  1083. //cli_execute("equip weapon staff of the woodfire");
  1084. if(get_property("_change_me_back") != ""){
  1085. cli_execute("equip weapon Fourth of May Cosplay Saber");
  1086. if(my_path() == "Heavy Rains"){
  1087. cli_execute("equip offhand thor's pliers");
  1088. }
  1089. else{
  1090. cli_execute("equip offhand half a purse");
  1091. }
  1092. }
  1093.  
  1094. if( get_property("_eldritchHorrorEvoked") == "false" ){
  1095. cli_execute("/cast evoke eldritch horror");
  1096. //use_skill(1, $skill[evoke eldritch horror]);
  1097. if(last_monster() == $monster[Eldritch Tentacle]){
  1098. run_combat();
  1099. while(in_multi_fight()){
  1100. run_combat();
  1101. }
  1102. }
  1103. if(visit_url("fight.php").length() > 69 && last_monster() != $monster[Eldritch Tentacle]){
  1104. print("fight.php length before combat macro: "+visit_url("fight.php").length());
  1105. visit_url("fight.php?action=macro&macrotext=while !pastround 10;attack;endwhile;");
  1106. print("fight.php length after combat macro: "+visit_url("fight.php").length());
  1107. cli_execute("cast cannelloni cocoon");
  1108. set_property("_eldritchHorrorEvoked", true);
  1109. }
  1110. }
  1111.  
  1112. use_lightning_strikes();
  1113. use_plural_of_rain_man();
  1114.  
  1115. if( get_property("_eldritchTentacleFought") == "false" ){
  1116. visit_url("place.php?whichplace=forestvillage&action=fv_scientist");
  1117. if(available_choice_options().count() > 0){
  1118. //run_choice(2);
  1119. visit_url("choice.php?whichchoice=1201&option=2&pwd");
  1120. if(last_monster() == $monster[Eldritch Tentacle]){
  1121. run_combat();
  1122. while(in_multi_fight()){
  1123. run_combat();
  1124. }
  1125. }
  1126. if(visit_url("fight.php").length() > 69 && last_monster() != $monster[Eldritch Tentacle]){
  1127. print("fight.php length before combat macro: "+visit_url("fight.php").length());
  1128. visit_url("fight.php?action=macro&macrotext=while !pastround 10;attack;endwhile;");
  1129. print("fight.php length after combat macro: "+visit_url("fight.php").length());
  1130. cli_execute("cast cannelloni cocoon");
  1131. set_property("_eldritchTentacleFought", true);
  1132. }
  1133. }
  1134. }
  1135.  
  1136.  
  1137. if(get_property("_salad_pills_used").to_int() < 20 ){
  1138. cli_execute("/closet * daily affirmation: think win-lose");
  1139. cli_execute("/uncloset * power pill");
  1140. cli_execute("/closet * miniature power pill");
  1141. //cli_execute("acquire 69 power pill");
  1142. cli_execute("acquire 420 drum machine");
  1143. cli_execute("/equip 1 Lil\' Doctor");
  1144. }
  1145. while(get_property("_salad_pills_used").to_int() < 20 ){
  1146. set_property("salad_pills_un", slash_count($item[power pill]) );
  1147. int salad_counter = 0;
  1148. while(get_property("salad_pills_un").to_int() == 0 && salad_counter < 10){
  1149. wait(5);
  1150. set_property("salad_pills_un", slash_count($item[power pill]) );
  1151. salad_counter++;
  1152. }
  1153. salad_counter = 0;
  1154. visit_url("inv_use.php?whichitem=2328&pwd");
  1155. run_combat();
  1156. set_property("salad_pills_deux", slash_count($item[power pill]) );
  1157. while(get_property("salad_pills_deux").to_int() == 0 && salad_counter < 10){
  1158. wait(5);
  1159. set_property("salad_pills_deux", slash_count($item[power pill]) );
  1160. salad_counter++;
  1161. }
  1162. set_property("_salad_pills_used", get_property("_salad_pills_used").to_int() + get_property("salad_pills_un").to_int() - get_property("salad_pills_deux").to_int() );
  1163. while(in_multi_fight()){
  1164. run_combat();
  1165. }
  1166. print("salad pills used: "+get_property("_salad_pills_used"));
  1167. cli_execute("cast cannelloni cocoon");
  1168. bjorn_stuff();
  1169. if(get_property("_salad_pills_used").to_int() > 1 ){
  1170. cli_execute("outfit npzr bullshit");
  1171. }
  1172. }
  1173.  
  1174. use_lightning_strikes();
  1175. use_plural_of_rain_man();
  1176.  
  1177. if(get_property("_salad_pills_used").to_int() >= 20 && get_property("_hard_to_track_free_kills_used").to_int() < 4){
  1178. cli_execute("/closet * power pill");
  1179. }
  1180.  
  1181. while(get_property("_hard_to_track_free_kills_used").to_int() < 3 ){
  1182. set_property("spices_un", slash_count($item[spices]) );
  1183. visit_url("inv_use.php?whichitem=2328&pwd");
  1184. run_combat();
  1185. set_property("spices_deux", slash_count($item[spices]) );
  1186. set_property("_hard_to_track_free_kills_used", get_property("_hard_to_track_free_kills_used").to_int() + ( get_property("spices_deux").to_int() - get_property("spices_un").to_int() + 2 ) / 3 );
  1187. while(in_multi_fight()){
  1188. run_combat();
  1189. }
  1190. print("hard to track free kills used: "+get_property("_hard_to_track_free_kills_used"));
  1191. cli_execute("cast cannelloni cocoon");
  1192. bjorn_stuff();
  1193. }
  1194. if(get_property("_hard_to_track_free_kills_used").to_int() == 3 ){
  1195. cli_execute("/closet replica bat-oomerang");
  1196. }
  1197. while(get_property("_hard_to_track_free_kills_used").to_int() == 3 ){
  1198. set_property("spices_un", slash_count($item[spices]) );
  1199. visit_url("inv_use.php?whichitem=2328&pwd");
  1200. run_combat();
  1201. set_property("spices_deux", slash_count($item[spices]) );
  1202. set_property("_hard_to_track_free_kills_used", get_property("_hard_to_track_free_kills_used").to_int() + ( get_property("spices_deux").to_int() - get_property("spices_un").to_int() + 2 ) / 3 );
  1203. while(in_multi_fight()){
  1204. run_combat();
  1205. }
  1206. print("hard to track free kills used: "+get_property("_hard_to_track_free_kills_used"));
  1207. cli_execute("cast cannelloni cocoon");
  1208. bjorn_stuff();
  1209. }
  1210. if(slash_count($item[power pill]) == 0 ){
  1211. cli_execute("/uncloset * power pill");
  1212. }
  1213. if(slash_count($item[replica bat-oomerang]) == 0 ){
  1214. cli_execute("/uncloset replica bat-oomerang");
  1215. }
  1216.  
  1217.  
  1218. use_lightning_strikes();
  1219. use_plural_of_rain_man();
  1220.  
  1221. if(get_property("_glarkCableUses").to_int() == 0 ){
  1222. cli_execute("acquire 69 glark cable");
  1223. }
  1224. while(get_property("_glarkCableUses").to_int() < 5){
  1225. adv1(to_location(385),-1,"");
  1226. while(in_multi_fight()){
  1227. run_combat();
  1228. }
  1229. cli_execute("cast cannelloni cocoon");
  1230. bjorn_stuff();
  1231. }
  1232.  
  1233.  
  1234. if(get_property("_drunkPygmyBanishes").to_int() == 0){
  1235. cli_execute("acquire 69 bowl of scorpions");
  1236. }
  1237. /*
  1238. while(get_property("_drunkPygmyBanishes").to_int() < 11){
  1239. adv1(to_location(344),-1,"");
  1240. while(in_multi_fight()){
  1241. run_combat();
  1242. }
  1243. cli_execute("cast cannelloni cocoon");
  1244. bjorn_stuff();
  1245. }
  1246. */
  1247.  
  1248. //new version using May 2019's iotm.
  1249.  
  1250. if(get_property("_force_used").to_int() < 5){
  1251. //just so we don't trigger this after the block is done. probably don't need it anyway.
  1252. cli_execute("outfit npzr bullshit");
  1253. }
  1254. while(get_property("_drunkPygmyBanishes").to_int() < 10){
  1255. //use 10/11 of the daily drunk pygmy free kills, saving the last for saber degeneracy.
  1256. adv1(to_location(344),-1,"");
  1257. while(in_multi_fight()){
  1258. run_combat();
  1259. }
  1260. cli_execute("cast cannelloni cocoon");
  1261. bjorn_stuff();
  1262. }
  1263.  
  1264. int pre_saber_meat = my_meat();
  1265. //checking for timer 1 so that script failing doesn't eat up literally all my turns.
  1266. while(get_property("_force_used").to_int() < 5 && have_effect($effect[timer 1]) > 0 ){
  1267. //we want to stasis drunk pygmies to get boa meat before saber copying, so hide our bowls of scorpions.
  1268. cli_execute("try; closet put * bowl of scorpions");
  1269. //autoattack that stasises for boa meat before using the saber skill.
  1270. set_auto_attack("drunk pygmy force bullshit");
  1271. //this adv1() might need to be visit_url("adventure.php?snarfblat=344") followed by visit_url("fight.php") or visit_url("main.php") to deal with this behaving a lot like a rollover run.
  1272. //adv1(to_location(344),-1,"");
  1273. //encounter drunk pygmy that gets stasised and sabered.
  1274. visit_url("adventure.php?snarfblat=344");
  1275. //make mafia understand fight has ended.
  1276. visit_url("fight.php");
  1277. //at this point we should be in the choice adventure for the force thing.
  1278. while(available_choice_options().count() >= 3){
  1279. //incrementing flag here to fail more gracefully with bad internet.
  1280. set_property("_force_used",get_property("_force_used").to_int() + 1);
  1281. //choose the option that makes 3 more pygmies.
  1282. cli_execute("try;choice friends;");
  1283. }
  1284. //switch to regular autoattack.
  1285. set_auto_attack("(npzr bullshit");
  1286. //at this point we want pygmies to explode into a fine bloody mist, much like a level 2 druid, thus we unhide our bowls of scorpions.
  1287. cli_execute("try; closet take * bowl of scorpions");
  1288. //do the first of three pygmies normally.
  1289. adv1(to_location(344),-1,"");
  1290. while(in_multi_fight()){
  1291. run_combat();
  1292. }
  1293. //likewise with the second.
  1294. adv1(to_location(344),-1,"");
  1295. while(in_multi_fight()){
  1296. run_combat();
  1297. }
  1298. //the third we only do normally if we're out of saber goodness.
  1299. if(get_property("_force_used").to_int() == 5){
  1300. adv1(to_location(344),-1,"");
  1301. while(in_multi_fight()){
  1302. run_combat();
  1303. }
  1304. }
  1305. //rinse and repeat.
  1306. }
  1307.  
  1308. if(get_property("_timeSpinnerMinutesUsed").to_int() < 8){
  1309. print("meat from saber: "+(my_meat()-pre_saber_meat));
  1310. }
  1311.  
  1312. //&& get_property("_marco_polo").to_int() >= 10
  1313. while(get_property("_timeSpinnerMinutesUsed").to_int() < 8 ){
  1314. cli_execute("/use time-spinner");
  1315. run_choice(1);
  1316. //3 more pygmy drunks
  1317. visit_url("choice.php?whichchoice=1196&monid=1431&option=1&pwd");
  1318. run_combat();
  1319. while(in_multi_fight()){
  1320. run_combat();
  1321. }
  1322. cli_execute("cast cannelloni cocoon");
  1323. bjorn_stuff();
  1324. }
  1325.  
  1326.  
  1327. use_lightning_strikes();
  1328. use_plural_of_rain_man();
  1329.  
  1330. //fuck literally everything about the following.
  1331. if(get_property("_machineTunnelsAdv").to_int() < 5){
  1332. cli_execute("familiar machine elf");
  1333. }
  1334. //while(get_property("_elf_free_fights").to_int() < 5 ){
  1335. while(get_property("_machineTunnelsAdv").to_int() < 5 ){
  1336. if(!in_multi_fight()){
  1337. visit_url("adventure.php?snarfblat=458");
  1338. }
  1339. if(available_choice_options().count() > 0){
  1340. run_choice(6);
  1341. }
  1342. else{
  1343. //set_property("_elf_free_fights",get_property("_elf_free_fights").to_int()+1);
  1344. run_combat();
  1345. if(in_multi_fight()){
  1346. //set_property("_elf_free_fights",get_property("_elf_free_fights").to_int()+1);
  1347. run_combat();
  1348. }
  1349. }
  1350. cli_execute("cast cannelloni cocoon");
  1351. bjorn_stuff();
  1352. }
  1353. if(my_familiar() != $familiar[feather boa constrictor]){
  1354. cli_execute("familiar feather boa constrictor");
  1355. if(equipped_item($slot[familiar]) != $item[loathing legion helicopter]){
  1356. cli_execute("try;fold loathing legion helicopter");
  1357. cli_execute("equip familiar loathing legion helicopter");
  1358. }
  1359. }
  1360.  
  1361. /*
  1362. if(!get_property("_loveTunnelUsed").to_boolean()){
  1363. equip($slot[acc2],$item[sphygmayomanometer]);
  1364. cli_execute("cast cannelloni cocoon");
  1365. visit_url("place.php?whichplace=town_wrong&action=townwrong_tunnel");
  1366. visit_url("choice.php?whichchoice=1222&option=1&pwd");
  1367. visit_url("choice.php?whichchoice=1223&option=1&pwd");
  1368. run_combat();
  1369. visit_url("choice.php?whichchoice=1224&option=1&pwd");
  1370. visit_url("choice.php?whichchoice=1225&option=1&pwd");
  1371. run_combat();
  1372. visit_url("choice.php?whichchoice=1226&option=1&pwd");
  1373. visit_url("choice.php?whichchoice=1227&option=1&pwd");
  1374. run_combat();
  1375. visit_url("choice.php?whichchoice=1228&option=1&pwd");
  1376. while(my_mp() * 10 > my_maxmp()){
  1377. summon_shit();
  1378. }
  1379. //equip($slot[acc2],$item[over-the-shoulder Folder Holder]);
  1380. //equip($slot[acc2],$item[mime army insignia (infantry)]);
  1381. cli_execute("outfit npzr bullshit");
  1382. }
  1383. */
  1384.  
  1385. use_lightning_strikes();
  1386. use_plural_of_rain_man();
  1387.  
  1388. if(get_property("_gingerbreadCityTurns").to_int() == 0){
  1389. //just attempts to run away
  1390. set_auto_attack("zzzzzzz runaway");
  1391. cli_execute("familiar stomping boots");
  1392. set_property("choiceAdventure1203", 4);
  1393. set_property("choiceAdventure1215", 1);
  1394. set_property("choiceAdventure1204", 1);
  1395. //set clock forward.
  1396. adv1($location[Gingerbread Civic Center], -1, "" );
  1397. //run away 3 times.
  1398. for i from 7 to 9{
  1399. adv1($location[Gingerbread Civic Center], -1, "" );
  1400. }
  1401. //grab candy
  1402. adv1($location[Gingerbread Train Station], -1, "" );
  1403. //run away 4 times
  1404. for i from 11 to 14{
  1405. adv1($location[Gingerbread Civic Center], -1, "" );
  1406. }
  1407. set_auto_attack("(npzr bullshit");
  1408. cli_execute("familiar feather boa constrictor");
  1409. cli_execute("equip familiar loathing legion helicopter");
  1410. //use 5 gingerbread cigarettes...
  1411. for i from 15 to 19{
  1412. adv1($location[Gingerbread Upscale Retail District], -1, "" );
  1413. while(in_multi_fight()){
  1414. run_combat();
  1415. }
  1416. }
  1417. //...to get more gingerbread cigarettes
  1418. adv1($location[Gingerbread Civic Center], -1, "" );
  1419. }
  1420.  
  1421. if(my_path() == "Heavy Rains"){
  1422. cli_execute("equip offhand thor's pliers");
  1423. }
  1424. else{
  1425. cli_execute("equip offhand HOA regulation book");
  1426. }
  1427.  
  1428. cli_execute("acquire 69 bricko ooze");
  1429. while(get_property("_brickoFights").to_int() < 10){
  1430. visit_url("inv_use.php?whichitem=4474&checked=1&pwd");
  1431. run_combat();
  1432. while(in_multi_fight()){
  1433. run_combat();
  1434. }
  1435. cli_execute("cast cannelloni cocoon");
  1436. bjorn_stuff();
  1437. }
  1438.  
  1439. /*
  1440. if(get_property("_mayflySummons").to_int() < 30 && equipped_item($slot[acc2]) != $item[mayfly bait necklace] && item_amount($item[mayfly bait necklace]) > 0){
  1441. cli_execute("try;equip acc2 mayfly bait necklace");
  1442. }
  1443. */
  1444.  
  1445. if(get_property("_goth_slash_hipster_tracking").to_int() < 7 && get_property("_mayflySummons").to_int() < 30){
  1446. cli_execute("familiar artistic goth kid");
  1447. set_auto_attack("none");
  1448. cli_execute("outfit goth mayfly latte");
  1449. }
  1450.  
  1451. int crayons;
  1452. int goblin_condoms;
  1453. int iteration_county_thing;
  1454. buffer page_text;
  1455. while(get_property("_mayflySummons").to_int() < 30 && have_effect($effect[timer 1]) > 0 && iteration_county_thing < 69){
  1456.  
  1457. if( get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() <3 ){
  1458. cli_execute("latte refill salt norwhal vanilla");
  1459. }
  1460. if(get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() == 3 ){
  1461. cli_execute("equip offhand Kramco Sausage-o-Matic");
  1462. }
  1463.  
  1464. //if we're using the goth kid, track black crayon things.
  1465. if(my_familiar()==$familiar[artistic goth kid]){
  1466. crayons = slash_count($item[crayon shavings]);
  1467. }
  1468.  
  1469. //if we're wearing sausage thing, track sausage goblins.
  1470. if(get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() == 3 ){
  1471. //or don't, I guess. Whatever.
  1472. //goblin_condoms = slash_count($item[magical sausage casing]);
  1473. }
  1474. if(my_familiar() == $familiar[artistic goth kid] && get_property("_goth_slash_hipster_tracking").to_int() >= 7){
  1475. cli_execute("familiar feather boa constrictor");
  1476. }
  1477.  
  1478. //menagerie level 1
  1479. page_text = visit_url("adventure.php?snarfblat=51");
  1480. if(page_text.length() > 6969){
  1481.  
  1482. //basic elemental
  1483. if(last_monster().id == 87){
  1484. //work around pickpocket bug.
  1485. visit_url("fight.php?action=steal");
  1486. //gulp latte.
  1487. if( !get_property("_latteDrinkUsed").to_boolean() ){
  1488. visit_url("fight.php?action=skill&whichskill=7303");
  1489. }
  1490. //mayflies.
  1491. visit_url("fight.php?action=skill&whichskill=7024");
  1492. //work around tracking potentially being off
  1493. iteration_county_thing++;
  1494. if(iteration_county_thing >= 69){
  1495. set_property("_mayflySummons",69420);
  1496. visit_url("fight.php?action=macro&macrotext=use louder than bomb;");
  1497. }
  1498. }
  1499. else{
  1500. //not basic elemental
  1501. if(last_monster().id == 88){
  1502. visit_url("fight.php?action=macro&macrotext=skill snokebomb;");
  1503. }
  1504. else{
  1505. //other not basic elemental
  1506. if(last_monster().id == 89){
  1507. visit_url("fight.php?action=macro&macrotext=use louder than bomb;");
  1508. }
  1509. else{
  1510. //black crayon nonsense.
  1511. if(last_monster().manuel_name.to_lower_case().contains_text("crayon")){
  1512. //pickpocket crayon shavings so they don't wash away and ruin tracking.
  1513. visit_url("fight.php?action=steal");
  1514. visit_url("fight.php?action=macro&macrotext=while !pastround 10; attack; endwhile;");
  1515. visit_url("main.php");
  1516. if(last_monster().manuel_name.to_lower_case().contains_text("eldritch")){
  1517. visit_url("fight.php?action=macro&macrotext=while !pastround 10; attack; endwhile;");
  1518. }
  1519. }
  1520. else{
  1521. //sausage goblin nonsense
  1522. if(page_text.to_lower_case().contains_text("sausage goblin")){
  1523. visit_url("fight.php?action=macro&macrotext=while !pastround 10; use dictionary; endwhile; while !pastround 20; attack; endwhile;");
  1524.  
  1525. visit_url("main.php");
  1526.  
  1527. if(last_monster().manuel_name.to_lower_case().contains_text("eldritch")){
  1528. visit_url("fight.php?action=macro&macrotext=while !pastround 10; use dictionary; endwhile; while !pastround 20; attack; endwhile;");
  1529. }
  1530. }
  1531. else{
  1532. abort("UR?");
  1533. }
  1534. }
  1535. }
  1536. }
  1537. }
  1538. }
  1539.  
  1540. if(my_familiar()==$familiar[artistic goth kid]){
  1541. if(crayons < slash_count($item[crayon shavings])){
  1542. set_property("_goth_slash_hipster_tracking", get_property("_goth_slash_hipster_tracking").to_int()+1);
  1543. }
  1544. }
  1545. print("We think we've used up "+get_property("_goth_slash_hipster_tracking")+" goth fights");
  1546. print("We think we've used up "+get_property("_mayflySummons")+" mayfly summons");
  1547. while(my_mp() * 10 > my_maxmp()){
  1548. summon_shit();
  1549. }
  1550. waitq(1);
  1551. }
  1552.  
  1553. if( ( get_property("_mayflySummons").to_int() >= 30 || get_property("_goth_slash_hipster_tracking").to_int() >= 7 ) && !is_wearing_outfit("npzr bullshit") ){
  1554. cli_execute("outfit npzr bullshit");
  1555. cli_execute("familiar feather boa");
  1556. }
  1557.  
  1558. use_lightning_strikes();
  1559. use_plural_of_rain_man();
  1560.  
  1561.  
  1562.  
  1563. if(!get_property("_loveTunnelUsed").to_boolean()){
  1564. equip($slot[acc2],$item[sphygmayomanometer]);
  1565. cli_execute("cast cannelloni cocoon");
  1566. visit_url("place.php?whichplace=town_wrong&action=townwrong_tunnel");
  1567. visit_url("choice.php?whichchoice=1222&option=1&pwd");
  1568. visit_url("choice.php?whichchoice=1223&option=1&pwd");
  1569. run_combat();
  1570. visit_url("choice.php?whichchoice=1224&option=1&pwd");
  1571. visit_url("choice.php?whichchoice=1225&option=1&pwd");
  1572. run_combat();
  1573. visit_url("choice.php?whichchoice=1226&option=1&pwd");
  1574. visit_url("choice.php?whichchoice=1227&option=1&pwd");
  1575. run_combat();
  1576. visit_url("choice.php?whichchoice=1228&option=1&pwd");
  1577. while(my_mp() * 10 > my_maxmp()){
  1578. summon_shit();
  1579. }
  1580. //equip($slot[acc2],$item[over-the-shoulder Folder Holder]);
  1581. //equip($slot[acc2],$item[mime army insignia (infantry)]);
  1582. //cli_execute("outfit npzr bullshit");
  1583. }
  1584.  
  1585.  
  1586.  
  1587. set_auto_attack("none");
  1588.  
  1589. //cli_execute("run dice mp thingy.ash");
  1590. //note that this won't work for you because custom outfits.
  1591. //edit accordingly if you want to use it.
  1592.  
  1593. int elemental_count = 0;
  1594. boolean elchecktrified = false;
  1595. if(get_property("_dicey_mp_runs").to_int() == 0 && get_property("_alotted_snojo_bander_runs").to_int() == 0){
  1596. cli_execute("familiar bandersnatch");
  1597. cli_execute("equip familiar kill screen");
  1598. cli_execute("outfit dice mp");
  1599. cli_execute("acquire 11 insani tea");
  1600. cli_execute("acquire 11 concoction of clumsiness");
  1601. cli_execute("acquire 11 ancient medicinal herbs");
  1602. if(have_effect($effect[polka of plenty]) > 0){
  1603. cli_execute("shrug polka of plenty");
  1604. cli_execute("cast ode to booze");
  1605. }
  1606. if(have_effect($effect[insani tea]) == 0){
  1607. cli_execute("use 1 insani tea");
  1608. }
  1609. /*
  1610. if(have_effect($effect[clumsy]) == 0){
  1611. cli_execute("shrug ancient fortitude");
  1612. cli_execute("use 1 concoction of clumsiness");
  1613. cli_execute("chew 1 ancient medicinal herbs");
  1614. }
  1615. */
  1616. //this is how many bander runs we're able to use here. this preference should only be set once/day.
  1617. set_property("_alotted_snojo_bander_runs", ((Numeric_Modifier("Familiar Weight") + familiar_weight( my_familiar() ) ) / 5) - get_property("_banderRunaways").to_int());
  1618. cli_execute("cast cannelloni cocoon");
  1619. bjorn_stuff();
  1620. }
  1621.  
  1622. //this block is for if the script needs to be rerun after aborting for some stupid reason.
  1623. if(get_property("_dicey_mp_runs").to_int() > 0 && get_property("_dicey_mp_runs").to_int() < (get_property("_alotted_snojo_bander_runs").to_int() - 1)){
  1624. cli_execute("familiar bandersnatch");
  1625. cli_execute("equip familiar kill screen");
  1626. cli_execute("outfit dice mp");
  1627. if(have_effect($effect[polka of plenty]) > 0){
  1628. cli_execute("shrug polka of plenty");
  1629. cli_execute("cast ode to booze");
  1630. }
  1631. if(have_effect($effect[insani tea]) == 0){
  1632. cli_execute("use 1 insani tea");
  1633. }
  1634. /*
  1635. if(have_effect($effect[clumsy]) == 0){
  1636. cli_execute("shrug ancient fortitude");
  1637. cli_execute("use 1 concoction of clumsiness");
  1638. cli_execute("chew 1 ancient medicinal herbs");
  1639. }
  1640. */
  1641. //cli_execute("cast cannelloni cocoon");
  1642. new_cocoon();
  1643. bjorn_stuff();
  1644. }
  1645.  
  1646. //this block adventures until we've used all but one of our free runs. off-by-one errors are scary, so the last free run remains unused. timer 1 check makes script abort if a turn is spent.
  1647. while(get_property("_dicey_mp_runs").to_int() < (get_property("_alotted_snojo_bander_runs").to_int() - 1) && get_property("_banderRunaways").to_int() < (Numeric_Modifier("Familiar Weight") + familiar_weight( my_familiar() ) ) / 5 && have_effect($effect[timer 1]) > 0 ){
  1648. visit_url("adventure.php?snarfblat=460");
  1649. elchecktrified = false;
  1650. elemental_count = 0;
  1651. foreach i in last_monster().random_modifiers{
  1652. if(i == "foul-mouthed" || i == "filthy" || i == "hot" || i == "wet" || i == "haunted"){
  1653. //these each do some percent of your maxhp in damage, seemingly bounded from above by 2% if you have 90% elemental resistance, each round.
  1654. elemental_count++;
  1655. }
  1656. if(i == "electrified"){
  1657. //monster is full of mp and pain.
  1658. elchecktrified = true;
  1659. }
  1660. if(i == "hilarious"){
  1661. //monster breaks mafia's tracking of free runs. this has like a 1/buhjillion chance of wasting a free run (by incrementing twice) if the runaway message has no salad in it.
  1662. set_property("_banderRunaways", get_property("_banderRunaways").to_int()+1);
  1663. }
  1664. }
  1665. if(!elchecktrified){
  1666. visit_url("fight.php?action=runaway");
  1667. }
  1668. else{
  1669. //visit_url("fight.php?action=macro&macrotext=while !hppercentbelow " + (elemental_count * 2 + 20).to_string() +";attack;endwhile;runaway;");
  1670. visit_url("fight.php?action=macro&macrotext=while !hppercentbelow " + (elemental_count * 2 + 20).to_string() +";use spices;endwhile;runaway;");
  1671. }
  1672. set_property("_dicey_mp_runs",get_property("_dicey_mp_runs").to_int()+1);
  1673. //cli_execute("cast cannelloni cocoon");
  1674. new_cocoon();
  1675. bjorn_stuff();
  1676. while(my_mp() * 10 > my_maxmp()){
  1677. summon_shit();
  1678. }
  1679. summon_shit();
  1680. if(get_property("_dicey_mp_runs").to_int() == (get_property("_alotted_snojo_bander_runs").to_int() - 1) && have_effect($effect[timer 1]) > 0){
  1681. set_property("_did_dice_with_no_issues", "ebgrgwrg");
  1682. }
  1683. }
  1684.  
  1685. if(have_effect($effect[timer 1]) == 0 && get_property("_did_dice_with_no_issues") == ""){
  1686. abort("dice is fucked");
  1687. }
  1688.  
  1689. if(have_effect($effect[ode to booze]) > 0){
  1690. cli_execute("shrug ode to booze");
  1691. cli_execute("cast polka of plenty");
  1692. }
  1693.  
  1694. if(have_effect($effect[insani tea]) > 0 || have_effect($effect[Clumsy]) > 0){
  1695. cli_execute("try;shrug insani tea;");
  1696. cli_execute("/shrug! clumsy");
  1697. }
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706. if(my_familiar() != $familiar[feather boa constrictor]){
  1707. cli_execute("familiar feather boa constrictor");
  1708. }
  1709. cli_execute("outfit npzr bullshit");
  1710. use_lightning_strikes();
  1711. use_plural_of_rain_man();
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721. if(get_property("rkelly").to_int() == 1){
  1722. take_closet(1, $item[spooky putty sheet]);
  1723. set_property("rkelly", 0 );
  1724. }
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730. cli_execute("familiar stooper");
  1731.  
  1732. refresh_status();
  1733. eggz1 = inebriety_limit() - my_inebriety();
  1734. eggz2 = fullness_limit() - my_fullness() - 1;
  1735.  
  1736. //if(are_we_consuming_eggs){
  1737. while(eggz1 > 0){
  1738. use(1, $item[mayodiol]);
  1739. eat(1, $item[spooky surprise egg]);
  1740. eggz1 = eggz1 - 1;
  1741. }
  1742. while(eggz2 >= 0){
  1743. //use(1, $item[Mayonex] );
  1744. eat(1, $item[spooky surprise egg]);
  1745. eggz2 = eggz2 - 1;
  1746. }
  1747. //}
  1748.  
  1749.  
  1750. /*
  1751. cli_execute("/familiar disembodied hand");
  1752. cli_execute("/equip shirt General Sage's Lonely Diamonds Club Jacket");
  1753. */
  1754. cli_execute("outfit optimalest");
  1755. set_auto_attack("none");
  1756. equip($slot[acc1],$item[sphygmayomanometer]);
  1757. cli_execute("/equip back vampyric cloake");
  1758.  
  1759. if(inebriety_limit() == my_inebriety()){
  1760. cli_execute("/drink everfull glass");
  1761. }
  1762.  
  1763. when_the_fuck_is_it = gametime_to_int() / 1000;
  1764.  
  1765. if(get_property("_script_runs_thiiiiis_long") == ""){
  1766. //seconds.
  1767. set_property("_script_runs_thiiiiis_long", when_the_fuck_is_it - get_property("_script_start_time").to_int());
  1768. }
  1769. /*
  1770. metric
  1771. fuckton
  1772. of
  1773. whitespace
  1774. */
  1775.  
  1776. cli_execute("sell * really dense meat stack");
  1777. cli_execute("sell * meat stack");
  1778. cli_execute("sell * knob goblin visor");
  1779. cli_execute("sell * gold nuggets");
  1780. cli_execute("sell * Mickey Mantle");
  1781. cli_execute("use * ancient vinyl coin purse");
  1782. cli_execute("sell * decomposed boot");
  1783. cli_execute("sell * dollar-sign bag");
  1784. cli_execute("use * duct tape wallet");
  1785. cli_execute("use * fat wallet");
  1786. cli_execute("sell * half of a gold tooth");
  1787. cli_execute("sell * huge gold coin");
  1788. cli_execute("sell * leather bookmark");
  1789. cli_execute("sell * massive gemstone");
  1790. cli_execute("use * old coin purse");
  1791. cli_execute("use * old leather wallet");
  1792. cli_execute("sell * pile of gold coins");
  1793. cli_execute("use * pixel coin");
  1794. cli_execute("use * pixellated moneybag");
  1795. cli_execute("use * shiny stones");
  1796. cli_execute("use * solid gold jewel");
  1797. cli_execute("use * stolen meatpouch");
  1798. cli_execute("sell * BRICKO pearl");
  1799. cli_execute("use * Gathered Meat-Clip");
  1800. cli_execute("use * d8");
  1801. cli_execute("use * d6");
  1802. cli_execute("sell * generic healing potion");
  1803. cli_execute("sell * generic mana potion");
  1804.  
  1805. //you probably don't want to send all your stuff to ssbb and lost.
  1806. /*
  1807. if(item_amount($item[spice melange]) > 30 ){
  1808. cli_execute("try; csend 30 spice melange to ssbbhax || yay automated melange sending!;");
  1809. print("csend 30 spice melange to ssbbhax || yay automated melange sending!");
  1810. }
  1811. */
  1812. /*
  1813. if(item_amount($item[d10]) > 9000 ){
  1814. cli_execute("try; csend 9001 d10 to bmaher || yay automated d10 sending!;");
  1815. print("csend 9001 d10 to bmaher || yay automated d10 sending!");
  1816. }
  1817. */
  1818.  
  1819. //you probably don't have a mallbot nor a custom build of mafia for getting accurate networth information.
  1820. /*
  1821. cli_execute("familiar feather boa constrictor");
  1822. if(get_property("_done_net") == ""){
  1823. set_property("_done_net", "asdf");
  1824. cli_execute("net");
  1825. }
  1826. cli_execute("run mallbot.ash");
  1827. */
Advertisement
Add Comment
Please, Sign In to add comment