yojimbos_law

mayfly script that correctly handled a UR.

Nov 20th, 2018
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 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. if(get_property("_goth_slash_hipster_tracking").to_int() < 7 && get_property("_mayflySummons").to_int() < 30){
  7. cli_execute("familiar artistic goth kid");
  8. cli_execute("/autoattack none");
  9. }
  10.  
  11. int crayons;
  12. int iteration_county_thing;
  13. buffer page_text;
  14. while(get_property("_mayflySummons").to_int() < 30 && my_familiar()==$familiar[artistic goth kid] && have_effect($effect[timer 1]) > 0 && iteration_county_thing < 69){
  15. crayons = slash_count($item[crayon shavings]);
  16. //menagerie level 1
  17. page_text = visit_url("adventure.php?snarfblat=51");
  18. if(page_text.length() > 6969){
  19. //basic elemental
  20. if(last_monster().id == 87){
  21. //work around pickpocket bug.
  22. visit_url("fight.php?action=steal");
  23. //mayflies.
  24. visit_url("fight.php?action=skill&whichskill=7024");
  25. //work around tracking potentially being off
  26. iteration_county_thing++;
  27. if(iteration_county_thing >= 69){
  28. set_property("_mayflySummons",69420);
  29. visit_url("fight.php?action=macro&macrotext=use louder than bomb;");
  30. }
  31. }
  32. else{
  33. //not basic elemental
  34. if(last_monster().id == 88){
  35. visit_url("fight.php?action=macro&macrotext=skill snokebomb;");
  36. }
  37. else{
  38. //other not basic elemental
  39. if(last_monster().id == 89){
  40. visit_url("fight.php?action=macro&macrotext=use louder than bomb;");
  41. }
  42. else{
  43. if(last_monster().manuel_name.to_lower_case().contains_text("crayon")){
  44. //pickpocket crayon shavings so they don't wash away and ruin tracking.
  45. visit_url("fight.php?action=steal");
  46. visit_url("fight.php?action=macro&macrotext=while !pastround 10; attack; endwhile;");
  47. visit_url("main.php");
  48. if(last_monster().manuel_name.to_lower_case().contains_text("eldritch")){
  49. visit_url("fight.php?action=macro&macrotext=while !pastround 10; attack; endwhile;");
  50. }
  51. }
  52. else{
  53. abort("UR?");
  54. //this actually works.
  55. }
  56. }
  57. }
  58. }
  59. }
  60. if(crayons < slash_count($item[crayon shavings])){
  61. set_property("_goth_slash_hipster_tracking", get_property("_goth_slash_hipster_tracking").to_int()+1);
  62. }
  63. print("We think we've used up "+get_property("_goth_slash_hipster_tracking")+" goth fights");
  64. print("We think we've used up "+get_property("_mayflySummons")+" mayfly summons");
  65. waitq(1);
  66. }
  67.  
  68. if( ( get_property("_mayflySummons").to_int() >= 30 || get_property("_goth_slash_hipster_tracking").to_int() >= 7 ) && equipped_item($slot[acc2]) == $item[mayfly bait necklace] ){
  69. cli_execute("outfit npzr bullshit");
  70. cli_execute("familiar feather boa");
  71. }
Advertisement
Add Comment
Please, Sign In to add comment