Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///Repairbench filler///
- // - By kakel_anders (Player - UOG:Demise) - //
- //////////////////////////////
- // SOME CONFIG FURTHER DOWN //
- //////////////////////////////
- unsetalias 'repairbench'
- unsetalias 'resourcebag'
- removelist 'repairtool'
- ///
- ///
- createlist 'repairtool'
- pushlist 'repairtool' '0x1eb8' //Tinker's tool
- pushlist 'repairtool' '0x13e3' //Smith's hammer
- pushlist 'repairtool' '0x102a' //Hammer
- pushlist 'repairtool' '0xf9d' //Sewingkit
- pushlist 'repairtool' '0x1022' //Arrow fletching
- ///
- ///
- msg 'Target the repairbench'
- promptalias 'repairbench'
- msg 'Target bag with blank scrolls'
- promptalias 'resourcebag'
- ///
- ///
- for 0 to repairtool
- ////////////////////////////////////
- ////////////////////////////////////
- // How many charges per type would you like to refill??
- // Change "5" to desired amount ////
- for 0 to 5
- ////////////////////////////////////
- ////////////////////////////////////
- usetype 'repairtool[]' 'any' 'backpack'
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 42
- pause 1200
- targettype! 0xef3 'any' 'backpack'
- pause 1200
- if counttype 0xef3 'any' 'backpack' < 10
- movetype 0xef3 'resourcebag' 'backpack' (0 0 0) 'any' '50'
- pause 1000
- endif
- endfor
- endfor
- // - Fill repairbench
- useobject repairbench
- waitforgump 0xf398b1ff 15000
- replygump 0xf398b1ff 100
- //while findtype 0x14f0 'any' 'backpack'
- // targettype! 0x14f0 'any' 'backpack'
- target! 'backpack'
- // pause 500
- //endwhile
- pause 500
- msg 'Done!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement