baddie's Better Drinkers - you push the button, and it **does the fucking thing**

baddie

Master
no more "you must wait..." errors and button spamming. you push the button, and the thing you want to happen, happens. smart scripts that check your statuses and max stats, and formatted to accommodate for uo's action limits and inevitable errors.

(except heal pot drinker, might still wanna spam for that if youre running over corpses or something..)
Code:
//
//better cure/heal + refresh drinker
//optimized for warriors. mages should delete the sections marked below
//warriors that delete those sections are nubs
//by baddie
//1.0
//
@clearusequeue
@clearuseonce
pause 25
if @findlayer 'self' 2
@setalias 'hot weapon' 'found'
while @findlayer 'self' 2
@clearusequeue
@clearuseonce
@moveitem! 'hot weapon' 'backpack'
pause 700
endwhile
//
if poisoned 'self'
while poisoned 'self'
if @findtype 0xf07 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink GreaterCurePotion'
pause 700
else
headmsg 'OUT!!! of Cure potions' 33
break
endif
endwhile
else
if @findtype 0xf0c 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink GreaterHealPotion'
pause 700
else
headmsg 'OUT!!! of Heal potions' 33
break
endif
endif
//
//optional refresh drinker because you might as well anyway
//delete or // the lines to disable
// \/ \/ \/
while stam < maxstam
if @findtype 0xf0b 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink TotalRefreshPotion'
pause 700
else
headmsg 'OUT!!! of Stamina potions' 33
break
endif
endwhile
// /\ /\ /\
//
while not @findlayer 'self' 2
@clearusequeue
@clearuseonce
equipitem 'hot weapon' 2
pause 700
endwhile
else
if poisoned 'self'
while poisoned 'self'
if @findtype 0xf07 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink GreaterCurePotion'
pause 700
else
headmsg 'OUT!!! of Cure potions' 33
break
endif
endwhile
else
if @findtype 0xf0c 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink GreaterHealPotion'
pause 700
else
headmsg 'OUT!!! of Heal potions' 33
break
endif
endif
//
//optional refresh drinker because you might as well anyway
//delete or // the lines to disable
// \/ \/ \/
while stam < maxstam
if @findtype 0xf0b 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink TotalRefreshPotion'
pause 700
else
headmsg 'OUT!!! of Stamina potions' 33
break
endif
endwhile
// /\ /\ /\
//
//
endif

Code:
//
//triple buff drinker
//str to 120, dex to 120, then stam up
//change those numbers if you ain't 100/25/100
//by baddie
//1.0
//
@clearusequeue
@clearuseonce
if @findlayer 'self' 2
@setalias 'hot weapon' 'found'
while @findlayer 'self' 2
@clearusequeue
@clearuseonce
@moveitem! 'hot weapon' 'backpack'
pause 700
endwhile
//
while str < 120
if @findtype 0xf09 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink GreaterStrengthPotion'
pause 700
else
headmsg 'OUT!!! of STR potions' 33
break
endif
endwhile
while dex < 120
if @findtype 0xf08 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink GreaterAgilityPotion'
pause 700
else
headmsg 'OUT!!! of DEX potions' 33
break
endif
endwhile
while stam < maxstam
if @findtype 0xf0b 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink TotalRefreshPotion'
pause 700
else
headmsg 'OUT!!! of Stamina potions' 33
break
endif
endwhile
//
while not @findlayer 'self' 2
@clearusequeue
@clearuseonce
equipitem 'hot weapon' 2
pause 700
endwhile
//
//
//
else
while str < 120
if @findtype 0xf09 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink GreaterStrengthPotion'
pause 700
else
headmsg 'OUT!!! of STR potions' 33
break
endif
endwhile
while dex < 120
if @findtype 0xf08 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink GreaterAgilityPotion'
pause 700
else
headmsg 'OUT!!! of DEX potions' 33
break
endif
endwhile
while stam < maxstam
if @findtype 0xf0b 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink TotalRefreshPotion'
pause 700
else
headmsg 'OUT!!! of Stamina potions' 33
break
endif
endwhile
endif

Code:
//
//refresh drinker
//built in "get out of my damn way" auto chug
//if you run over someone right after drinking, it will drink another again right away, allowing you to push through crowds
//delete pause 700 on line 26 and 44 if for some weird reason you don't want this
//by baddie
//1.0
//
@clearusequeue
@clearuseonce
if stam < maxstam
if @findlayer 'self' 2
@setalias 'hot weapon' 'found'
while @findlayer 'self' 2
@clearusequeue
@clearuseonce
@moveitem! 'hot weapon' 'backpack'
pause 700
endwhile
//
while stam < maxstam
if @findtype 0xf0b 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink TotalRefreshPotion'
pause 700
else
headmsg 'OUT!!! of Stamina potions' 33
break
endif
endwhile
while not @findlayer 'self' 2
@clearusequeue
@clearuseonce
equipitem 'hot weapon' 2
pause 700
endwhile
else
while stam < maxstam
if @findtype 0xf0b 0 'backpack'
@clearusequeue
@clearuseonce
msg '[drink TotalRefreshPotion'
pause 700
else
headmsg 'OUT!!! of Stamina potions' 33
break
endif
endwhile
endif
else
headmsg '-Stamina full!-' 33
endif

1 like = 1 prayer for the troops.
all the troops.
both sides.
 
Last edited:
Top