Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. if listexists 'Chop'
  2. clearlist 'Chop'
  3. else
  4. createlist 'Chop'
  5. endif
  6. //========================
  7. if listexists 'Chop'
  8. @pushlist 'Chop' 0x13fd //HeavyXbow
  9. @pushlist 'Chop' 0xf50 //Xbow
  10. @pushlist 'Chop' 0x13b2 //bow
  11. @pushlist 'Chop' 0x26c2 //Composite bow
  12. @pushlist 'Chop' 0x26c3 // repeating Crossbow
  13. @pushlist 'Chop' 0x27a5 // Yumi
  14. endif
  15. while skill 'Bowcraft' < 120
  16. // get wood
  17. if not @findtype 0x1bd7 0 'backpack' 100 0
  18. usetype '0x176b' '88' 'backpack'
  19. waitforgump 173511501 15000
  20. replygump 0xa57934d 1
  21. waitforgump 173511501 15000
  22. replygump 0xa57934d 0
  23. pause 500
  24. if not @findtype 0x1bd7 0 'backpack' 100 0
  25. stop
  26. endif
  27. endif
  28. // 2Bow 9Crossbow 23 Composite Bow 16 Heavy Crossbow 30 Repeating Crossbow
  29. // 37 Yumi
  30. if skill 'Bowcraft' >= 30 and skill 'Bowcraft' < 60
  31. replygump 0x38920abd 2
  32. waitforgump 949095101 15000
  33. elseif skill 'Bowcraft' >= 60 and skill 'Bowcraft' < 70
  34. replygump 0x38920abd 9
  35. waitforgump 949095101 15000
  36. elseif skill 'Bowcraft' >= 70 and skill 'Bowcraft' < 80
  37. replygump 0x38920abd 23
  38. waitforgump 949095101 15000
  39. elseif skill 'Bowcraft' >= 80 and skill 'Bowcraft' < 90
  40. replygump 0x38920abd 16
  41. waitforgump 949095101 15000
  42. elseif skill 'Bowcraft' >= 90 and skill 'Bowcraft' < 100
  43. replygump 0x38920abd 30
  44. waitforgump 949095101 15000
  45. elseif skill 'Bowcraft' >= 100 and skill 'Bowcraft' < 120
  46. replygump 0x38920abd 37
  47. waitforgump 949095101 15000
  48. endif
  49. if weight > 250
  50. for 0 to 'Chop'
  51. while @findtype Chop[] 0 'backpack'
  52. @setalias 'ToChop' 'found'
  53. replygump 0x38920abd 14
  54. waitfortarget 2000
  55. @target 'ToChop'
  56. waitforgump 0x38920abd 2000
  57. @unsetalias 'toChop'
  58. endwhile
  59. endfor
  60. endif
  61. endwhile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement