Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- //better cure/heal + refresh drinker
- //by baddie
- //1.0
- //
- @cancelautotarget
- @canceltarget
- @cleartargetqueue
- @clearuseonce
- @clearusequeue
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement