Page 1 of 1

[UOSteam] Alamiester's PitcherFiller v0.1

Posted: Mon Nov 13, 2017 6:57 pm
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