[UOSteam] Alamiester's Runic Toolhouse Filler V0.1

If you make a Client-side script you can publish it here for other players to use
Post Reply
User avatar
Alamiester
Legendary Scribe
Posts: 279
Joined: Wed Jan 04, 2017 8:49 pm

[UOSteam] Alamiester's Runic Toolhouse Filler V0.1

Post by Alamiester »

Code: Select all

//[UOSteam] Alamiester's Runic Toolhouse Filler v0.1
//16APR2018
@removelist 'runictoolhouse'
@clearlist 'runictoolhouse'
@clearjournal
if not listexists 'runictoolhouse'
  createlist 'runictoolhouse'
endif
@pushlist 'runictoolhouse' '0xf9d'   //sewing kit
@pushlist 'runictoolhouse' '0x1034'  //carpentry saw
@pushlist 'runictoolhouse' '0x1022'  //arrow fletching
@pushlist 'runictoolhouse' '0x1eb8'  //tinker tool kit
@pushlist 'runictoolhouse' '0x13e3'  //blacksmith hammer
for 0 to runictoolhouse
  while @findtype 'runictoolhouse[]'
    @setalias 'runictools' 'found'
    if not @injournal 'cannot hold' 'system'
      pause 300
      @usetype '0x22c4' '88' 'backpack' '2'
      waitforgump 810195827 500
      @replygump 0x304a9b73 999
      waitforgump 810195827 500
      waitfortarget 500
      @target! 'found'
    else
      sysmsg 'That type of tool is full!' 24
      stop
    endif
  endwhile
  pause 300
  @replygump 0x304a9b73 0
endfor
@canceltarget
@removelist 'runictoolhouse'
@clearlist 'runictoolhouse'
@unsetalias 'runictools'
@unsetalias 'found'
@clearjournal
sysmsg 'Done with Runic Tool House.'
Post Reply