Advertisement
Cappelle

Fletching Slayers

Mar 18th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. if not @findalias 'slayerbag'
  2. promptalias 'slayerbag'
  3. endif
  4. if not @findalias 'Magicbag'
  5. promptalias 'Magicbag'
  6. endif
  7. if not @findobject 'Sell Bag'
  8. promptalias 'Sell Bag'
  9. endif
  10. if not hidden 'self' and skill 'hiding' >= '50'
  11. useskill 'hiding'
  12. endif
  13. if not @findtype '0x1022' 'any' 'backpack' 'any' '2'
  14. headmsg 'Need more tools!'
  15. stop
  16. endif
  17. @usetype '0x1022' 'any' 'backpack' '2'
  18. waitforgump 0x38920abd 15000
  19. replygump 0x38920abd 21
  20. pause 2000
  21. if @injournal 'crafted a slayer' 'system'
  22. @findtype '0xf50' 'any' 'backpack' '1' '2'
  23. moveitem 'found' 'slayerbag'
  24. ignoreobject 'found'
  25. clearjournal
  26. headmsg 'Slayer crafted!' 33
  27. pause 600
  28. else
  29. if @injournal 'magical properties' 'system'
  30. @findtype '0xf50' 'any' 'backpack' '1' '2'
  31. moveitem 'found' 'Magicbag'
  32. ignoreobject 'found'
  33. clearjournal
  34. headmsg 'Magic Bow crafted!' 33
  35. pause 600
  36. else
  37. @findtype '0xf50' 'any' 'backpack' '1' '2'
  38. moveitem 'found' 'Sell Bag'
  39. pause 200
  40. @ignoreobject 'found'
  41. endif
  42. endif
  43. while weight >= maxweight
  44. headmsg 'Time to Sell'
  45. sysmsg 'Time to Sell'
  46. stop
  47. endwhile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement