daily pastebin goal
72%
SHARE
TWEET

Recall Lumberjack

a guest Jan 18th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Author: Experience
  2. //Title: Recalling Lumberjack
  3. //Description: Recalling Lumberjack. Must have a Double Axe.
  4. //You will need a book with the default rune marked right next to your wood storage.
  5. //All Books must have 16 runes to run properly!!
  6. //To add more books simply add 'Wood4' findalias and to pushlist
  7. removelist 'Runes'
  8. removelist 'WoodBook'
  9. @clearjournal
  10. promptalias 'Wood Storage'
  11. promptalias 'Wood1'
  12. promptalias 'Wood2'
  13. promptalias 'Wood3'
  14. promptalias 'Wood4'
  15. promptalias 'HomeWood'
  16. createlist 'WoodBook'
  17. if list 'WoodBook' == 0
  18.   pushlist 'WoodBook' 'Wood1'
  19.   pushlist 'WoodBook' 'Wood2'
  20.   pushlist 'WoodBook' 'Wood3'
  21.   pushlist 'WoodBook' 'Wood4'
  22. endif
  23. if @findtype '0xf4b' 'any' 'backpack' 'any' '2' or findlayer 'self' '2'
  24.   setalias 'Axe' 'found'
  25.   headmsg 'Axe Found'
  26. else
  27.   headmsg 'No Axe Found'
  28.   pause 800
  29. endif
  30. if not listexists 'Runes'
  31.   createlist 'Runes'
  32. endif
  33. if list 'Runes' == 0
  34.   pushlist 'Runes' 5
  35.   pushlist 'Runes' 11
  36.   pushlist 'Runes' 17
  37.   pushlist 'Runes' 23
  38.   pushlist 'Runes' 29
  39.   pushlist 'Runes' 35
  40.   pushlist 'Runes' 41
  41.   pushlist 'Runes' 47
  42.   pushlist 'Runes' 53
  43.   pushlist 'Runes' 59
  44.   pushlist 'Runes' 65
  45.   pushlist 'Runes' 71
  46.   pushlist 'Runes' 77
  47.   pushlist 'Runes' 83
  48.   pushlist 'Runes' 89
  49.   pushlist 'Runes' 95
  50. endif
  51. for 0 to WoodBook
  52.   for 0 to 'Runes'
  53.     pause 500
  54.     @clearjournal
  55.     pause 500
  56.     useobject WoodBook[]
  57.     waitforgump 0x554b87f3 5000
  58.     replygump 0x554b87f3 Runes[]
  59.     pause 4000
  60.     if injournal 'blocked' 'system'
  61.       @clearjournal
  62.       replay
  63.     endif
  64.     //tells you which rune you are on, see runelist above
  65.     sysmsg 'Rune' 33
  66.     sysmsg Runes[] 33
  67.     pause 2000
  68.     while not @injournal 'not enough wood here' 'system'
  69.       if not @findlayer 'self' '2'
  70.         equipitem 'Axe' '2'
  71.         pause 800
  72.       endif
  73.       //use axe to northern tile until specified weight is reached
  74.       pause 300
  75.       canceltarget
  76.       useobject 'Axe'
  77.       waitfortarget 1000
  78.       targettileoffset 0 -1 0
  79.       pause 1000
  80.       //Snake check
  81.       if @injournal 'dislodged' 'system'
  82.         headmsg 'SNAKE!!!'
  83.         headmsg 'Kill IT!!'
  84.         pause 60000
  85.         @clearjournal
  86.       endif
  87.       // once weight is reached go home, if getting overweight, lower it
  88.       if weight > '360'
  89.         useobject 'HomeWood'
  90.         waitforgump 0x554b87f3 5000
  91.         replygump 0x554b87f3 5
  92.         pause 2000
  93.         //put up Wood
  94.         while @findtype '0x1bdd' 'any' 'backpack' 'any' '2'
  95.           moveitem 'found' 'Wood Storage'
  96.           pause 800
  97.         endwhile
  98.         //recall back to where you were
  99.         useobject WoodBook[]
  100.         waitforgump 0x554b87f3 5000
  101.         replygump 0x554b87f3 Runes[]
  102.         pause 2000
  103.       endif
  104.     endwhile
  105.   endfor
  106.   poplist 'Runes' 'front'
  107. endfor
  108. //recall home so Wood container is found
  109. pause 1000
  110. cast 'recall'
  111. autotargetobject 'HomeWood'
  112. pause 4000
  113. poplist 'WoodBook' 'front'
  114. turn "South"
  115. run "South"
  116. pause 100
  117. run "South"
  118. pause 100
  119. run "South"
  120. pause 100
  121. run "South"
  122. pause 100
  123. run "South"
  124. pause 100
  125. run "South"
  126. pause 100
  127. run "South"
  128. pause 100
  129. turn "East"
  130. pause 100
  131. run "East"
  132. pause 100
  133. run "East"
  134. pause 100
  135. run "East"
  136. pause 100
  137. run "East"
  138. pause 100
  139. run "East"
  140. pause 100
  141. turn "North"
  142. run "North"
  143. pause 100
  144. run "North"
  145. pause 100
  146. run "North"
  147. pause 100
  148. run "North"
  149. pause 3000
  150. turn "West"
  151. run "West"
  152. run "West"
  153. pause 4000
  154. useskill 'hiding'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top