Advertisement
Guest User

Jewel_Loot_Haxorz

a guest
Jan 19th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1. if not @findobject 'Loot Bag' and findalias 'Loot Bag'
  2. unsetalias 'Loot Bag'
  3. endif
  4. if not findalias 'Loot Bag'
  5. headmsg 'Select Loot Bag'
  6. promptalias 'Loot Bag'
  7. endif
  8. if not listexists 'Jewelry'
  9. @createlist 'Jewelry'
  10. endif
  11. if not listexists 'corpses'
  12. @createlist 'corpses'
  13. endif
  14. if not timerexists 'consecrate'
  15. createtimer 'consecrate'
  16. settimer 'consecrate' 10000
  17. endif
  18. if timer 'consecrate' > 10000
  19. @cast! 'consecrate weapon'
  20. settimer 'consecrate' 0
  21. endif
  22. if not @buffexists 'divine fury'
  23. cast 'divine fury'
  24. waitfortarget 1688
  25. target! 'self'
  26. endif
  27. if not listexists 'DropChests'
  28. @createlist 'DropChests'
  29. @pushlist! 'DropChests' 0xe7e
  30. @pushlist! 'DropChests' 0xe3f
  31. @pushlist! 'DropChests' 0xe7f
  32. @pushlist! 'DropChests' 0xe3e
  33. @pushlist! 'DropChests' 0x20ca
  34. endif
  35. if list 'Jewelry' == 0
  36. @pushlist! 'Jewelry' 0x108a
  37. @pushlist! 'Jewelry' 0x1f09
  38. @pushlist! 'Jewelry' 0x1086
  39. @pushlist! 'Jewelry' 0x1f06
  40. endif
  41. if not listexists 'Skill1'
  42. @createlist 'Skill1'
  43. endif
  44. if @list 'Skill1' != 28
  45. @pushlist! 'Skill1' 'Animal Taming'
  46. @pushlist! 'Skill1' 'Animal Lore'
  47. @pushlist! 'Skill1' 'Veterinary'
  48. @pushlist! 'Skill1' 'Provocation'
  49. @pushlist! 'Skill1' 'Anatomy'
  50. @pushlist! 'Skill1' 'Archery'
  51. @pushlist! 'Skill1' 'Stealing'
  52. @pushlist! 'Skill1' 'Tactics'
  53. @pushlist! 'Skill1' 'Swordsmanship'
  54. @pushlist! 'Skill1' 'Fencing'
  55. @pushlist! 'Skill1' 'Ninjitsu'
  56. @pushlist! 'Skill1' 'Healing'
  57. @pushlist! 'Skill1' 'Focus'
  58. @pushlist! 'Skill1' 'Mace Fighting'
  59. @pushlist! 'Skill1' 'Magery'
  60. @pushlist! 'Skill1' 'Evaluating Intelligence'
  61. @pushlist! 'Skill1' 'Resisting Spells'
  62. @pushlist! 'Skill1' 'Spirit Speak'
  63. @pushlist! 'Skill1' 'Necromancy'
  64. @pushlist! 'Skill1' 'Parrying'
  65. @pushlist! 'Skill1' 'Bushido'
  66. @pushlist! 'Skill1' 'Peacemaking'
  67. @pushlist! 'Skill1' 'Discordance'
  68. @pushlist! 'Skill1' 'Provocation'
  69. @pushlist! 'Skill1' 'Musicianship'
  70. @pushlist! 'Skill1' 'Wrestling'
  71. @pushlist! 'Skill1' 'Chivalry'
  72. endif
  73. if not listexists 'Skill2'
  74. @createlist 'Skill2'
  75. endif
  76. if @list 'Skill2' != 28
  77. @pushlist! 'Skill2' 'Animal Taming'
  78. @pushlist! 'Skill2' 'Animal Lore'
  79. @pushlist! 'Skill2' 'Veterinary'
  80. @pushlist! 'Skill2' 'Provocation'
  81. @pushlist! 'Skill2' 'Anatomy'
  82. @pushlist! 'Skill2' 'Archery'
  83. @pushlist! 'Skill2' 'Stealing'
  84. @pushlist! 'Skill2' 'Tactics'
  85. @pushlist! 'Skill2' 'Swordsmanship'
  86. @pushlist! 'Skill2' 'Fencing'
  87. @pushlist! 'Skill2' 'Ninjitsu'
  88. @pushlist! 'Skill2' 'Healing'
  89. @pushlist! 'Skill2' 'Focus'
  90. @pushlist! 'Skill2' 'Mace Fighting'
  91. @pushlist! 'Skill2' 'Magery'
  92. @pushlist! 'Skill2' 'Evaluating Intelligence'
  93. @pushlist! 'Skill2' 'Resisting Spells'
  94. @pushlist! 'Skill2' 'Spirit Speak'
  95. @pushlist! 'Skill2' 'Necromancy'
  96. @pushlist! 'Skill2' 'Parrying'
  97. @pushlist! 'Skill2' 'Bushido'
  98. @pushlist! 'Skill2' 'Peacemaking'
  99. @pushlist! 'Skill2' 'Discordance'
  100. @pushlist! 'Skill2' 'Provocation'
  101. @pushlist! 'Skill2' 'Musicianship'
  102. @pushlist! 'Skill2' 'Wrestling'
  103. @pushlist! 'Skill2' 'Chivalry'
  104. endif
  105. //if not inregion 'town'
  106. @Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
  107. @setability 'secondary' 'on'
  108. @attack! 'enemy'
  109. //endif
  110. if not @findtype 0x2006 'any' 'ground' 1 2
  111. pause 250
  112. elseif @setalias 'CorpseToLoot' 'found'
  113. @useobject! 'CorpseToLoot'
  114. endif
  115. for 0 to 'Jewelry'
  116. if @findtype 'Jewelry[]' 'any' 'CorpseToLoot'
  117. @canceltarget
  118. @setalias! 'JewelToCheck' 'found'
  119. waitforproperties 'JewelToCheck' 1200
  120. for 0 to Skill1
  121. if @property 'Skill1[]' 'found' >= 10
  122. @poplist 'Skill2' 'Skill1[]'
  123. for 0 to Skill2
  124. if @property 'Skill2[]' 'found' >= 10
  125. pause 80
  126. msg "[e woohoo"
  127. headmsg "Grabbing Epic Jewlery!" 1987
  128. pause 80
  129. sysmsg 'Moving Jewel to Loot Bag' '1999'
  130. @moveitem 'JewelToCheck' 'Loot Bag' 50 50 50 1
  131. pause 1000
  132. ignoreobject 'JewelToCheck'
  133. break
  134. msg "[claim"
  135. waitfortarget 250
  136. target! 'CorpseToLoot'
  137. waitfortarget 250
  138. @canceltarget
  139. endif
  140. endfor
  141. endif
  142. endfor
  143. endif
  144. endfor
  145. if @inrange 'CorpseToLoot'2
  146. @msg "[claim"
  147. waitfortarget 250
  148. target! 'CorpseToLoot'
  149. waitfortarget 250
  150. @canceltarget
  151. endif
  152. if @injournal 'Shield of Spikes!' 'system'
  153. replygump 0x4239a64f 1004
  154. waitforgump 0x4239a64f 15000
  155. headmsg 'SOS Rearmed' '1990'
  156. endif
  157. if @injournal 'You failed the augment skill check' 'system'
  158. replygump 0x4239a64f 1004
  159. waitforgump 0x4239a64f 15000
  160. headmsg 'SOS Rearmed' '1990'
  161. endif
  162. @clearjournal
  163. // Inventory check
  164. if @weight >= 500
  165. @msg "[ffp"
  166. endif
  167. if @contents 'backpack' >= 165 or @contents 'Loot Bag' >= 100
  168. @msg "[ffp"
  169. headmsg "Nearly Full Backpack!!!" 1987 'self'
  170. endif
  171. // end Inventory Check
  172. if not inregion 'town'
  173. @Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
  174. @setability 'secondary' 'on'
  175. @attack! 'enemy'
  176. endif
  177. // Double Clicks all gold in your pack
  178. if @findtype '0xeed' 'any' 'backpack'
  179. @useobject! 'found'
  180. endif
  181. // End Double click all gold
  182. //Grab all Ground Gold
  183. while @findtype 0xeed 'any' 'ground'
  184. useobject! 'found'
  185. ignoreobject 'found'
  186. endwhile
  187. //End Grab all Ground Gold
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement