Advertisement
kakel_anders

UOS - Repairbench-filler

Feb 2nd, 2022
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. ///Repairbench filler///
  2. // - By kakel_anders (Player - UOG:Demise) - //
  3. //////////////////////////////
  4. // SOME CONFIG FURTHER DOWN //
  5. //////////////////////////////
  6. unsetalias 'repairbench'
  7. unsetalias 'resourcebag'
  8. removelist 'repairtool'
  9. ///
  10. ///
  11. createlist 'repairtool'
  12. pushlist 'repairtool' '0x1eb8' //Tinker's tool
  13. pushlist 'repairtool' '0x13e3' //Smith's hammer
  14. pushlist 'repairtool' '0x102a' //Hammer
  15. pushlist 'repairtool' '0xf9d' //Sewingkit
  16. pushlist 'repairtool' '0x1022' //Arrow fletching
  17. ///
  18. ///
  19. msg 'Target the repairbench'
  20. promptalias 'repairbench'
  21. msg 'Target bag with blank scrolls'
  22. promptalias 'resourcebag'
  23. ///
  24. ///
  25. for 0 to repairtool
  26. ////////////////////////////////////
  27. ////////////////////////////////////
  28. // How many charges per type would you like to refill??
  29. // Change "5" to desired amount ////
  30. for 0 to 5
  31. ////////////////////////////////////
  32. ////////////////////////////////////
  33. usetype 'repairtool[]' 'any' 'backpack'
  34. waitforgump 0x38920abd 15000
  35. replygump 0x38920abd 42
  36. pause 1200
  37. targettype! 0xef3 'any' 'backpack'
  38. pause 1200
  39. if counttype 0xef3 'any' 'backpack' < 10
  40. movetype 0xef3 'resourcebag' 'backpack' (0 0 0) 'any' '50'
  41. pause 1000
  42. endif
  43. endfor
  44. endfor
  45. // - Fill repairbench
  46. useobject repairbench
  47. waitforgump 0xf398b1ff 15000
  48. replygump 0xf398b1ff 100
  49. //while findtype 0x14f0 'any' 'backpack'
  50. // targettype! 0x14f0 'any' 'backpack'
  51. target! 'backpack'
  52. // pause 500
  53. //endwhile
  54. pause 500
  55. msg 'Done!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement