Advertisement
SilvertigerL_C

Tailor Trainer

Apr 20th, 2018
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. ////////////////////////////////////
  2. // Uses a sewing kit. This //
  3. // macro is designed for //
  4. // training tailoring from 30. //
  5. // //
  6. // Turn on loop and click play! //
  7. // //
  8. // ~~Made by kdivers~~ //
  9. ////////////////////////////////////
  10. if not @findalias 'tailor restock'
  11. promptalias 'tailor restock'
  12. endif
  13. //cloth
  14. if @counttype 0x1766 0x0 'backpack' < 20
  15. movetype 0x1766 'tailor restock' 'backpack' 0 0 0 0x0 150
  16. pause 1000
  17. endif
  18. //leather
  19. if @counttype 0x1081 'any' 'backpack' < 20
  20. movetype 0x1081 'tailor restock' 'backpack' 0 0 0 'any' 150
  21. pause 1000
  22. endif
  23. //ingots
  24. if @counttype 0x1bf2 0x0 'backpack' < 20
  25. movetype 0x1bf2 'tailor restock' 'backpack' 0 0 0 0x0 100
  26. pause 1000
  27. endif
  28. while @counttype 0x1eb8 0 'backpack' < 2
  29. usetype! 0x1eb8
  30. pause 600
  31. replygump 0x38920abd 8
  32. pause 600
  33. replygump 0x38920abd 23
  34. endwhile
  35. while @counttype 0xf9d 0 'backpack' < 2
  36. usetype 0x1eb8 0x0 'backpack'
  37. pause 600
  38. replygump 0x38920abd 44
  39. pause 600
  40. endwhile
  41. if skill 'Tailoring' < 30
  42. headmsg "Buy skill from an NPC!"
  43. stop
  44. elseif skill 'Tailoring' < 41.4
  45. if usetype 0xf9d 0x0 'backpack'
  46. replygump 0x38920abd 15
  47. pause 600
  48. replygump 0x38920abd 2
  49. pause 600
  50. if usetype 0xf9f 0x0 'backpack'
  51. waitfortarget 2000
  52. @targettype! 0x152e 0x0 'backpack'
  53. endif
  54. endif
  55. elseif skill 'Tailoring' < 54 and skill 'tailoring' >= 41.4
  56. if usetype 0xf9d 0x0 'backpack'
  57. pause 600
  58. replygump 0x38920abd 8
  59. pause 600
  60. replygump 0x38920abd 51
  61. pause 600
  62. if usetype 0xf9f 0x0 'backpack'
  63. waitfortarget 4000
  64. @targettype! 0x1515 0x0 'backpack'
  65. endif
  66. endif
  67. elseif skill 'Tailoring' < 74.6 and skill 'tailoring' >= 54
  68. if usetype 0xf9d 0x0 'backpack'
  69. pause 600
  70. replygump 0x38920abd 8
  71. pause 600
  72. replygump 0x38920abd 58
  73. pause 600
  74. if usetype 0xf9f 0x0 'backpack'
  75. waitfortarget 4000
  76. @targettype! 0x1f03 0x0 'backpack'
  77. endif
  78. endif
  79. elseif skill 'Tailoring' < 99 and skill 'tailoring' >= 74.6
  80. if usetype 0xf9d 0x0 'backpack'
  81. pause 600
  82. replygump 0x38920abd 22
  83. pause 600
  84. replygump 0x38920abd 23
  85. pause 600
  86. if difweight < 20
  87. if usetype 0xf9f 0x0 'backpack'
  88. waitfortarget 2000
  89. @targettype! 0x175d 0x7d1 'backpack'
  90. endif
  91. endif
  92. endif
  93. elseif skill 'tailoring' < 120 and skill 'tailoring' >= 99
  94. if usetype 0xf9d 0x0 'backpack'
  95. pause 600
  96. replygump 0x38920abd 43
  97. pause 600
  98. replygump 0x38920abd 44
  99. pause 600
  100. while @findtype 0x27c7 'any' 'backpack'
  101. usetype 0xf9f 0x0 'backpack'
  102. pause 600
  103. @targettype! 0x27c7 'any' 'backpack'
  104. endwhile
  105. endif
  106. else
  107. headmsg 'Tailoring complete!'
  108. stop
  109. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement