Rauros2006-11-13 07:35:21
Reposting a full version of a previous script I posted a long time ago. If anyone talented in mushclient or other clients wants to translate it, feel free to.
Directions:
1. To use, type "CHPL", then after the list of potions displays, type "PRINT" to print a display of your held potions. If any of your vials are close to decaying (i.e. below a threshold you set), it will show you how many.
2. Set the variable LOWLIFE_MIN to however many months you want the script to you which vials are close to decaying.
3. Set the variable PURSE to your preferred container.
4. The command "LOWLIFE" will turn on a special script that will put away any potions below the @LOWLIFE_MIN threshold. (Mainly useful for those with a Purse, to halve vial decay on vials close to decaying)
#CLASS {Potions List} {enable}
#ALIAS chpl {
  #var healing_sips 0
  #var healing_potions 0
  #var healing_lowlife 0
  #var healing_lowsips 0
  #var mana_sips 0
  #var mana_potions 0
  #var mana_lowlife 0
  #var mana_lowsips 0
  #var bromide_lowlife 0
  #var bromide_sips 0
  #var bromide_potions 0
  #var bromide_lowsips 0
  #var frost_sips 0
  #var frost_potions 0
  #var frost_lowlife 0
  #var frost_lowsips 0
  #var fire_sips 0
  #var fire_potions 0
  #var fire_lowlife 0
  #var fire_lowsips 0
  #var mending_sips 0
  #var mending_potions 0
  #var mending_lowlife 0
  #var mending_lowsips 0
  #var sanguine_sips 0
  #var sanguine_potions 0
  #var sanguine_lowlife 0
  #var sanguine_lowsips 0
  #var phlegmatic_sips 0
  #var phlegmatic_potions 0
  #var phlegmatic_lowlife 0
  #var phlegmatic_lowsips 0
  #var liniment_sips 0
  #var liniment_potions 0
  #var liniment_lowlife 0
  #var liniment_lowsips 0
  #var choleric_sips 0
  #var choleric_potions 0
  #var choleric_lowlife 0
  #var choleric_lowsips 0
  #var love_sips 0
  #var love_potions 0
  #var love_lowlife 0
  #var love_lowsips 0
  #var quicksilver_sips 0
  #var quicksilver_potions 0
  #var quicksilver_lowlife 0
  #var quicksilver_lowsips 0
  #var regen_sips 0
  #var regen_potions 0
  #var regen_lowlife 0
  #var regen_lowsips 0
  #var antidote_sips 0
  #var antidote_potions 0
  #var antidote_lowlife 0
  #var antidote_lowsips 0
  #var vitae_sips 0
  #var vitae_potions 0
  #var vitae_lowlife 0
  #var vitae_lowsips 0
  #var allheale_sips 0
  #var allheale_potions 0
  #var allheale_lowlife 0
  #var allheale_lowsips 0
  #var melancholic_sips 0
  #var melancholic_potions 0
  #var melancholic_lowlife 0
  #var melancholic_lowsips 0
  config pagelength 150
  pl
  config pagelength 30
  }
#ALIAS print {
  #echo ==========================================================
  #echo ==== Your stock of potions currently contains:
  #echo ==== @healing_potions healing / @healing_sips sips. - - - @phlegmatic_potions phlegmatic / @phlegmatic_sips sips.
  #echo ==== @mana_potions mana / @mana_sips sips. - - - - @choleric_potions choleric / @choleric_sips sips.
  #echo ==== @bromide_potions bromides / @bromide_sips sips. - - - @love_potions love / @love_sips sips.
  #echo ==== @fire_potions fire / @fire_sips sips. - - - - - @quicksilver_potions quicksilver / @quicksilver_sips sips.
  #echo ==== @frost_potions frost / @frost_sips sips. - - - - @regen_potions regen / @regen_sips sips.
  #echo ==== @mending_potions mending / @mending_sips sips. - - - @antidote_potions antidote / @antidote_sips sips.
  #echo ==== @sanguine_potions sanguine / @sanguine_sips sips. - - - @vitae_potions vitae / @vitae_sips sips.
  #echo ==== @liniment_potions liniment / @liniment_sips sips. - - - @allheale_potions allheale / @allheale_sips sips.
  #echo ==== @melancholic_potions melancholic / @melancholic_sips sips.
  #echo ====
  #if (@healing_lowlife>0) {#echo ==== @healing_lowlife health vials containing @healing_lowsips sips are about to decay.}
  #if (@mana_lowlife>0) {#echo ==== @mana_lowlife mana vials containing @mana_lowsips sips are about to decay.}
  #if (@bromide_lowlife>0) {#echo ==== @bromide_lowlife bromide vials containing @bromide_lowsips sips are about to decay.}
  #if (@frost_lowlife>0) {#echo ==== @frost_lowlife frost vials containing @frost_lowsips sips are about to decay.}
  #if (@fire_lowlife>0) {#echo ==== @fire_lowlife fire vials containing @fire_lowsips sips are about to decay.}
  #if (@mending_lowlife>0) {#echo ==== @mending_lowlife mending vials containing @mending_lowsips sips are about to decay.}
  #if (@sanguine_lowlife>0) {#echo ==== @sanguine_lowlife sanguine vials containing @sanguine_lowsips sips are about to decay.}
  #if (@phlegmatic_lowlife>0) {#echo ==== @phlegmatic_lowlife phlegmatic vials containing @phlegmatic_lowsips sips are about to decay.}
  #if (@liniment_lowlife>0) {#echo ==== @liniment_lowlife liniment vials containing @liniment_lowsips sips are about to decay.}
  #if (@choleric_lowlife>0) {#echo ==== @choleric_lowlife choleric vials containing @choleric_lowsips sips are about to decay.}
  #if (@love_lowlife>0) {#echo ==== @love_lowlife love vials containing @love_lowsips sips are about to decay.}
  #if (@quicksilver_lowlife>0) {#echo ==== @quicksilver_lowlife quicksilver vials containing @quicksilver_lowsips sips are about to decay.}
  #if (@regen_lowlife>0) {#echo ==== @regen_lowlife regen vials containing @regen_lowsips sips are about to decay.}
  #if (@melancholic_lowlife>0) {#echo ==== @melancholic_lowlife melancholic vials containing @melancholic_lowsips sips are about to decay.}
  #if (@antidote_lowlife>0) {#echo ==== @antidote_lowlife antidote vials containing @antidote_lowsips sips are about to decay.}
  #if (@vitae_lowlife>0) {#echo ==== @vitae_lowlife vitae vials containing @vitae_lowsips sips are about to decay.}
  #if (@allheale_lowlife>0) {#echo ==== @allheale_lowlife allheale vials containing @allheale_lowsips sips are about to decay.}
  #echo ==========================================================
  }
#ALIAS lowlife {
  #if (@lowlife_toggle) {
    #var lowlife_toggle 0
    #echo Lowlife Off
    } {
    #var lowlife_toggle 1
    #echo Lowlife On
    }
  }
#VAR mana_sips {232}
#VAR mana_potions {5}
#VAR bromide_sips {318}
#VAR bromide_potions {7}
#VAR healing_sips {401}
#VAR healing_potions {9}
#VAR healing_lowlife {0}
#VAR mana_lowlife {0}
#VAR bromide_lowlife {0}
#VAR mana_lowsips {0}
#VAR healing_lowsips {0}
#VAR bromide_lowsips {0}
#VAR lowlife_toggle {0}
#VAR lowlife_min {20}
#VAR fire_sips {142}
#VAR fire_potions {3}
#VAR fire_lowlife {0}
#VAR fire_lowsips {0}
#VAR frost_sips {145}
#VAR frost_potions {3}
#VAR frost_lowlife {0}
#VAR frost_lowsips {0}
#VAR mending_sips {237}
#VAR mending_potions {5}
#VAR mending_lowlife {0}
#VAR mending_lowsips {0}
#VAR allheale_sips {142}
#VAR allheale_potions {3}
#VAR allheale_lowlife {0}
#VAR allheale_lowsips {0}
#VAR liniment_sips {50}
#VAR liniment_potions {1}
#VAR liniment_lowlife {0}
#VAR liniment_lowsips {0}
#VAR sanguine_sips {50}
#VAR sanguine_potions {1}
#VAR sanguine_lowlife {0}
#VAR sanguine_lowsips {0}
#VAR phlegmatic_sips {50}
#VAR phlegmatic_potions {1}
#VAR phlegmatic_lowlife {0}
#VAR phlegmatic_lowsips {0}
#VAR choleric_sips {50}
#VAR choleric_potions {1}
#VAR choleric_lowlife {0}
#VAR choleric_lowsips {0}
#VAR love_sips {50}
#VAR love_potions {1}
#VAR love_lowlife {0}
#VAR love_lowsips {0}
#VAR quicksilver_sips {250}
#VAR quicksilver_potions {5}
#VAR quicksilver_lowlife {0}
#VAR quicksilver_lowsips {0}
#VAR regen_sips {150}
#VAR regen_potions {3}
#VAR regen_lowlife {0}
#VAR regen_lowsips {0}
#VAR antidote_sips {50}
#VAR antidote_potions {1}
#VAR antidote_lowlife {0}
#VAR antidote_lowsips {0}
#VAR vitae_sips {95}
#VAR vitae_potions {2}
#VAR vitae_lowlife {0}
#VAR vitae_lowsips {0}
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of bromides%s(%d)%s(%d)} {
  #add bromide_sips %2
  #add bromide_potions 1
  #if (%3<@lowlife_min) {
    #add bromide_lowlife 1
    #add bromide_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of frost%s(%d)%s(%d)} {
  #add frost_sips %2
  #add frost_potions 1
  #if (%3<@lowlife_min) {
    #add frost_lowlife 1
    #add frost_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of fire%s(%d)%s(%d)} {
  #add fire_sips %2
  #add fire_potions 1
  #if (%3<@lowlife_min) {
    #add fire_lowlife 1
    #add fire_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa mending salve%s(%d)%s(%d)} {
  #add mending_sips %2
  #add mending_potions 1
  #if (%3<@lowlife_min) {
    #add mending_lowlife 1
    #add mending_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of allheale%s(%d)%s(%d)} {
  #add allheale_sips %2
  #add allheale_potions 1
  #if (%3<@lowlife_min) {
    #add allheale_lowlife 1
    #add allheale_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sliniment%s(%d)%s(%d)} {
  #add liniment_sips %2
  #add liniment_potions 1
  #if (%3<@lowlife_min) {
    #add liniment_lowlife 1
    #add liniment_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa sanguine purgative%s(%d)%s(%d)} {
  #add sanguine_sips %2
  #add sanguine_potions 1
  #if (%3<@lowlife_min) {
    #add sanguine_lowlife 1
    #add sanguine_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa phlegmatic purgati%s(%d)%s(%d)} {
  #add phlegmatic_sips %2
  #add phlegmatic_potions 1
  #if (%3<@lowlife_min) {
    #add phlegmatic_lowlife 1
    #add phlegmatic_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa choleric purgative%s(%d)%s(%d)} {
  #add choleric_sips %2
  #add choleric_potions 1
  #if (%3<@lowlife_min) {
    #add choleric_lowlife 1
    #add choleric_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa love potion%s(%d)%s(%d)} {
  #add love_sips %2
  #add love_potions 1
  #if (%3<@lowlife_min) {
    #add love_lowlife 1
    #add love_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%squicksilver%s(%d)%s(%d)} {
  #add quicksilver_sips %2
  #add quicksilver_potions 1
  #if (%3<@lowlife_min) {
    #add quicksilver_lowlife 1
    #add quicksilver_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa regeneration salve%s(%d)%s(%d)} {
  #add regen_sips %2
  #add regen_potions 1
  #if (%3<@lowlife_min) {
    #add regen_lowlife 1
    #add regen_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%san antidote potion%s(%d)%s(%d)} {
  #add antidote_sips %2
  #add antidote_potions 1
  #if (%3<@lowlife_min) {
    #add antidote_lowlife 1
    #add antidote_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%selixir vitae%s(%d)%s(%d)} {
  #add vitae_sips %2
  #add vitae_potions 1
  #if (%3<@lowlife_min) {
    #add vitae_lowlife 1
    #add vitae_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of healing%s(%d)%s(%d)} {
  #ADD healing_sips %2
  #ADD healing_potions 1
  #if (%3<@lowlife_min) {
    #add healing_lowlife 1
    #add healing_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of mana%s(%d)%s(%d)} {
  #ADD mana_sips %2
  #ADD mana_potions 1
  #if (%3<@lowlife_min) {
    #add melancholic_lowlife 1
    #add melancholic_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa melancholic purgat%s(%d)%s(%d)} {
  #ADD melancholic_sips %2
  #ADD melancholic_potions 1
  #if (%3<@lowlife_min) {
    #add melancholic_lowlife 1
    #add melancholic_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#CLASS 0
Directions:
1. To use, type "CHPL", then after the list of potions displays, type "PRINT" to print a display of your held potions. If any of your vials are close to decaying (i.e. below a threshold you set), it will show you how many.
2. Set the variable LOWLIFE_MIN to however many months you want the script to you which vials are close to decaying.
3. Set the variable PURSE to your preferred container.
4. The command "LOWLIFE" will turn on a special script that will put away any potions below the @LOWLIFE_MIN threshold. (Mainly useful for those with a Purse, to halve vial decay on vials close to decaying)
CODE
#CLASS {Potions List} {enable}
#ALIAS chpl {
  #var healing_sips 0
  #var healing_potions 0
  #var healing_lowlife 0
  #var healing_lowsips 0
  #var mana_sips 0
  #var mana_potions 0
  #var mana_lowlife 0
  #var mana_lowsips 0
  #var bromide_lowlife 0
  #var bromide_sips 0
  #var bromide_potions 0
  #var bromide_lowsips 0
  #var frost_sips 0
  #var frost_potions 0
  #var frost_lowlife 0
  #var frost_lowsips 0
  #var fire_sips 0
  #var fire_potions 0
  #var fire_lowlife 0
  #var fire_lowsips 0
  #var mending_sips 0
  #var mending_potions 0
  #var mending_lowlife 0
  #var mending_lowsips 0
  #var sanguine_sips 0
  #var sanguine_potions 0
  #var sanguine_lowlife 0
  #var sanguine_lowsips 0
  #var phlegmatic_sips 0
  #var phlegmatic_potions 0
  #var phlegmatic_lowlife 0
  #var phlegmatic_lowsips 0
  #var liniment_sips 0
  #var liniment_potions 0
  #var liniment_lowlife 0
  #var liniment_lowsips 0
  #var choleric_sips 0
  #var choleric_potions 0
  #var choleric_lowlife 0
  #var choleric_lowsips 0
  #var love_sips 0
  #var love_potions 0
  #var love_lowlife 0
  #var love_lowsips 0
  #var quicksilver_sips 0
  #var quicksilver_potions 0
  #var quicksilver_lowlife 0
  #var quicksilver_lowsips 0
  #var regen_sips 0
  #var regen_potions 0
  #var regen_lowlife 0
  #var regen_lowsips 0
  #var antidote_sips 0
  #var antidote_potions 0
  #var antidote_lowlife 0
  #var antidote_lowsips 0
  #var vitae_sips 0
  #var vitae_potions 0
  #var vitae_lowlife 0
  #var vitae_lowsips 0
  #var allheale_sips 0
  #var allheale_potions 0
  #var allheale_lowlife 0
  #var allheale_lowsips 0
  #var melancholic_sips 0
  #var melancholic_potions 0
  #var melancholic_lowlife 0
  #var melancholic_lowsips 0
  config pagelength 150
  pl
  config pagelength 30
  }
#ALIAS print {
  #echo ==========================================================
  #echo ==== Your stock of potions currently contains:
  #echo ==== @healing_potions healing / @healing_sips sips. - - - @phlegmatic_potions phlegmatic / @phlegmatic_sips sips.
  #echo ==== @mana_potions mana / @mana_sips sips. - - - - @choleric_potions choleric / @choleric_sips sips.
  #echo ==== @bromide_potions bromides / @bromide_sips sips. - - - @love_potions love / @love_sips sips.
  #echo ==== @fire_potions fire / @fire_sips sips. - - - - - @quicksilver_potions quicksilver / @quicksilver_sips sips.
  #echo ==== @frost_potions frost / @frost_sips sips. - - - - @regen_potions regen / @regen_sips sips.
  #echo ==== @mending_potions mending / @mending_sips sips. - - - @antidote_potions antidote / @antidote_sips sips.
  #echo ==== @sanguine_potions sanguine / @sanguine_sips sips. - - - @vitae_potions vitae / @vitae_sips sips.
  #echo ==== @liniment_potions liniment / @liniment_sips sips. - - - @allheale_potions allheale / @allheale_sips sips.
  #echo ==== @melancholic_potions melancholic / @melancholic_sips sips.
  #echo ====
  #if (@healing_lowlife>0) {#echo ==== @healing_lowlife health vials containing @healing_lowsips sips are about to decay.}
  #if (@mana_lowlife>0) {#echo ==== @mana_lowlife mana vials containing @mana_lowsips sips are about to decay.}
  #if (@bromide_lowlife>0) {#echo ==== @bromide_lowlife bromide vials containing @bromide_lowsips sips are about to decay.}
  #if (@frost_lowlife>0) {#echo ==== @frost_lowlife frost vials containing @frost_lowsips sips are about to decay.}
  #if (@fire_lowlife>0) {#echo ==== @fire_lowlife fire vials containing @fire_lowsips sips are about to decay.}
  #if (@mending_lowlife>0) {#echo ==== @mending_lowlife mending vials containing @mending_lowsips sips are about to decay.}
  #if (@sanguine_lowlife>0) {#echo ==== @sanguine_lowlife sanguine vials containing @sanguine_lowsips sips are about to decay.}
  #if (@phlegmatic_lowlife>0) {#echo ==== @phlegmatic_lowlife phlegmatic vials containing @phlegmatic_lowsips sips are about to decay.}
  #if (@liniment_lowlife>0) {#echo ==== @liniment_lowlife liniment vials containing @liniment_lowsips sips are about to decay.}
  #if (@choleric_lowlife>0) {#echo ==== @choleric_lowlife choleric vials containing @choleric_lowsips sips are about to decay.}
  #if (@love_lowlife>0) {#echo ==== @love_lowlife love vials containing @love_lowsips sips are about to decay.}
  #if (@quicksilver_lowlife>0) {#echo ==== @quicksilver_lowlife quicksilver vials containing @quicksilver_lowsips sips are about to decay.}
  #if (@regen_lowlife>0) {#echo ==== @regen_lowlife regen vials containing @regen_lowsips sips are about to decay.}
  #if (@melancholic_lowlife>0) {#echo ==== @melancholic_lowlife melancholic vials containing @melancholic_lowsips sips are about to decay.}
  #if (@antidote_lowlife>0) {#echo ==== @antidote_lowlife antidote vials containing @antidote_lowsips sips are about to decay.}
  #if (@vitae_lowlife>0) {#echo ==== @vitae_lowlife vitae vials containing @vitae_lowsips sips are about to decay.}
  #if (@allheale_lowlife>0) {#echo ==== @allheale_lowlife allheale vials containing @allheale_lowsips sips are about to decay.}
  #echo ==========================================================
  }
#ALIAS lowlife {
  #if (@lowlife_toggle) {
    #var lowlife_toggle 0
    #echo Lowlife Off
    } {
    #var lowlife_toggle 1
    #echo Lowlife On
    }
  }
#VAR mana_sips {232}
#VAR mana_potions {5}
#VAR bromide_sips {318}
#VAR bromide_potions {7}
#VAR healing_sips {401}
#VAR healing_potions {9}
#VAR healing_lowlife {0}
#VAR mana_lowlife {0}
#VAR bromide_lowlife {0}
#VAR mana_lowsips {0}
#VAR healing_lowsips {0}
#VAR bromide_lowsips {0}
#VAR lowlife_toggle {0}
#VAR lowlife_min {20}
#VAR fire_sips {142}
#VAR fire_potions {3}
#VAR fire_lowlife {0}
#VAR fire_lowsips {0}
#VAR frost_sips {145}
#VAR frost_potions {3}
#VAR frost_lowlife {0}
#VAR frost_lowsips {0}
#VAR mending_sips {237}
#VAR mending_potions {5}
#VAR mending_lowlife {0}
#VAR mending_lowsips {0}
#VAR allheale_sips {142}
#VAR allheale_potions {3}
#VAR allheale_lowlife {0}
#VAR allheale_lowsips {0}
#VAR liniment_sips {50}
#VAR liniment_potions {1}
#VAR liniment_lowlife {0}
#VAR liniment_lowsips {0}
#VAR sanguine_sips {50}
#VAR sanguine_potions {1}
#VAR sanguine_lowlife {0}
#VAR sanguine_lowsips {0}
#VAR phlegmatic_sips {50}
#VAR phlegmatic_potions {1}
#VAR phlegmatic_lowlife {0}
#VAR phlegmatic_lowsips {0}
#VAR choleric_sips {50}
#VAR choleric_potions {1}
#VAR choleric_lowlife {0}
#VAR choleric_lowsips {0}
#VAR love_sips {50}
#VAR love_potions {1}
#VAR love_lowlife {0}
#VAR love_lowsips {0}
#VAR quicksilver_sips {250}
#VAR quicksilver_potions {5}
#VAR quicksilver_lowlife {0}
#VAR quicksilver_lowsips {0}
#VAR regen_sips {150}
#VAR regen_potions {3}
#VAR regen_lowlife {0}
#VAR regen_lowsips {0}
#VAR antidote_sips {50}
#VAR antidote_potions {1}
#VAR antidote_lowlife {0}
#VAR antidote_lowsips {0}
#VAR vitae_sips {95}
#VAR vitae_potions {2}
#VAR vitae_lowlife {0}
#VAR vitae_lowsips {0}
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of bromides%s(%d)%s(%d)} {
  #add bromide_sips %2
  #add bromide_potions 1
  #if (%3<@lowlife_min) {
    #add bromide_lowlife 1
    #add bromide_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of frost%s(%d)%s(%d)} {
  #add frost_sips %2
  #add frost_potions 1
  #if (%3<@lowlife_min) {
    #add frost_lowlife 1
    #add frost_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of fire%s(%d)%s(%d)} {
  #add fire_sips %2
  #add fire_potions 1
  #if (%3<@lowlife_min) {
    #add fire_lowlife 1
    #add fire_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa mending salve%s(%d)%s(%d)} {
  #add mending_sips %2
  #add mending_potions 1
  #if (%3<@lowlife_min) {
    #add mending_lowlife 1
    #add mending_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of allheale%s(%d)%s(%d)} {
  #add allheale_sips %2
  #add allheale_potions 1
  #if (%3<@lowlife_min) {
    #add allheale_lowlife 1
    #add allheale_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sliniment%s(%d)%s(%d)} {
  #add liniment_sips %2
  #add liniment_potions 1
  #if (%3<@lowlife_min) {
    #add liniment_lowlife 1
    #add liniment_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa sanguine purgative%s(%d)%s(%d)} {
  #add sanguine_sips %2
  #add sanguine_potions 1
  #if (%3<@lowlife_min) {
    #add sanguine_lowlife 1
    #add sanguine_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa phlegmatic purgati%s(%d)%s(%d)} {
  #add phlegmatic_sips %2
  #add phlegmatic_potions 1
  #if (%3<@lowlife_min) {
    #add phlegmatic_lowlife 1
    #add phlegmatic_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa choleric purgative%s(%d)%s(%d)} {
  #add choleric_sips %2
  #add choleric_potions 1
  #if (%3<@lowlife_min) {
    #add choleric_lowlife 1
    #add choleric_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa love potion%s(%d)%s(%d)} {
  #add love_sips %2
  #add love_potions 1
  #if (%3<@lowlife_min) {
    #add love_lowlife 1
    #add love_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%squicksilver%s(%d)%s(%d)} {
  #add quicksilver_sips %2
  #add quicksilver_potions 1
  #if (%3<@lowlife_min) {
    #add quicksilver_lowlife 1
    #add quicksilver_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa regeneration salve%s(%d)%s(%d)} {
  #add regen_sips %2
  #add regen_potions 1
  #if (%3<@lowlife_min) {
    #add regen_lowlife 1
    #add regen_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%san antidote potion%s(%d)%s(%d)} {
  #add antidote_sips %2
  #add antidote_potions 1
  #if (%3<@lowlife_min) {
    #add antidote_lowlife 1
    #add antidote_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%selixir vitae%s(%d)%s(%d)} {
  #add vitae_sips %2
  #add vitae_potions 1
  #if (%3<@lowlife_min) {
    #add vitae_lowlife 1
    #add vitae_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of healing%s(%d)%s(%d)} {
  #ADD healing_sips %2
  #ADD healing_potions 1
  #if (%3<@lowlife_min) {
    #add healing_lowlife 1
    #add healing_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa potion of mana%s(%d)%s(%d)} {
  #ADD mana_sips %2
  #ADD mana_potions 1
  #if (%3<@lowlife_min) {
    #add melancholic_lowlife 1
    #add melancholic_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#TRIGGER {(%d)%s{a|an} %w vial%sa melancholic purgat%s(%d)%s(%d)} {
  #ADD melancholic_sips %2
  #ADD melancholic_potions 1
  #if (%3<@lowlife_min) {
    #add melancholic_lowlife 1
    #add melancholic_lowsips %2
    } {#if (@lowlife_toggle) {put %1 in @purse}}
  }
#CLASS 0