[UO Steam] AutoAdd tools to Tool House

If you make a Client-side script you can publish it here for other players to use
Locked
ben.wade
Passer by
Posts: 4
Joined: Tue Feb 16, 2016 4:02 pm

[UO Steam] AutoAdd tools to Tool House

Post by ben.wade »

Hello fellow players, here is my first contribution to the forum.

If you're lazy like me, you'll like this. A macro to automatic add tools to tool house. I added all the tools I could to the list, if you need any tool not listed, just add a '@pushlist 'tools' ' line with the type needed and you're set.

Code: Select all

if not listexists 'tools'
  createlist 'tools'
endif
@pushlist 'tools' '0xf9d' // sewing kit
@pushlist 'tools' '0xfbf' // scriber's pen
@pushlist 'tools' '0xe9b' // mortar
@pushlist 'tools' '0x1022' //fletcher
@pushlist 'tools' '0xf47' // battle axe
@pushlist 'tools' '0x13e4' // smith hammer
@pushlist 'tools' '0xf39' // regular shovel
@pushlist 'tools' '0xe86' // pickaxe (same for gargs)
@pushlist 'tools' '0xfb4' // prospector tool
@pushlist 'tools' '0xf45' // gargoyles axe
@pushlist 'tools' '0x13f6' // garg knife
@pushlist 'tools' '0x1034' // saw
@pushlist 'tools' '0x97f' // skillet
@pushlist 'tools' '0x1373' // brush
@pushlist 'tools' '0x1eb8' // tinker tools
for 0 to tools
  while @findtype 'tools[]'
    @setalias 'tool' 'found'
    usetype '0x22c4'
    waitforgump 1297613246 15000
    replygump 0x4d5801be 21
    waitforgump 1297613246 15000
    waitfortarget 15000
    @target 'tool'
    waitforgump 1297613246 15000
  endwhile
endfor
replygump 0x4d5801be 0
canceltarget
sysmsg 'No more tools. All done.'
Locked