[UOSteam] Alamiester's PitcherFiller 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 PitcherFiller v0.1

Post by Alamiester »

Code: Select all

//[UOSteam] Alamiesters PitcherFiller v0.1
//make sure you are next to a water trough,  and have the pitchers you wanna fill in your pack.  dont forget to check the loop box.

if not @findobject 'WaterTrough' and not inrange 'WaterTrough' '2'
  promptalias 'WaterTrough'
endif
if @inrange 'WaterTrough' '2'
  if not @findtype! '0xff6' '0' 'backpack'
    sysmsg '*****No Empty Pitchers*****' '2165'
    stop
  else
    @usetype! '0xff6' '0' 'backpack'
    pause 500
    @target! 'WaterTrough'
    pause 1000
  endif
  sysmsg '*****Pitcher Filled*****' '2165'
endif
@canceltarget!
if not @inrange 'WaterTrough' '2'
  headmsg 'Get closer to the Water Trough...'
  stop
endif
Post Reply