Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. @clearjournal
  2. @cleartargetqueue
  3. @clearuseonce
  4. @clearusequeue
  5. @canceltarget
  6. if not @findalias 'crossheal target' or not @findobject 'crossheal target'
  7. headmsg '**Select Crossheal Target**' 88
  8. promptalias 'crossheal target'
  9. endif
  10. if targetexists
  11. @canceltarget
  12. pause 100
  13. endif
  14. while @findobject 'crossheal target' and not @inrange 'crossheal target' 1
  15. if not timerexists 'xheal range txt'
  16. createtimer 'xheal range txt'
  17. endif
  18. if timer 'xheal range txt' > 1000
  19. settimer 'xheal range txt' 0
  20. msg '**Out of xheal range**' 28
  21. endif
  22. replay
  23. endwhile
  24. if @findtype 0xe21 'any' 'backpack' and @inrange 'crossheal target' 1
  25. useobject 'found'
  26. while not targetexists 'beneficial'
  27. if @injournal 'you must wait to perform another action' 'system'
  28. replay
  29. endif
  30. endwhile
  31. if @inrange 'crossheal target' 1
  32. target! 'crossheal target'
  33. endif
  34. waitforjournal 'you begin' 500
  35. //original value 300
  36. else
  37. if @findtype 0xe21
  38. else
  39. headmsg '*Out of bandages!*' 50
  40. endif
  41. endif
  42. if @injournal 'being is not' 'system'
  43. headmsg '---' '88'
  44. pause 25
  45. headmsg '*Full HP!*' 28
  46. pause 25
  47. headmsg '---' '88'
  48. replay
  49. endif
  50. //
  51. //if not timerexists 'failSafe'
  52. // createtimer 'failSafe'
  53. //endif
  54. //settimer 'failSafe' 0
  55. if @injournal 'is too far' 'system'
  56. sysmsg 'too far replay delete later' 33
  57. replay
  58. endif
  59. if targetexists
  60. headmsg 'target exists replay' 33
  61. replay
  62. endif
  63. msg '***Bandaging you***' 88
  64. while not dead 'self'
  65. if @injournal 'is too far' 'system'
  66. headmsg 'too far replay2' 33
  67. replay
  68. endif
  69. if @injournal 'you heal what little' 'system'
  70. replay
  71. endif
  72. if @injournal 'you have failed to cure your target' 'system'
  73. replay
  74. endif
  75. if @injournal 'cured the target' 'system'
  76. replay
  77. endif
  78. if @injournal 'did not stay' 'system'
  79. replay
  80. endif
  81. if @injournal 'is too far' 'system'
  82. replay
  83. endif
  84. if @injournal 'finish applying' 'system'
  85. replay
  86. endif
  87. //if timer 'failsafe' > 6500
  88. // replay
  89. // endif
  90. endwhile
  91. //pause 50
  92. replay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement