Advertisement
Guest User

Slayer katana

a guest
Dec 2nd, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. if not findalias 'slayerbag'
  2. promptalias 'slayerbag'
  3. endif
  4. if not hidden 'self'
  5. useskill 'hiding'
  6. endif
  7. if listexists 'slayertype'
  8. clearlist 'slayertype'
  9. else
  10. createlist 'slayertype'
  11. endif
  12. //0xf5e broadsword
  13. //0x13ff katana
  14. //0xf4b double axe
  15. //0x1403 short spear
  16. //0xf49 axe
  17. //0x1401 kryss
  18. //0x1439 war hammer
  19. //0x1407 war mace
  20. //0xf47 battle axe
  21. //==========CHANGE THIS============
  22. pushlist 'slayertype' 0x13ff
  23. //==========CHANGE THIS============
  24. @usetype 0xfbb 0x0 'backpack'
  25. waitforgump 0x38920abd 30000
  26. replygump 0x38920abd 21
  27. pause 2000
  28. if @injournal 'crafted a slayer' 'system'
  29. @findtype slayertype[0] 0x0 'backpack'
  30. moveitem 'found' 'slayerbag'
  31. ignoreobject 'found'
  32. clearjournal
  33. sysmsg 'Slayer crafted!' 33
  34. pause 600
  35. else
  36. @findtype slayertype[0] 0x0 'backpack'
  37. @usetype 0xfbb 0x0 'backpack'
  38. waitforgump 0x38920abd 30000
  39. replygump 0x38920abd 14
  40. waitfortarget 30000
  41. @Target! 'found'
  42. pause 600
  43. endif
  44. if counttype slayertype[0] 'any' 'backpack' > 0
  45. headmsg 'EXTRA WEAPON CRAFTED'
  46. stop
  47. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement