UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

Emptying Kegs

Ortiz

Sorceror
Anyone have a sxript that will do this? I have a bunch I need to empty and I dont feel like doing so many by clicking.
 

Sevenz

Wanderer
Maybe this will work? It is late and I may have missed something. Put keg and bottles in your back pack, press play.
Code:
if not findalias 'Keg'
  headmsg 'Choose Keg to empty'
  promptalias 'Keg'
endif
clearjournal
pause 250
if @property 'The Keg is Empty' 'Keg'
  headmsg 'Keg is already empty'
  @unsetalias 'Keg'
  Stop
else
  while not @injournal 'keg is now empty'
    useobject 'Keg'
    pause 250
    if not @property 'The Keg is Empty' 'Keg' and not @findtype 0xf0e 0 'backpack' 'any'
      headmsg 'Need more bottles'
      @unsetalias 'Keg'
      Stop
    endif
  endwhile
  @unsetalias 'Keg'
endif
 
Top