To install this script, download the following .txt file, open it in a plain text editor (like Notepad) and copy it into the Nexus reflex editor, under the Archives - Import XML section. When prompted, MERGE the file into your current archive. For more explicit step by step instructions, read the XML Importing and Exporting Manual.
DOWNLOAD NOW
This sipper will allow for health and mana sipping prioritization, as well as auto-moss eating, and the script also offers a pause function.
Syntax for using the script:
sipinstall - do this first to set the script up.
hh - toggles sipping prioritization.
pp - toggles the pause feature.
tr - toggles tracking of health and mana gains and losses.
The sipper is syncronysed by checking score - it will sip mana or health when either falls 300 below maximum, and it will eat moss when health or mana falls below 800 maximum. These values can be adjusted in the score trigger. After you've imported the script, search your settings for
the following trigger line:
{<}Health: {d:currenthealth}/{d} Mana: {d:currentmana}/{d}{>}
and replace the number values highlighted here:
#set maxhealth $2
#set maxmana $4
#set siphealth = $maxhealth-300
#set sipmana = $maxmana-300
#set mosshealth = $maxhealth-800
#set mossmana = $maxmana-800
with your preferred values.
The contents of the script are shown below, without XML tags.
Aliases
sipinstall #set healbalance 1
#set priority 1
#set tracking 0
#set mossbalance 1
score
#echo Improved sipper installed, enjoy.
hh
#if $priority {
#set priority 0
#echo [Vadi]: Swapped to mana priority.
} else {
#set priority 1
#echo [Vadi]: Swapped to health priority.}
pp
#if $paused {
#set paused 0
#echo [Vadi]: Unpaused.
} else {
#set paused 1
#echo [Vadi]: Paused.}
tr
#if $tracking {
#set tracking 0
#echo [Vadi]: Tracking disabled.
} else {
#set tracking 1
#echo [Vadi]: Tracking health and mana changes.}
Triggers
{<}Health: {d:currenthealth}/{d} Mana: {d:currentmana}/{d}{>}
#set maxhealth $2
#set maxmana $4
#set siphealth = $maxhealth-300
#set sipmana = $maxmana-300
#set mosshealth = $maxhealth-800
#set mossmana = $maxmana-800
If you want the sipper to sip and eat moss at different levels, change the numbers in the last 4 lines of the above trigger (300 and 800) to your preference.
{<}The elixir heals and soothes you.{>}
#set healbalance 0
#highlight green
{<}You feel your health and mana replenished.{>}
#set mossbalance 0
#highlight green
{<}You may drink another health or mana elixir.{>}
#set healbalance 1
#highlight green
{<}You may eat another bit of irid moss.{>}
#set mossbalance 1
#highlight green
{<}Your mind feels stronger and more alert.{>}
#set healbalance 0
#highlight green
{d}h, {d}m
#if $tracking {
#set healthdifference = $1 - $currenthealth
#set manadifference = $2 - $currentmana
#if $healthdifference<0 and $manadifference<0{
#echo ($healthdifference Health, $manadifference Mana)
} elsif $healthdifference>0 and $manadifference<0 {
#echo (+$healthdifference Health, $manadifference Mana)
} elsif $healthdifference<0 and $manadifference>0 {
#echo ($healthdifference Health, +$manadifference Mana)
} elsif $healthdifference>0 and $manadifference>0 {
#echo (+$healthdifference Health, +$manadifference Mana)
} elsif $healthdifference>0 {
#echo (+$healthdifference Health)
} elsif $manadifference>0 {
#echo (+$manadifference Mana)
} elsif $healthdifference<0 {
#echo ($healthdifference Health)
} elsif $manadifference<0 {
#echo ($manadifference Mana)}
}
#set currenthealth $1
#set currentmana $2
#if !$paused {
#if $healbalance=1 and $priority {
#if $currenthealth<$siphealth {
sip health
#set healbalance 0.5
} elsif $currentmana<$sipmana {
sip mana
#set healbalance 0.5
}
} elsif $healbalance=1 {
#if $currentmana<$sipmana {
sip mana
#set healbalance 0.5
} elsif $currenthealth<$siphealth {
sip health
#set healbalance 0.5
}
}
#if $mossbalance=1 and ($currenthealth<$mosshealth or $currentmana<$mossmana) {
outr moss
eat moss
#set mossbalance 0.5}
}
That's the end of the script.
(back to free scripts) |