yojimbos_law

old mayfly handling lol

Oct 10th, 2026
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. /*
  2. if(get_property("_mayflySummons").to_int() < 30 && equipped_item($slot[acc2]) != $item[mayfly bait necklace] && item_amount($item[mayfly bait necklace]) > 0){
  3. cli_execute("try;equip acc2 mayfly bait necklace");
  4. }
  5. */
  6.  
  7. if(get_property("_goth_slash_hipster_tracking").to_int() < 7 && get_property("_mayflySummons").to_int() < 30){
  8. cli_execute("familiar artistic goth kid");
  9. set_auto_attack("none");
  10. cli_execute("outfit goth mayfly latte");
  11. }
  12.  
  13. int crayons;
  14. int goblin_condoms;
  15. int iteration_county_thing;
  16. buffer page_text;
  17. while(get_property("_mayflySummons").to_int() < 30 && have_effect($effect[timer 1]) > 0 && iteration_county_thing < 69){
  18.  
  19. if( get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() <3 ){
  20. cli_execute("latte refill salt norwhal vanilla");
  21. }
  22. if(get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() == 3 ){
  23. cli_execute("equip offhand Kramco Sausage-o-Matic");
  24. }
  25.  
  26. //if we're using the goth kid, track black crayon things.
  27. if(my_familiar()==$familiar[artistic goth kid]){
  28. crayons = slash_count($item[crayon shavings]);
  29. }
  30.  
  31. //if we're wearing sausage thing, track sausage goblins.
  32. if(get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() == 3 ){
  33. //or don't, I guess. Whatever.
  34. //goblin_condoms = slash_count($item[magical sausage casing]);
  35. }
  36. if(my_familiar() == $familiar[artistic goth kid] && get_property("_goth_slash_hipster_tracking").to_int() >= 7){
  37. cli_execute("familiar feather boa constrictor");
  38. }
  39.  
  40. //menagerie level 1
  41. page_text = visit_url("adventure.php?snarfblat=51");
  42. if(page_text.length() > 6969){
  43.  
  44. //basic elemental
  45. if(last_monster().id == 87){
  46. //work around pickpocket bug.
  47. visit_url("fight.php?action=steal");
  48. //gulp latte.
  49. if( !get_property("_latteDrinkUsed").to_boolean() ){
  50. visit_url("fight.php?action=skill&whichskill=7303");
  51. }
  52. //mayflies.
  53. visit_url("fight.php?action=skill&whichskill=7024");
  54. //work around tracking potentially being off
  55. iteration_county_thing++;
  56. if(iteration_county_thing >= 69){
  57. set_property("_mayflySummons",69420);
  58. visit_url("fight.php?action=macro&macrotext=use louder than bomb;");
  59. }
  60. }
  61. else{
  62. //not basic elemental
  63. if(last_monster().id == 88){
  64. visit_url("fight.php?action=macro&macrotext=skill snokebomb;");
  65. }
  66. else{
  67. //other not basic elemental
  68. if(last_monster().id == 89){
  69. visit_url("fight.php?action=macro&macrotext=use louder than bomb;");
  70. }
  71. else{
  72. //black crayon nonsense.
  73. if(last_monster().manuel_name.to_lower_case().contains_text("crayon")){
  74. //pickpocket crayon shavings so they don't wash away and ruin tracking.
  75. visit_url("fight.php?action=steal");
  76. visit_url("fight.php?action=macro&macrotext=while !pastround 10; attack; endwhile;");
  77. visit_url("main.php");
  78. if(last_monster().manuel_name.to_lower_case().contains_text("eldritch")){
  79. visit_url("fight.php?action=macro&macrotext=while !pastround 10; attack; endwhile;");
  80. }
  81. }
  82. else{
  83. //sausage goblin nonsense
  84. if(page_text.to_lower_case().contains_text("sausage goblin")){
  85. visit_url("fight.php?action=macro&macrotext=while !pastround 10; use dictionary; endwhile; while !pastround 20; attack; endwhile;");
  86.  
  87. visit_url("main.php");
  88.  
  89. if(last_monster().manuel_name.to_lower_case().contains_text("eldritch")){
  90. visit_url("fight.php?action=macro&macrotext=while !pastround 10; use dictionary; endwhile; while !pastround 20; attack; endwhile;");
  91. }
  92. }
  93. else{
  94. abort("UR?");
  95. }
  96. }
  97. }
  98. }
  99. }
  100. }
  101.  
  102. if(my_familiar()==$familiar[artistic goth kid]){
  103. if(crayons < slash_count($item[crayon shavings])){
  104. set_property("_goth_slash_hipster_tracking", get_property("_goth_slash_hipster_tracking").to_int()+1);
  105. }
  106. }
  107. print("We think we've used up "+get_property("_goth_slash_hipster_tracking")+" goth fights");
  108. print("We think we've used up "+get_property("_mayflySummons")+" mayfly summons");
  109. while(my_mp() * 10 > my_maxmp()){
  110. summon_shit();
  111. }
  112. waitq(1);
  113. }
  114.  
  115. if( ( get_property("_mayflySummons").to_int() >= 30 || get_property("_goth_slash_hipster_tracking").to_int() >= 7 ) && !is_wearing_outfit("npzr bullshit") ){
  116. cli_execute("outfit npzr bullshit");
  117. cli_execute("familiar feather boa");
  118. }
  119.  
Add Comment
Please, Sign In to add comment