Difference between revisions of "Monty's CMud settings"

From AvatarWiki
Jump to navigation Jump to search
Line 18: Line 18:
  
 
----
 
----
 +
 +
Feel free to send a note to 'Monty Chrom Mant Kaliepos Barkhound' with suggestions or requests.
  
 
<pre>
 
<pre>

Revision as of 19:14, 7 February 2013

The following are just about all the settings that I use currently.

Things to remember:

1. 'promptset' is required to use many of these triggers

2. There are toggle buttons at the top set up as gauges for certain triggersets.

3. the variable @charnames must be set in order for login triggers to function properly

4. 'reset' before each run. If your character has not reset before, counters will not function correctly.

5. c id typhus, if you want status to update Charges left in status bar.

6. the class "Spunj" under "group" is used for kill triggers and entering portals and going to sanc with the tank and/or leader.

USE AT YOUR OWN RISK.


Feel free to send a note to 'Monty Chrom Mant Kaliepos Barkhound' with suggestions or requests.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <caption>Drako</caption>
  <packages>English Directions|English Keypad|AvatarBot</packages>
  <class name="Altlist" copy="yes">
    <var name="charnames" type="StringList" copy="yes">
      <json>[]</json>
    </var>
    <var name="thelog" type="Record" copy="yes">
      <json>{}</json>
    </var>
    <trigger priority="3740" newline="false" prompt="true" copy="yes">
      <pattern>^What name shall you be known by, adventurer?</pattern>
      <value>#var logging 1 0
#var meverified 0
#var spamlist "o:1"
#var thelog2 @thelog
#var highestalt 0
#var highalt ""
#loop %numwords( @charnames, "|") {
  #var highestalt 0
  #loopdb @thelog2 {#if %val>@highestalt {
      #var highestalt %val
      #var highalt %key
      } {}}
  #additem spamlist @highalt
  #delkey thelog2 @highalt
  }
#loop %numwords( @charnames, "|") {#if %ismember( %word( @charnames, %i, "|")) {} {#additem spamlist %word( @charnames, %i, "|")}}
#var thelog2 @thelog
#loop %numwords( @spamlist, "|") {#if %word( @spamlist, %i, "|")=%lower( @me) {#var spamlist %lower( %replaceitem( *@me, %i, @spamlist))} {}}
#var logchar %pick( %replaceitem( %word( @spamlist, 2, "|"), 2, @spamlist))
#if %iskey( @thelog, @logchar) {#addkey thelog @logchar %eval( %db( @thelog, @logchar)+1)} {#addkey thelog @logchar 1}
@logchar
#var logged 2 0
#name %proper( @logchar)</value>
    </trigger>
    <var name="spamlist" type="StringList" copy="yes">
      <json>[]</json>
    </var>
    <var name="thelog2" type="Record" copy="yes"/>
    <var name="highestalt" copy="yes"/>
    <var name="highalt" copy="yes"/>
    <var name="logchar" copy="yes"/>
    <var name="logged" usedef="true" copy="yes">
      <default>0</default>
    </var>
    <trigger priority="2980" newline="false" prompt="true" copy="yes">
      <pattern>^Your Password:</pattern>
      <value>#send %prompt("","Password:","*")
#gag
#var logging 0 0
#send " "
#send " "
#send " "
#send " "</value>
    </trigger>
  </class>
  <class name="login" copy="yes">
    <trigger priority="3040" copy="yes">
      <pattern>Welcome back to the AVATAR System &me, hope you get beyond level %d today!</pattern>
      <value>#echo @me
#send whois @me</value>
    </trigger>
    <trigger priority="3050" copy="yes">
      <pattern>Welcome back to the AVATAR System, %w &me%p</pattern>
      <value>#echo @me
#send whois @me</value>
    </trigger>
  </class>
  <var name="me" copy="yes">Drako</var>
  <trigger priority="212" prompt="true" copy="yes">
    <pattern><![CDATA[^&flags%s{-|}&curhp~/&maxhp%s{-|}&curmana~/&maxmana%s{-|}&curmv~/&maxmv%s&curgold%s&tnl~*{-|}&curmonhp~/&maxmonhp~*(&curxp)xpz~]&positio~<&lagcount~>$]]></pattern>
    <value><![CDATA[#gag
#if @gupdate=2 {#var gupdate 0
#echo Autoupdated} {}
#var meleed 0
#T+ channels
#var rescuecheck 0
#if @rescuenowlist="" {} {#if @rescuenow=1 {#echo %ansi(green,bright)Rescue~[%ansi(red,bright)@rescuenowlist%ansi(green,bright)~]} {}}
#var rescuenow 0
#var rescuenowlist ""
#if @autosaver=2 {
  #var autosaver 0
  #var needcheck 0
  } {#if @needcheck=1 {
    #var needcheck 0
    #if @needing="" {} {#echo %ansi( green, bright)Missing~[%ansi( red, bright)@needing%ansi( green, bright)~]}
    } {}}
#if @threncheck>0 {
  #echo @threncheck currently threnning.
  #var threncheck 0
  } {}
#if @lagcounting=0 {#var position @positio} {}
#var groupcount 0
#forall @groupie {#if %ismember( %i, @groupies) {} {#ad groupcount 1}}
#if %numitems(@groupie)=%numitems(@groupies) {} {#var groupcount 1}
#if (@groupcount>0) {#if @someones=0 {#var groupies ""} {}} {}
#if (@groupies="") {groupiescheck} {}
#var bchecking 0 0
#var diffgold %eval( @curgold-@lastgold)
#if @statchecking=1 {
  #var statchecking 0
  statusspam
  } {}
#var lastgold @curgold
#if @ggave=1 {
  #if @diffgold=0 {#if @gambling>0 {
      #var givenpeople ""
      #loopdb @goldgiven {
        #additem givenpeople %key
        #delkey goldgiven %key
        }
      say Gold given and received amount different.  Someone emoted~(~|br~|%replace( @givenpeople, "|", ", ")~|n~|~).
      } {}} {}
  #var ggave 0
  #var gtarg ""
  } {}
#if @curmana=@maxmana {#if @fletchbot=2 {
    #var fletchbot 1
    wake
    fletch '@fletchtype2' @fletchtype
    } {}} {}
#if @logged=2 {#var logged 3} {}
#if @misscheck=2 {
  #if (%numwords( @missing, "|")>=1) {
    gt |bw|Missing~[~|br~|%numwords( @missing, "|")~|bw~|~]~:~|bc~|%replace( @missing, "|", ", ")~|n~|
    #if @someones>0 {gt ~|bw~|There were ~|bp~|@someones~|bw~| someone's in the group. Possible someone's~[~|br~|@someonelist~|bw~|~]~|n~|} {}
    } {gt |bp|Everyone|bw| is in the room.|n|}
  #var misscheck 0 0
  } {}
#if @nottank=2 {
  #var tank %pick( "p:Who's the tank?", "o:1", @groupies)
  #var nottank 0 0
  } {}
#if @groupcheck=2 {#var groupcheck 3 0} {}
#if @botting>0 {#if @botvial=2 {
  #var botvial 0 0
  #if @vialcount>0 {
    get 'vial healing quest' urn
    give 'vial healing quest' @vialperson
    } {
    t @vialperson Sorry, I'm all out of vials.
    forget %1
    }
  sl
  } {}} {}
#if (@botting=1 OR @bottransferring=1) {#if @hsed=0 {
    #var hsed 1 0
    #if %iskey( @botqueue, @me) {} {botchecking @me hs}
    } {}} {}
#if (@portaling=2) {
  #var portaling 3 0
  #if (@pexists=1) {#if @critical=1 {
      #var critical 0 0
      t @ppp Critical failure! Sealing..
      forget @ppp
      c seal @pty
      save
      } {
      t @ppp There was an existing @pty.  Sealing..
      forget @ppp
      c seal @pty
      save
      }} {
    c @pty @ppt
    save
    sl
    }
  } {}
#var promptgag 1 0
#var flags %left( @flags, %len( @flags)-1)
#math racialtnl @tnl+@curxp
#if @lagcount>0 {
  #if @lagcount>@lagcounting {#mat lagmax @lagcount*10} {}
  #mat lagcounting @lagcount*10
  } {#var lagcounting 0}
#if @curhp>@lasthp {#echo ~+%eval( @curhp-@lasthp)~hp} {}
#if @curmana>@lastmana {#echo ~+%eval( @curmana-@lastmana)~mana} {}
#if @curhp<@lasthp {#echo ~-%eval( @lasthp-@curhp)~hp} {}
#if @curmana<@lastmana {#echo ~-%eval( @lastmana-@curmana)~mana} {}
#var lasthp @curhp
#var lastmana @curmana
#if @maxhp>10000 {#var hpperc %eval( @curhp/(@maxhp/100))} {#var hpperc %eval( (@curhp*100)/@maxhp)}
#if @maxmana>10000 {#var manaperc %eval( @curmana/(@maxmana/100))} {#var manaperc %eval( (@curmana*100)/@maxmana)}]]></value>
  </trigger>
  <var name="flags" copy="yes"/>
  <var name="curhp" copy="yes">918</var>
  <var name="maxhp" copy="yes">918</var>
  <var name="curmana" copy="yes">1404</var>
  <var name="maxmana" copy="yes">1404</var>
  <var name="curmv" copy="yes">560</var>
  <var name="maxmv" copy="yes">560</var>
  <var name="curgold" copy="yes">964</var>
  <var name="tnl" copy="yes">8331</var>
  <var name="curmonhp" copy="yes">-</var>
  <var name="maxmonhp" copy="yes">-</var>
  <var name="curxp" copy="yes">1669</var>
  <var name="lagcount" copy="yes">0</var>
  <var name="promptgag" usedef="true" copy="yes">
    <value>1</value>
    <default>0</default>
  </var>
  <var name="racialtnl" copy="yes">10000</var>
  <var name="lagcounting" copy="yes">0</var>
  <var name="lasthp" copy="yes">918</var>
  <var name="lastmana" copy="yes">1404</var>
  <var name="hpperc" copy="yes">100</var>
  <var name="manaperc" copy="yes">100</var>
  <stat priority="520" copy="yes">
    <value>@flags [%eval(%db(@xpdb,@me)-%db(@fleddb,@me)) ~exp][Charges Left: @chargesleft]</value>
  </stat>
  <trigger name="lagcounter" type="Alarm" priority="2970" copy="yes">
    <pattern>-.5</pattern>
    <value><![CDATA[#if @sendtime>0 {#math sendtime @sendtime-5} {}
#loopdb @doubledipped {#if %eval( %val-5)<=0 {
    #echo %key removed from doubledip list.
    #delkey doubledipped %key
    } {#addkey doubledipped %key %eval( %val-5)}}
#if @logging=1 {} {#math autosavecount @autosavecount-5}
#if @autosavecount<0 {
  #var autosave  %random( 75, 90)
  #var autosavecount @autosave*10
  #var autosavemax @autosave*10
  } {}
#if @lagcounting>0 {#mat lagcounting @lagcounting-5} {}
#if @fletchlag>0 {#math fletchlag @fletchlag-5} {}
#if @lagcounting=0 {} {}
#if @autosave=1 {#var autosavecounter %eval( @autosavecounter-5)} {}
#if @vodseconds>0 {
  #var vodseconds %eval( @vodseconds-5) 00
  #if @vodseconds=5 {#var vodseconds 05 00} {}
  #if @vodseconds=0 {
    #var vodseconds 00 00
    #if @vodcount>0 {
      #var vodcount %eval( @vodcount-1)
      #var vodseconds 600 00
      } {}
    } {}
  } {}]]></value>
  </trigger>
  <var name="lagmax" copy="yes">30</var>
  <class name="Channels" copy="yes">
    <trigger priority="610" ansi="true" trigontrig="false" copy="yes">
      <pattern>^{%e[1m|%e[35m}~((%w)~) (%*)</pattern>
      <value>#file 1 C:\AvLogs\Lord%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)~(%1~) %stripansi(%2)
#close 1
#cap Lordchat</value>
    </trigger>
    <trigger priority="640" trigontrig="false" copy="yes">
      <pattern>^(%w)~> (%*)$</pattern>
      <value>#file 1 C:\AvLogs\Hero%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)%1> %stripansi(%2)
#close 1
#cap Herochat</value>
    </trigger>
    <trigger priority="660" trigontrig="false" copy="yes">
      <pattern>^You dream of (%w) telling you '(%*)'$</pattern>
      <value>#sub {%ansi(purple)(%time( aaa [mm/dd/eeee] hh:mm:ss))From:[%1] %2}
#file 1 C:\AvLogs\Tells%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)You dream of %1 telling you '%stripansi(%2)'
#close 1
#cap Tells
#if %lower(%word(%2,1))="ms" {#if %word(%2,2)="" {probabilities 0 %1} {probabilities %word(%2,2) %1 %word(%2,3)}} {}
#if @bottransferring=1 {
  t %1 Sorry, I was switching planes when you sent that command~:~|by~|%2~|n~|
  forget %1
  } {}
#if @botting=0 {#exit} {}
#var theword1 %word( %lower( %2), 1, " ")
#if %lower( %1)="someone" {} {#if @botting>0 {
    #if %len( @theword1)<2 {#if %ismember( @theword1, "1|2|3|4") {} {
        t %1 Sorry, most commands require atleast 2 characters.
        forget %1
        #exit
        }} {}
    #if %begins( "threnody", %word( %lower( %2), 1, " ")) {
      t %1 Sorry, but threnody can no longer be requested manually.
      forget %1
      #exit
      } {}
    #if %begins( "salvation", %word( %lower( %2), 1, " ")) {
      t %1 Sorry, but salvation can no longer be requested manually.
      forget %1
      #exit
      } {}
    botchecking %1 %2
    } {}}</value>
    </trigger>
    <trigger priority="670" trigontrig="false" copy="yes">
      <pattern>^(%w) tells you '(%*)'$</pattern>
      <value>#sub {%ansi(purple)(%time( aaa [mm/dd/eeee] hh:mm:ss))From:[%1] %2}
#file 1 C:\AvLogs\Tells%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)%1 tells you '%stripansi(%2)'
#close 1
#cap Tells
#if %lower(%word(%2,1))="ms" {#if %word(%2,2)="" {probabilities 0 %1} {probabilities %word(%2,2) %1 %word(%2,3)}} {}
#if @bottransferring=1 {
  t %1 Sorry, I was switching planes when you sent that command~:~|by~|%2~|n~|
  forget %1
  } {}
#if @botting=0 {#exit} {}
#var theword1 %word( %lower( %2), 1, " ")
#if %lower( %1)="someone" {} {#if @botting>0 {
    #if %len( @theword1)<2 {#if %ismember( @theword1, "1|2|3|4") {} {
        t %1 Sorry, most commands require atleast 2 characters.
        forget %1
        #exit
        }} {}
    #if %begins( "threnody", %word( %lower( %2), 1, " ")) {
      t %1 Sorry, but threnody can no longer be requested manually.
      forget %1
    #exit
      } {} 
    #if %begins( "salvation", %word( %lower( %2), 1, " ")) {
      t %1 Sorry, but salvation can no longer be requested manually.
      forget %1
    #exit
      } {}
    botchecking %1 %2
    } {}}</value>
    </trigger>
    <trigger priority="680" trigontrig="false" copy="yes">
      <pattern>^You tell (%w) in your dreams '(%*)'$</pattern>
      <value>#file 1 C:\AvLogs\Tells%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)You tell %1 in your dreams '%stripansi(%2)'
#close 1
#sub {%ansi(purple)(%time(aaa [mm/dd/eeee] hh:mm:ss))To:[%1] %2}
#cap Tells</value>
    </trigger>
    <trigger priority="690" trigontrig="false" copy="yes">
      <pattern>^You tell (%w) '(%*)'$</pattern>
      <value>#file 1 C:\AvLogs\Tells%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)You tell %1 '%stripansi(%2)'
#close 1
#sub {%ansi(purple)(%time(aaa [mm/dd/eeee] hh:mm:ss))To:[%1] %2}
#cap Tells</value>
    </trigger>
    <trigger priority="1400" copy="yes">
      <pattern>^~[%w INFO~]~: %*$</pattern>
      <value>#cap INFO</value>
    </trigger>
    <trigger priority="1580" copy="yes">
      <pattern>^%1 ({n|})chat({s|}) '(%*)'$</pattern>
      <value>#file 1 C:\AvLogs\Chat%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)%1 %2chat%3 '%stripansi(%4)'
#close 1
#cap Chat</value>
    </trigger>
    <trigger priority="1640" copy="yes">
      <pattern>^(%w) is asleep, but you tell (%w) '(%*)'$</pattern>
      <value>#file 1 C:\AvLogs\Tells%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)%1 is asleep but you tell %2 '%stripansi(%3)'
#close 1
#sub {%ansi(purple)(%time(aaa [mm/dd/eeee] hh:mm:ss))To:[%1] %3}
#cap Tells</value>
    </trigger>
    <trigger priority="680" trigontrig="false" copy="yes">
      <pattern>^You dream of telling (%w) '(%*)'$</pattern>
      <value>#file 1 C:\AvLogs\Tells%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)You dream of telling %1 '%stripansi(%2)'
#close 1
#sub {%ansi(purple)(%time(aaa [mm/dd/eeee] hh:mm:ss))To:[%1] %2}
#cap Tells</value>
    </trigger>
    <class name="Colors" copy="yes">
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^~? (%*)</pattern>
        <value>#if @randoming=1 {
ask @randomize(@randomcap(%1))} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^< (%*)</pattern>
        <value>#if @randoming=1 {
lord @randomize(@randomcap(%1))} {}
#if @morsing=1 {lord ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^> (%*)</pattern>
        <value>#if @randoming=1 {
hero @randomize(@randomcap(%1))} {}
#if @morsing=1 {
hero ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^. (%*)</pattern>
        <value>#if @randoming=1 {
chat @randomize(@randomcap(%1))} {}
#if @morsing=1 {
chat ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^nc{h|ha|hat|} (%*)</pattern>
        <value>#if @randoming=1 {
~nchat @randomize(@randomcap(%1))} {}
#if @morsing=1 {
nchat ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^que{s|st|} (%*)</pattern>
        <value>#if @randoming=1 {
~quest @randomize(@randomcap(%1))} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^' (%*)</pattern>
        <value>#if @randoming=1 {
say @randomize(@randomcap(%1))} {}
#if @morsing=1 {
say ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" trigontrig="false" enabled="false" copy="yes">
        <pattern>^t{e|el|ell|} (%w) (%*)</pattern>
        <value>#if @randoming=1 {capalize %2;randomize @capvar;~tell %1 @randomvar} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" enabled="false" copy="yes">
        <pattern>^rep{l|ly|} (%*)</pattern>
        <value>#if %1="lock" {~reply lock} {#if @randoming=1 {capalize %1;randomize @capvar;~reply @randomvar} {}}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^ch{a|at|} (%*)</pattern>
        <value>#if @randoming=1 {
~chat @randomize(@randomcap(%1))} {}
#if @morsing=1 {~chat ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="2130" copy="yes">
        <pattern>^grt{z|} (%*)</pattern>
        <value>#if @randoming=1 {
~grtz @randomize(@randomcap(%1))} {}
#if @morsing=1 {
~grtz ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="4010" copy="yes">
        <pattern>^b{u|ud|udd|uddy|} (%*)</pattern>
        <value>#if @randoming=1 {
~buddy @randomize(@randomcap(%1))} {}
#if @morsing=1 {
~buddy ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="4070" copy="yes">
        <pattern>^gt{e|el|ell|} (%*)</pattern>
        <value>#if @randoming=1 {
~gtell @randomize(@randomcap(%1))} {}
#if @morsing=1 {~gtell ~|r~|@morse(%1)} {}</value>
      </trigger>
      <trigger type="Command Input" priority="4080" copy="yes">
        <pattern>^mu{s|si|sic|} (%*)</pattern>
        <value>#if @randoming=1 {
~music @randomize(@randomcap(%1))} {}</value>
      </trigger>
    </class>
    <trigger priority="7670" ansi="true" copy="yes">
      <pattern>^{%e[1m|%e[31m|%e[1;33m|%e[33m}~{%w~} %*$</pattern>
      <value>#cap Buddychat</value>
    </trigger>
    <trigger priority="670" trigontrig="false" copy="yes">
      <pattern>^(%w) tells you 'bark'$</pattern>
      <value>#if @barkon=1 {wake;c bark %1;sleep} {}</value>
    </trigger>
    <trigger priority="660" trigontrig="false" copy="yes">
      <pattern>^You dream of (%w) telling you 'bark'$</pattern>
      <value>#if @barkon=1 {wake;c bark %1;sleep} {}</value>
    </trigger>
  </class>
  <class name="Bot" copy="yes">
    <alias name="botspamm" autoappend="true" copy="yes">
      <value>t %1 ~|br~|playerinfo @me~|n~| for a list of spells.~(~|bw~|Partial commands accepted~|n~|~)
forget %1</value>
    </alias>
    <var name="botqueue" type="Record" copy="yes">
      <json>{}</json>
    </var>
    <var name="botspells" type="Record" copy="yes">
      <value>armor=3|fly=6|holy armor=22|holy aura=30|renewal=191|nexus=81|fortitudes=306|comfort=191|sanctuary=56|holies=58|invincibility=76|cure blindness=3|cure poison=3|remove curse=3|4=765|3=459|2=229|1=76|divinity=76|salvation=191|midgaard=382|cure disease=7|invigorate=34|barkskin=22|invis=3|threnody=95|magic light=5|frenzy=7|iron skin=15|portal=66|rejuvenate=68|giant strength=14|thorn=0|send=191|list=0|home=0|help=0|heal=38|full=1111|foci=299|awen=382|split=843|create shrine=1912|reset=0|water breathing=11|holy sight=15|bless=3|requiem=382</value>
      <json>{"armor":3,"fly":6,"holy armor":22,"holy aura":30,"renewal":191,"nexus":81,"fortitudes":306,"comfort":191,"sanctuary":56,"holies":58,"invincibility":76,"cure blindness":3,"cure poison":3,"remove curse":3,"4":765,"3":459,"2":229,"1":76,"divinity":76,"salvation":191,"midgaard":382,"cure disease":7,"invigorate":34,"barkskin":22,"invis":3,"threnody":95,"magic light":5,"frenzy":7,"iron skin":15,"portal":66,"rejuvenate":68,"giant strength":14,"thorn":0,"send":191,"list":0,"home":0,"help":0,"heal":38,"full":1111,"foci":299,"awen":382,"split":843,"create shrine":1912,"reset":0,"water breathing":11,"holy sight":15,"bless":3,"requiem":382}</json>
    </var>
    <alias name="botchecking" copy="yes">
      <value>#var bottarget ""
#var word1 %lower( %word( %0, 1, " "))
#var word2 %lower( %word( %0, 2, " "))
#var word3 %lower( %word( %0, 3, " "))
#var word4 %lower( %word( %0, 4, " "))
#var word5 %lower( %word( %0, 5, " "))
#var word6 %lower( %word( %0, 6, " "))
#var iscommand2 ""
#var iscommand 0 0
#loopdb @botspells {#if %begins( %key, %lower( @word2)) {
    #var iscommand 1 0
    #var iscommand2 %key
    } {}}
#if %ismember( @word2, "rc|cd|cp|cb|rc|pp|hs|shrine|gs|light") {
  #var iscommand 1 0
  #var iscommand2 %db( @botshorts, @word2)
  } {}
#if %iskey( @doubledipped, %1) {#if %ismember( @iscommand2, "full|split|holies|fortitudes|foci|invincibility|awen|barkskin|iron skin|water breathing|giant strength|holy sight|armor|holy armor|holy aura|bless|sanctuary|frenzy|fly") {
    t %1 Sorry, you must wait %format( 2, %eval( (%float( %db( @doubledipped, %1))/10)/60)) minutes before requesting another spellup.
    #exit
    } {}} {}
#if @iscommand2="barkskin" {#if %lower( @me)="kaliepos" {
    t %1 Sorry, I don't have barkskin.
    #var iscommand 0
    #var iscommand2 ""
    } {}} {}
#if ( @word2="de") {
  t %1 Sorry, druids don't get |bp|dark embrace|n|.
  forget %1
  #exit
  } {}
#if %begins( "dark embrace", @word2) {
  t %1 Sorry, druids don't get |bp|dark embrace|n|.
  forget %1
  #exit
  } {}
#if @iscommand2="create shrine" {#if @botlocation="Mid" {
    t %1 Sorry but this command only works on |br|Thorn|n|.
    forget %1
    #var iscommand 0 0
    #var iscommand2 ""
    } {}} {}
#if @iscommand2="reset" {
  res
  sl
  } {}
#if @iscommand2="send" {#if @sending=2 {#if %ismember( %lower( %1), @groupies) {#if @word3="" {
        t %1 Please include a plane arguement with that command.
        forget %1
        #var iscommand 0 0
        #var iscommand2 ""
        } {#if @word4="" {#var bottarget @word3} {#forall @groupies {#if (%begins( %i, @word3)) {#if (%lower( %i)=%lower( %1)) {#var bottarget @word4} {
                ~t %1 You cannot request a send for someone else(|bp|%i|n|).
                #var iscommand 0 0
                #var iscommand2 ""
                #var bottarget ""
                }} {}}}}} {
      t %1 Sorry, you're not in my group.
      forget %1
      #var iscommand 0 0
      #var iscommand2 ""
      }} {
    t %1 That's not available unless I'm grouped with your leader.
    forget %1
    #var iscommand 0 0
    #var iscommand2 ""
    }} {}
#if %ismember( @iscommand2, "help|list") {botspamm @word1} {}
#if %ismember( @iscommand2, "portal|nexus") {#if @botlocation="Thorn" {
    t %1 Sorry, but |bp|@iscommand2|n| doesn't work on |br|Thorn|n|.
    forget %1
    #var iscommand2 ""
    #var iscommand 0 0
    } {}} {}
#if %ismember( @iscommand2, "home|thorn") {#if @botlocation="Thorn" {
    t %1 Already on |bc|Thorn|n|!!
    forget %1
    #exit
    } {#if @botting=1 {#if @botqueue="" {
        title |n|Bot transferring to |bc|Thorn|n|
        #var botting 0 0
        #var bottransferring 1 0
        #var botlocation "Thorn"
        wak
        c home
        e
        e
        sl
        save
        #exit
        } {
        t %1 Sorry, people were still in queue when you sent that request for |bc|Thorn|n|.
        forget %1
        #exit
        }} {}}} {}
#if @iscommand2="midgaard" {
  #if @sending>1 {
    t %1 Sorry but that's not available while I'm in send mode.
    forget %1
    #var iscommand 0 0
    #var iscommand2 ""
    #exit
    } {}
  #if @botlocation="Mid" {
    t %1 Already on |bc|Mid|n|!!
    forget %1
    #exit
    } {#if @botting=1 {#if @botqueue="" {#if @curmana>382 {
          title |n|Bot transferring to |bc|Mid|n|
          #var botting 0 0
          #var bottransferring 1 0
          #var botlocation "Mid"
          wak
          c plane mid
          sanc
          d
          #if @hogmode=0 {w} {}
          sl
          save
          #exit
          } {
          t %1 Not enough mana.
          forget %1
          }} {
        t %1 Sorry, people were still in queue when you sent that request for |bc|@iscommand2|n|.
        forget %1
        #exit
        }} {}}
  } {}
#if %ismember( @iscommand2, "home|mid|thorn") {
  t %1 Sorry, I was spelling someone when you sent that request for |bc|@iscommand2|n|.
  forget %1
  #var iscommand 0 0
  #var iscommand2 ""
  } {}
#if %ismember( @iscommand2, "renewal|comfort|requiem|threnody|salvation") {#if @botlocation="Mid" {
    t %1 Sorry, but |bp|@iscommand2|n| only works on |br|Thorn|n|.
    forget %1
    #var iscommand2 ""
    #var iscommand 0 0
    } {}} {}
#if %ismember( @iscommand2, "requiem|threnody|salvation|portal|nexus") {#if @word3="" {#var bottarget %1} {#var bottarget %trim( @word3 @word4 @word5 @word6)}} {}
#if @botlocation="Mid" {#if @curmana<%db( @botspells, @iscommand2) {
    t %1 Not enough mana for |bp|@iscommand2|n|.
    forget %1
    #var iscommand 0 0
    #var iscommand2 ""
    #if @botqueue="" {} {
      #var nextperson %word( %dbkeys( @botqueue), 1, "|")
      #var nextcomm %db( @botqueue, @nextperson)
      #delkey botqueue %word( %dbkeys( @botqueue), 1, "|")
      botchecking @nextperson @nextcomm
      }
    } {}} {#if %ismember( @iscommand2, "1|2|3|4") {#if @curmana<%db( @lordspells, @iscommand2) {
      t %1 Not enough mana for |bp|@iscommand2|n|.
      forget %1
      #delkey botqueue %word( %dbkeys( @botqueue), 1, "|")
      #var iscommand 0 0
      #var iscommand2 ""
      #if @botqueue="" {} {
        #var nextperson %word( %dbkeys( @botqueue), 1, "|")
        #var nextcomm %db( @botqueue, @nextperson)
        #delkey botqueue %word( %dbkeys( @botqueue), 1, "|")
        botchecking @nextperson @nextcomm
        }
      } {}} {}}
#if @iscommand=1 {#if @botting=1 {
    #if %ismember( @iscommand2, "portal|nexus") {#var traveltarget @word3} {}
    botcast %1 @iscommand2 @bottarget
    } {#if @botting=0 {} {#if %iskey( @botqueue, %1) {
        t %1 You were already queued for |bp|%db( @botqueue, %1)|n|!  Command not processed:|by|%-2|n|.
        forget %1
        } {botqueue {%-1}}}}} {}
</value>
    </alias>
    <var name="lordspells" type="Record" copy="yes">
      <value>4=1912|3=1147|2=573|1=191</value>
      <json>{"4":1912,"3":1147,"2":573,"1":191}</json>
    </var>
    <alias name="botqueue" copy="yes">
      <value>#var wword1 %word(%0,1," ")
#var wword2 %word(%0,2," ")
#var wword3 %word(%0,3," ")
#var wword4 %word(%0,4," ")
#addkey botqueue @word1 {%trim(@wword2 @wword3 @wword4)}</value>
    </alias>
    <trigger priority="1030" trigontrig="false" copy="yes">
      <pattern>^AVATAR's Sanctum Infirmary$</pattern>
      <value>#if @botstart=1 {} {#if @botting>0 {#if @botlocation="Thorn" {title |n|Bot On[|bc|Mid|n|]|br| poke|n| for vials} {}} {}}
#var botlocation Mid
#var doubledip 0
#var nothere 0</value>
    </trigger>
    <trigger priority="1050" trigontrig="false" copy="yes">
      <pattern>^An arch of water$</pattern>
      <value>#if @botstart=1 {} {#if @botting>0 {#if @botlocation="Mid" {title |n|Bot On[|bc|Thorn|n|]|br| poke|n| for vials} {}} {}}
#var botlocation Thorn
#var doubledip 0
#var nothere 0
#var threncheck 0</value>
    </trigger>
    <alias name="botcast" copy="yes">
      <value>#echo [%1] [%2] [%3]
#if %ismember( %2, @botselfonly) {#if %3="" {
    #var botting 3 0
    #var currenttarget %1
    title |n|Bot CastLag[|bc|%2|n|]|br|%1
    wake
    #if %lower(%2)="barkskin" {#if @botlocation="Thorn" {~quicken 5} {}} {}
    c '%2' %1
    #if %lower(%2)="barkskin" {~quicken off} {}
    sl
    #EXIT
    } {
    t %1 Sorry but |by|%2|n| is not a targettable command.
    forget %1
    #var botting 1 0
    #if @botqueue="" {} {
      #var nextperson %word( %dbkeys( @botqueue), 1, "|")
      #var nextcomm %db( @botqueue, @nextperson)
      #delkey botqueue %word( %dbkeys( @botqueue), 1, "|")
      botchecking @nextperson @nextcomm
      }
    }} {}
#var currenttarget %1
#if %2="full" {
  title |n|Bot CastLag[|bc|%2|n|]|br|%1
  #var botting 3 0
  wake
  #if %lower(@me)="kaliepos" {} {c 'iron skin' %1}
  c 'holy sight' %1
  c barkskin %1
  c invinc %1
  c fort %1
  c foci %1
  c awen %1
  c water %1
  sl
  } {}
#if %2="split" {
  title |n|Bot CastLag[|bc|%2|n|]|br|%1
  wake
  #var botting 3 0
  #if %lower(@me)="kaliepos" {} {c 'iron skin' %1}
  c 'holy sight' %1
  c barkskin %1
  c invinc %1
  c armor %1
  c 'holy armor' %1
  c 'holy aura' %1
  c bless %1
  c fort %1
  c foci %1
  c water %1
  c sanc %1
  sl
  } {}
#if %2="holies" {
  #var botting 3 0
  title |n|Bot CastLag[|bc|%2|n|]|br|%1
  wake
  c armor %1
  c 'holy armor' %1
  c 'holy aura' %1
  c bless %1
  c sanc %1
  sl
  } {}
#if %ismember( %2, "portal|nexus") {
  title |n|Bot CastLag[|bc|%2|n|]|br|%1
  #var sport 0 0
  #var pexists 0 0
  #var portaling 1 0
  #var ppt %3
  #var ppp %1
  #var pty %2
  #var botting 2 0
  wake
  } {}
#if %ismember( %2, "salvation|threnody|requiem") {
  #var botting 3 0
  wake
  t %1 Casting |bp|%2|n| on |br|%3|n|.
  forget %1
  c %2 %3
  sl
  } {}
#if %2="send" {
  #var botting 3 0
  gt Sending |bc|%1|n| to |bp|%3|n|!
  wake
  c send %1 %3
  sl
  } {}
#if %ismember( %2, "divinity|comfort|1|2|3|4") {
  title |n|Bot CastLag[|bc|%2|n|]|br|%1
  #var botting 3 0
  wake
  #if %ismember( %2, "divinity|comfort") {c %2 %1} {}
  #if %ismember( %2, "1|2|3|4") {
    augment %2
    #if @botlocation="Mid" {c divinity %1} {c comfort %1}
    augment off
    } {}
  sl
  } {}
</value>
    </alias>
    <var name="botshorts" type="Record" copy="yes">
      <value>shrine=create shrine|light=magic light|rc=remove curse|pp=portal|hs=holy sight|gs=giant strength|cp=cure poison|cd=cure disease|cb=cure blindness</value>
      <json>{"shrine":"create shrine","light":"magic light","rc":"remove curse","pp":"portal","hs":"holy sight","gs":"giant strength","cp":"cure poison","cd":"cure disease","cb":"cure blindness"}</json>
    </var>
    <trigger priority="1090" copy="yes">
      <pattern>Character saved.</pattern>
      <value>#if @botting>0 {
  #if @pexists=1 {#if @portaling>0 {
      c @pty @ppt
      sl
      #var pexists 0 0
      } {}} {}
  #if @portaling=3 {#if @critical=1 {} {
      ~look
      #var portaling 4 0
      #var botting 3 0
      }} {}
  } {}</value>
    </trigger>
    <trigger priority="1100" copy="yes">
      <pattern>You sleep.</pattern>
      <value>#if @bottransferring=1 {
  #var bottransferring 0 0
  #var botting 1 0
  aff
  title |n|Bot On[|bc|@botlocation|n|]|br| poke|n| for vials
  } {}
#if @botting>0 {
  #if @botstart=1 {
    #var botstart 0 0
    title |n|Bot On[|bc|@botlocation|n|]|br| poke|n| for vials
    } {}
  #if @portaling=4 {
    #var portaling 0 0
    #if @sport=1 {
      t @ppp Successfully opened a |bp|@pty|n| to |br|@ppt|n|.
      forget @ppp
      } {
      t @ppp Your |bp|@pty|n| to |br|@ppt|n| was not successful.
      forget @ppp
      }
    } {}
  #if (@botting=3) {
    #var botting 1 0
    title |n|Bot On[|bc|@botlocation|n|]|br| poke|n| for vials
    #if @botqueue="" {} {
      #var nextperson %word( %dbkeys( @botqueue), 1, "|")
      #var nextcomm %db( @botqueue, @nextperson)
      #delkey botqueue %word( %dbkeys( @botqueue), 1, "|")
      botchecking @nextperson @nextcomm
      }
    } {}
  #if @critical=1 {
    #var portaling 1 0
    wake
    } {}
  } {}</value>
    </trigger>
    <var name="botselfonly" type="StringList" copy="yes">
      <value>armor|fly|holy armor|holy aura|renewal|fortitudes|sanctuary|invincibility|cure blindness|cure poison|remove curse|cure disease|invigorate|barkskin|invis|giant strength|frenzy|iron skin|rejuvenate|heal|foci|create shrine|water breathing|holy sight|bless|awen|magic light</value>
      <json>["armor","fly","holy armor","holy aura","renewal","fortitudes","sanctuary","invincibility","cure blindness","cure poison","remove curse","cure disease","invigorate","barkskin","invis","giant strength","frenzy","iron skin","rejuvenate","heal","foci","create shrine","water breathing","holy sight","bless","awen","magic light"]</json>
    </var>
    <class name="Port" copy="yes">
      <trigger priority="1170" copy="yes">
        <pattern>^     Shimmering with energy, a @pty to %* is here!</pattern>
        <value>#if @portaling>0 {#var pexists 1 0} {}</value>
      </trigger>
      <trigger priority="1170" copy="yes">
        <pattern>^     A magic @pty to %* is here%p</pattern>
        <value>#if @portaling>0 {#var pexists 1 0} {}</value>
      </trigger>
      <trigger priority="1370" copy="yes">
        <pattern>^~[Exits: %*~]$</pattern>
        <value>#if @portaling=1 {#var portaling 2 0} {}</value>
      </trigger>
      <trigger priority="1380" copy="yes">
        <pattern>^You've created a critical failure in your portal! Beware!$</pattern>
        <value>#var critical 1 0</value>
      </trigger>
    </class>
    <trigger priority="1440" copy="yes">
      <pattern>^You are affected by:</pattern>
      <value>#var hsed 0 0</value>
    </trigger>
    <trigger priority="1460" copy="yes">
      <pattern>^Spell: 'detect invis'  for %d hour{s|}.</pattern>
      <value>#if %iskey(@botqueue,%lower(@me)) {} {#var hsed 1 0}</value>
    </trigger>
    <class name="INFO" copy="yes">
      <trigger priority="1600" copy="yes">
        <pattern>^~[LORD INFO~]: (%w) initiates a Threnody dirge for corpse of (%w) in An arch of water.$</pattern>
        <value>#if @botting>0 {#if @botlocation="Thorn" {
botchecking %1 threnody %2} {}} {}</value>
      </trigger>
      <trigger priority="1600" copy="yes">
        <pattern>^~[LORD INFO~]: ({@groupies}) initiates a Send Ritual for ({@groupies}) to (%3).$</pattern>
        <value>#if %lower(%1)=%loweR(@me) {#exit} {}
#if @botting>0 {#if @sending=2 {botchecking %2 send %3} {}} {}</value>
      </trigger>
      <trigger priority="2050" copy="yes">
        <pattern>^~[LORD INFO~]: (%w) starts a Salvation rite for (%w) in An arch of water.$</pattern>
        <value>#if %lower(%1)=%loweR(@me) {#exit} {}
#if @botting>0 {#if @botlocation="Thorn" {
botchecking %1 salvation %2} {}} {}</value>
      </trigger>
      <trigger priority="4790" copy="yes">
        <pattern>^~[LORD INFO~]: %w finishes Threnody, moving corpse of (%w) to safety.</pattern>
        <value>#loopdb @botqueue {#if %lower( %delitem( "threnody", %replace( %val, " ", "|")))=%lower( %1) {
    t %key |br|Thren %1|n| cancelled due to completion.
    #delkey botqueue %key
    } {}}</value>
      </trigger>
      <trigger priority="7180" copy="yes">
        <pattern>^~[LORD INFO~]~: %w finishes the Send Ritual, moving (%w).</pattern>
        <value>#loopdb @botqueue {#if %lower( %delitem( "send", %replace( %val, " ", "|")))=%lower( %1) {
    t %key |br|Send %1|n| cancelled due to completion.
    #delkey botqueue %key
    } {}}</value>
      </trigger>
    </class>
    <trigger priority="1650" copy="yes">
      <pattern>^You punch a hole through the fabric of space, and a portal appears!$</pattern>
      <value>#var sport 1 0</value>
    </trigger>
    <trigger priority="1670" copy="yes">
      <pattern>^You force open a nexus in the planes!$</pattern>
      <value>#var sport 1 0</value>
    </trigger>
    <class name="Send" copy="yes">
      <trigger priority="1880" copy="yes">
        <pattern>^(%w) beckons for you to follow %w.$</pattern>
        <value>#if @botting=1 {#if @botlocation="Thorn" {#if @sending>1 {
      #var sendmin @sendtime/60
      t %1 Already following |bw|@sendleader|n| for another |br|%insert( ".", @sendmin, %len( @sendmin))|n| minutes.
      forget %1
      } {
      #var sendleader %1
      #var sending 1 0
      #var sendtime 3000
      rest
      fol %1
      sl
      #ALARM +300 {
        rest
        fol self
        sl
        #var sendleader ""
        #var sending 0 0
        }
      }} {
    t %1 Sorry, that only works on Thorn.
    forget %1
    }} {}</value>
      </trigger>
      <trigger priority="1960" copy="yes">
        <pattern>^You join (%w)'s group.$</pattern>
        <value><![CDATA[#if @sending=1 {#var sending 2 0
gt Groupies now have |bp|5|n| minutes to |br|t Barkhound send <plane>|n|.  Please ensure you're resting first.
gt |bc|%1|n| can now |br|gtell send <target> <plane>|n|.
gr} {}]]></value>
      </trigger>
      <trigger priority="2000" copy="yes">
        <pattern>(??)~|???%s%*%s(%w)%s%w%s(%d)/(%d)%s(%d)/(%d)%s(%d)/(%d)%s(%d)</pattern>
      </trigger>
      <trigger priority="2030" copy="yes">
        <pattern>^~*@leader~* tells the group 'send ({@groupies}) (%w)'</pattern>
        <value>#if @botting>0 {botchecking %1 send %2} {}</value>
      </trigger>
    </class>
    <trigger priority="2260" copy="yes">
      <pattern>^Your god doesn't seem to like (%w).$</pattern>
      <value>#if @botting>0 {
  t %1 Sorry but our alignments don't match.
  forget %1
  } {}</value>
    </trigger>
    <class name="bark" copy="yes">
      <trigger priority="4130" copy="yes">
        <pattern>^(%w) barks at you.</pattern>
        <value>#if @botting>0 {botchecking %1 barkskin} {}
#if @barkon=1 {wake;c bark %1;sleep} {}</value>
      </trigger>
    </class>
    <trigger priority="4160" copy="yes">
      <pattern>^You follow %w %w.</pattern>
      <value>#if @botting>0 {#if @botlocation="Thorn" {wak;recall;east;east;sl} {}
#if @botlocation="Mid" {wak;sanc;down;west;sl} {}} {}</value>
    </trigger>
    <trigger priority="4220" copy="yes">
      <pattern>^You swat at your ear, a buzzing noise is coming from (%w).</pattern>
      <value>#if %lower(@me)="peach" {#if @steeling=1 {wake;c steel %1;sleep} {}} {}</value>
    </trigger>
    <class name="AlreadySpelled" copy="yes">
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) is already woodsy enough, thank you.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|barkskin|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) is already invincible!</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|invincibility|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) already has Divine Awen.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|awen|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) already has Foci.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|foci|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) can already breathe underwater!</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|water breathing|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) already has Fortitudes.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|fortitudes|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) is already armored.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|armor|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) already has holy armor.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|holy armor|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) already has a holy aura.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|holy aura|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) already has divine favor.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|bless|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) is already in sanctuary.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|sanctuary|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4580" copy="yes">
        <pattern>^(%w) is already in a frenzy.</pattern>
        <value>#if @botting>0 {t %1 You already had |bp|frenzy|n|.
forget %1
#ad doubledip 1
#var doubledipperson %1} {}</value>
      </trigger>
      <trigger priority="4840" copy="yes">
        <pattern>You cannot transmute two layers of derma to the same material!</pattern>
        <value>#if @botting>0 {t @currenttarget You already had |bp|iron skin|n|.
forget @currenttarget
#ad doubledip 1
#var doubledipperson @currenttarget} {}</value>
      </trigger>
    </class>
    <trigger type="Expression" priority="4810" copy="yes">
      <pattern>@doubledip=3</pattern>
      <value>#if @botting>0 {
  #var doubledip 4
  #addkey doubledipped @doubledipperson 27000
  #delkey botqueue @doubledipperson
  #disconnect
  } {}</value>
    </trigger>
    <trigger type="Expression" priority="4920" copy="yes">
      <pattern>@doubledip>0</pattern>
      <value>#if @botting>0 {} {#var doubledip 0}</value>
    </trigger>
    <var name="doubledipped" type="Record" copy="yes">
      <json>{}</json>
    </var>
    <trigger priority="4940" copy="yes">
      <pattern>^@currenttarget is not here!</pattern>
      <value>#ad nothere 1</value>
    </trigger>
    <trigger type="Expression" priority="4950" copy="yes">
      <pattern>@nothere=1</pattern>
      <value>#ad nothere 1
t @currenttarget Sorry, but you weren't in/on the same room/plane I was~(~|br~|@botlocation~|n~|~).</value>
    </trigger>
    <trigger priority="6730" copy="yes">
      <pattern>^Lower Sanctum$</pattern>
      <value>#if @botstart=1 {} {#if @botting>0 {#if @botlocation="Thorn" {title |n|Bot On[|bc|Mid|n|]|br| poke|n| for vials} {}} {}}
#var botlocation Mid
#var doubledip 0
#var nothere 0</value>
    </trigger>
  </class>
  <var name="botting" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="castcomm" type="Literal" copy="yes"/>
  <var name="casttarg" type="Literal" copy="yes"/>
  <var name="possiblelist" type="Literal" copy="yes"/>
  <var name="botcommand" type="Literal" copy="yes"/>
  <var name="baugment" copy="yes">0</var>
  <var name="rawcommand" type="String" copy="yes">You were already queued</var>
  <var name="bottarget" type="Literal" copy="yes"/>
  <var name="botspelling" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="healedcount" copy="yes">1</var>
  <var name="word1" copy="yes">run</var>
  <var name="word2" copy="yes">d</var>
  <var name="word3" copy="yes"/>
  <var name="word4" copy="yes"/>
  <var name="iscommand" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="iscommand2" copy="yes">midgaard</var>
  <var name="botlocation" copy="yes">Mid</var>
  <var name="bottransferring" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="traveltarget" copy="yes">kelsee</var>
  <var name="wword1" copy="yes">Seionage</var>
  <var name="wword2" copy="yes">bark</var>
  <var name="wword3" copy="yes"/>
  <var name="wword4" copy="yes"/>
  <var name="word5" copy="yes"/>
  <var name="word6" copy="yes"/>
  <var name="cword1" copy="yes">barkhound</var>
  <var name="cword2" copy="yes">full</var>
  <var name="cword4" copy="yes"/>
  <var name="cword5" copy="yes"/>
  <var name="cword6" copy="yes"/>
  <var name="portaling" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="pexists" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="ppt" copy="yes">kelsee</var>
  <var name="ppp" copy="yes">Elemorph</var>
  <var name="pty" copy="yes">nexus</var>
  <var name="critical" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <button type="Gauge" autosize="false" width="60" height="23" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="1429" copy="yes">
    <caption>Bot</caption>
    <value>#if @botting=1 {#var botting 0 0
title |n|Bot off} {#var botting 1 0
#var botstart 1 0
#var portaling 0 0
#var critical 0 0
#var pexists 0 0
#var autosaver 1
aff
wa
sl
}</value>
    <expr>@botting+@bottransferring</expr>
    <gaugemax>1</gaugemax>
  </button>
  <trigger priority="1430" copy="yes">
    <pattern>^You no longer see invisible objects.</pattern>
    <value>#if @botting>0 {
#var hsed 1 0
botchecking barkhound hs} {}</value>
  </trigger>
  <var name="hsed" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <button type="Gauge" autosize="false" width="90" height="23" inset="true" toolstyle="true" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="1487" copy="yes">
    <caption>Save:%insert(".",@autosavecount,%len(@autosavecount))</caption>
    <value>#if @autosaving=0 {
#echo Autosave enabled
  #var autosave  %random( 75, 90)
  #var autosavecount @autosave*10
  #var autosavemax @autosave*10
  #var autosaving 1 0} {#var autosaving 0
  #echo Autosave disabled}</value>
    <expr>@autosavecount</expr>
    <gaugemax>@autosavemax</gaugemax>
  </button>
  <var name="autosavecount" copy="yes">40</var>
  <var name="autosaving" usedef="true" copy="yes">
    <value>1</value>
    <default>1</default>
  </var>
  <var name="autosave" copy="yes">90</var>
  <var name="autosavecounter" copy="yes">-400</var>
  <var name="autosavemax" copy="yes">900</var>
  <trigger type="Alarm" priority="1540" copy="yes">
    <pattern>-@autosave</pattern>
    <value>#if @logging=1 {#exit} {}
#if (@meverified=0) {#exit} {}
#var autosave  %random( 75, 90)
#var autosavecount @autosave*10
#var autosavemax @autosave*10
#if (@autosaving=1) {#if @logging=1 {} {
    #var autosaver 1
    aff
    save
    }} {}</value>
  </trigger>
  <class name="title" copy="yes">
    <var name="botting" usedef="true" copy="yes">
      <value>0</value>
      <default>0</default>
    </var>
  </class>
  <trigger priority="1570" newline="false" prompt="true" copy="yes">
    <pattern>^~[B~]ack,~[H~]elp,~[R~]efresh, or ~[C~]ontinue(%p) $</pattern>
    <value>#psub "" 0 (%word(%x1,2)+1)
c</value>
  </trigger>
  <var name="sport" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <class name="wake" copy="yes">
    <var name="botting" usedef="true" copy="yes">
      <value>0</value>
      <default>0</default>
    </var>
  </class>
  <class name="Lockboxes" copy="yes">
    <trigger name="^The a small wooden lockbox is not trapped.$1" priority="1710" ansi="true" copy="yes">
      <pattern>^%e[37mThe a small wooden lockbox is not trapped.%e[0m$</pattern>
      <value>#if %lower(@me)="chrome" {wear chest
pick lockbox} {}</value>
    </trigger>
    <trigger priority="1720" ansi="true" copy="yes">
      <pattern>^%e[32mYou couldn't make the lock turn on a small wooden lockbox.%e[0m$$</pattern>
      <value>#if %lower(@me)="chrome" {wear chest
pick lockbox} {}</value>
    </trigger>
    <trigger priority="1730" ansi="true" copy="yes">
      <pattern>^%e[32m*Click*$</pattern>
      <value>#if %lower(@me)="chrome" {op lockbox
get all lockbox
dro lockbox
sac lockbox
insp lockbox} {}</value>
    </trigger>
    <trigger priority="1740" ansi="true" copy="yes">
      <pattern>^%e[37mThe a small wooden lockbox looks like it is armed with a %1 trap.%e[0m$</pattern>
      <value>#if %lower(@me)="chrome" {wear disarm
disman %1 lockbox} {}</value>
    </trigger>
    <trigger priority="1750" ansi="true" copy="yes">
      <pattern>^%e[37mYou successfully dismantle the %1 trap.%e[0m$</pattern>
      <value>#if %lower(@me)="chrome" {insp lockbox} {}</value>
    </trigger>
    <trigger priority="1760" ansi="true" copy="yes">
      <pattern>^%e[33mThe a small wooden lockbox is not trapped.%e[0m$$</pattern>
      <value>#if %lower(@me)="chrome" {insp lockbox} {}</value>
    </trigger>
    <trigger priority="3740" ansi="true" copy="yes">
      <pattern>^%e[33mThe a small wooden lockbox looks like it is armed with a %1 trap.%e[0m$</pattern>
      <value>#if %lower(@me)="chrome" {insp lockbox} {}</value>
    </trigger>
  </class>
  <class name="Lockbox Vials" copy="yes">
    <trigger priority="3750" copy="yes">
      <pattern>(%*){a|an} %2 vial of healing</pattern>
      <value>#if (%lower( %2)="reddish-brown") {#var vialhealtype "cure crit"} {}
#if (%lower( %2)="light brown") {#var vialhealtype "cure light"} {}
#if (%lower( %2)="red-brown") {#var vialhealtype "divinity"} {}
#if (%lower( %2)="orange-brown") {#var vialhealtype "cure serious"} {}
#if (%lower( %2)="orange-red") {#var vialhealtype "cure crit+light"} {}
#if (%lower( %2)="red striped") {#var vialhealtype "heal"} {}
#if (%lower( %2)="yellow-brown") {#var vialhealtype "heal+cure light"} {}
#if (%lower( %2)="yellow") {#var vialhealtype "heal+cure serious"} {}
#if (%lower( %2)="yellow-orange") {#var vialhealtype "heal+cure crit"} {}
#if (%lower( %2)="orange") {#var vialhealtype "heal+cure light+cure crit"} {}
#psub {%2~(@vialhealtype~)} %x2
#ad vialcount 1
#var vcount %1
#var vcount %remove((Magical),@vcount)
#var vcount %remove((Humming),@vcount)
#var vcount %remove((Glowing),@vcount)
#var vcount %remove((Demonic),@vcount)
#var vcount %replace(@vcount,"(","")
#var vcount %replace(@vcount,")","")
#var vcount %trim(@vcount)
#if @vcount>0 {#ad vialcount %eval(@vcount-1)} {}</value>
    </trigger>
    <trigger priority="1800" copy="yes">
      <pattern>^A cracked black urn contains:$</pattern>
      <value>#var vialcount 0
#if @botvial=1 {#var botvial 2 0} {}</value>
    </trigger>
    <trigger priority="1830" copy="yes">
      <pattern>^(%w) pokes you in the ribs.</pattern>
      <value>#if @botting>0 {
#var botvial 1 0
#var vialperson %1
rest
l in urn} {}</value>
    </trigger>
    <trigger priority="1860" copy="yes">
      <pattern>^(%w) gives you {a|an} (%2) vial of healing.$</pattern>
      <value>#if @botting>0 {t %1 Thanks for the |by|%2|n| vial!
rest;put 'quest vial healing' urn;sl} {}</value>
    </trigger>
  </class>
  <var name="vialhealtype" type="Literal" copy="yes">heal</var>
  <var name="vialcount" copy="yes">56</var>
  <var name="vcount" copy="yes">10 [Pristine  ]</var>
  <var name="botvial" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="vialperson" copy="yes">Septimus</var>
  <var name="botstart" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <button type="Gauge" autosize="false" width="300" height="25" inset="true" toolstyle="true" color="fuchsia" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="1915" copy="yes">
    <caption>Send Timer: %insert(".",@sendtime,%len(@sendtime))</caption>
    <expr>@sendtime</expr>
    <gaugemax>3000</gaugemax>
  </button>
  <var name="sendleader" type="Literal" copy="yes"/>
  <var name="sending" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="sendtime" copy="yes">0</var>
  <alias name="+300" copy="yes">
    <value>rest;fol self;sl;#var sendleader "";#var sending 0 0</value>
  </alias>
  <var name="sendmin" copy="yes">9</var>
  <trigger type="Alarm" priority="210" trigontrig="false" newline="false" copy="yes">
    <pattern>-30</pattern>
    <value>#if (@meverified=0) {#exit} {}
#if @autosaving=0 {#exit} {}
#if @logging=1 {#exit} {}
#var gupdate 1
~gr</value>
  </trigger>
  <var name="groupies" type="StringList" copy="yes">
    <value>Drako</value>
    <json>["Drako"]</json>
  </var>
  <var name="leader" copy="yes">Drako</var>
  <class name="RandomColors" copy="yes">
    <var name="colorcodes" type="StringList" copy="yes">
      <value>b|c|g|r|y|w|p|bb|bc|bg|br|by|bw|bp</value>
      <json>["b","c","g","r","y","w","p","bb","bc","bg","br","by","bw","bp"]</json>
    </var>
    <alias name="randomize" copy="yes">
      <value>#var randomvar %-1
#loop %len(%-1),1 {#var randomvar %insert(~|%item(@colorcodes,%random(1,14))~|,@randomvar,%i)}</value>
    </alias>
    <alias name="randomcap" copy="yes">
      <value>#var capcap %-1
#var capcap1 ""
#var capvar ""
#var capped 0 0
#loop %len( @capcap) {
  #var capcap1 %left( @capcap, 1)
  #if (%ascii( @capcap1)>96 and %ascii( @capcap1)<123) {
    #if %random( 1, 2)=1 {#var capvar @capvar%char( @capcap1)} {#var capvar %concat( @capvar, %char( %ascii( @capcap1)-32))}
    #var capped 1 0
    } {}
  #if @capped=1 {} {#if (%ascii( @capcap1)>64 and %ascii( @capcap1)<91) {
      #if %random( 1, 2)=1 {#var capvar @capvar%char( @capcap1)} {#var capvar %concat( @capvar, %char( %ascii( @capcap1)+32))}
      #var capped 1 0
      } {}}
  #if @capped=1 {#var capped 0 0} {#var capvar @capvar@capcap1}
  #var capcap %right( @capcap, 1)
  }
</value>
    </alias>
  </class>
  <var name="testvar" copy="yes">5</var>
  <var name="randomvar" copy="yes">|w|S|r|p|bp|e|br|c|bp|t|br|r|b|a|c|h</var>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="61" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="2158" copy="yes">
    <caption>Colors</caption>
    <value>#if @randoming=0 {#var randoming 1 0} {#var randoming 0 0}</value>
    <expr>@randoming</expr>
    <gaugemax>1</gaugemax>
  </button>
  <var name="randoming" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="Logged" copy="yes">4</var>
  <var name="ctime" copy="yes">37</var>
  <var name="connected" copy="yes">1</var>
  <class name="Connection" initenable="true" copy="yes"/>
  <var name="logging" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <event event="OnDisconnect" priority="2330" copy="yes">
    <value>#var logged 0
#if @doubledip=4 {
  #connect
  #exit
  } {}
#if @botting>0 {#ALARM +2 {#if @botting>0 {#if @logged>0 {} {
        #connect
        #echo Reconnecting..
        }} {}}} {}</value>
  </event>
  <trigger priority="2340" copy="yes">
    <pattern>^Object '%1' type %w</pattern>
    <value>#echo %clip('%1')</value>
  </trigger>
  <alias name="tank" copy="yes">
    <value>#var isalias 1 0
#if %loweR(@me)="tabion" {
#var isalias 0 0
get all gear
rem all
wear 'zarradyn's gauntlets lordgear'
wear 'boots conquerer lordgear'
wear 'glimmering shard starshard starshine'
wear 'jeweled crown aziz-ra'
wear 'stone wings lordgear'
wear 'treaty purity faith scrolls lordgear'
wear 'living dark mystical daemonstone tank'
wear 'crimson bloodsash lordgear tank'
wear 'armor ornate silver githyanki gith chestplate lordgear tank'
wear 'ruling glyph fae lordgear rune tank'
wear 'ruling glyph fae lordgear rune dett'
wear 'ring earth elemental lordgear'
wear 'ring earth elemental lordgear tank'
wear 'kzinti kzintium blade bracer lordgear'
wear 'kzinti kzintium blade bracer lordgear tank'
wear 'shadows shield vortex'
wear 'billowing sleeves of vapor wind'
wield 'huge red eye oni bloodshot'
put all gear
get brand gear} {}
#if @isalias=1 {~tank} {}</value>
  </alias>
  <var name="isalias" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <alias name="mana" copy="yes">
    <value>#var isalias 1 0
#if %loweR(@me)="tabion" {
#var isalias 0 0
get all gear
rem all
wear 'watershape blob water mana'
wear 'red velvet cape mana'
wear 'toe ring mana'
wield 'Hand of buddha mana'
wear 'swirl fumes mana'
wear 'Water ring shimmering'
wear 'Water ring shimmering'
wear 'glimmer hellfire'
wear 'exaltra's mirror gold gems mana'
wear 'silken sarong green mana'
wear 'jade bracer'
wear 'jade bracer'
wear 'silver armlet iguana mana'
wear 'Crown Ages diamond mana'
wear 'watershape blob water mana'
wear 'turquoise mane mana'
wear 'turquoise mane mana'
wear 'white leather dress mana'
wear 'belt sorcery mana'
put all gear
get brand gear} {}
#if @isalias=1 {~mana} {}</value>
  </alias>
  <var name="xp" copy="yes">90</var>
  <var name="kills" copy="yes">5</var>
  <trigger priority="2400" copy="yes">
    <pattern>^You receive (%d) experience points.$</pattern>
    <value>#ad xp %1
#ad kills 1
#addkey xpdb @me %eval(%db(@xpdb,@me)+%1)
#addkey killsdb @me %eval(%db(@killsdb,@me)+1)
#if %lower(@me)="chrom" {#exit} {}
get lockbox cor</value>
  </trigger>
  <alias name="reset" copy="yes">
    <value>#var xp 0
#var kills 0
#var dead ""
#var groupdams ""
#var grouphits ""
#var groupterms ""
#if @levelgain=0 {} {#var runlevels @levelgain}
#var levelgain 0
#var fled 0
#var fcount 0
#var groupies ""
#var failexp 0
#var bashdb ""
#var missbashdb ""
#var approvedlist ""
#var rescuelist ""
#var nongroupdead ""
#var totaldied ""
#if @runhp=0 {} {#var rungains {@runhp/@runmana}}
#addkey xpdb @me 0
#addkey killsdb @me 0
#addkey fleddb @me 0
#addkey fcountdb @me 0
#addkey failexpdb @me 0
#var runhp 0
#var runmana 0
gr</value>
  </alias>
  <class name="Group" copy="yes">
    <class name="INFO" copy="yes">
      <trigger priority="2440" copy="yes">
        <pattern>^~[DEATH INFO~]: ({@groupies}) killed by %*.$</pattern>
        <value>#additem dead %1
#addkey totaldied %1 %eval(%db(@totaldied,%1)+1)</value>
      </trigger>
      <trigger priority="2470" copy="yes">
        <pattern>^~[LORD INFO~]: ({@dead}) has just shifted to %2!$</pattern>
        <value>#delitem dead %1
#if @autogurney=1 {
  wak
  c gurney %1
  } {}</value>
      </trigger>
      <trigger priority="4910" copy="yes">
        <pattern>^~[LORD INFO~]: ({@dead}) casts eulogy, moving corpse of ({@dead}) to safety.$</pattern>
        <value>#delitem dead %1</value>
      </trigger>
      <trigger priority="7370" copy="yes">
        <pattern>^~[LORD INFO~]: %w finishes Threnody, moving corpse of (%w) to safety.</pattern>
        <value>#delitem dead %1</value>
      </trigger>
      <trigger priority="2440" copy="yes">
        <pattern>^~[DEATH INFO~]: (%w) killed by %*.$</pattern>
        <value>#if %ismember(%lower(%1),%lower(@groupies)) {#exit} {}
#additem nongroupdead %1</value>
      </trigger>
    </class>
    <var name="classtypes" type="Record" copy="yes">
      <value>umm=bld|hitter="arc|fus"|caster="mag|psi|sor|mnd|stm|wzd"|stab="rog|asn|bci"|meat="war|pal|ran|mon|bzk|bod|shf"|healer="prs|cle|dru"</value>
      <json>{"umm":"bld","hitter":["arc","fus"],"caster":["mag","psi","sor","mnd","stm","wzd"],"stab":["rog","asn","bci"],"meat":["war","pal","ran","mon","bzk","bod","shf"],"healer":["prs","cle","dru"]}</json>
    </var>
    <trigger priority="2490" prompt="true" copy="yes">
      <pattern>^~[??? ???? (%w) (%w) ??? ? ~] {~(OUTLAW~) |~(INVIS~) |~(AFK~) |~(LINKDEAD~) |~(SHADOW~) |}({@groupies})%*</pattern>
      <value>#if @groupcheck=3 {
  #gag
  #addkey groupdb %3 %lower( %2|%1)
  #if %lower( %3)=%lower( @lastgroupie) {#var groupcheck 4 0} {}
  } {}
</value>
    </trigger>
    <alias name="cc" copy="yes">
      <value>#var groupcheck 1 0
gr</value>
    </alias>
    <trigger priority="2000" copy="yes">
      <pattern>^(%w)'s group:</pattern>
      <value>#var leader %1
#if @nottank=1 {#var nottank 2 0} {}
#if @groupcheck=1 {#var groupdb "";#var groupcheck 2 0;#gag} {}
#var groupie ""
#var someones 0
#var rescuecheck 1</value>
    </trigger>
    <trigger priority="1960" copy="yes">
      <pattern>^You join (%w)'s group.$</pattern>
      <value>#if @sending>0 {#exit} {}
randomize %1
gt Thanks for letting me join @randomvar~|n~|!  Group triggers Active.
gt ~|br~|Gtell .commands~|n~| for a list of commands.
#var nottank 0 0
#yesno "Is this the tank?" {#var tank %1} {#var nottank 1 0}
#echo @nottank
gr</value>
    </trigger>
    <trigger priority="1999" copy="yes">
      <pattern>^(??)~|???%s%*%s(%w)%s%w{!|}%s{-|}(%d)/(%d)%s{-|}(%d)/(%d)%s{-|}(%d)/(%d)%s(%d)</pattern>
      <value><![CDATA[#psub [%2] %x2
#if @gupdate>0 {#gag} {}
#if %lower( %2)="someone" {
  #ad someones 1
  #exit
  } {}
#addkey playerstats %2 {%4/%6|%time(dd/mm/yy(hh:mm:ss:zzz))}
#if @groupcheck=2 {
  #var lastgroupie %2
  whois %2
  #gag
  } {}
#additem groupie %2
#if %ismember(%2,@approvedlist) {} {#additem approvedlist %2}
#if %4<3000 {#additem rescuelist %2} {}
#if @statcheck>0 {status %2 %3 %4 %5 %6} {}
#if @gcommand=1 {
  #if %lower( @checktarg)=%lower( %2) {
    #var hpper %eval( %3*10000/%4)
    #var hpper %insert( ".", @hpper, %len( @hpper)-1)
    #var manaper %eval( %5*10000/%6)
    #var manaper %insert( ".", @manaper, %len( @manaper)-1)
    #var Hbar ""
    #var hbar1 0
    #var mbar ""
    #var mbar1 0
    #var hcol "c"
    #var mcol "c"
    #var hbar1 %round( %eval( %float( @hpper)*15/100))
    #var mbar1 %round( %eval( %float( @manaper)*15/100))
    #if @hpper<75 {#var hcol "y"} {}
    #if @manaper<75 {#var mcol "y"} {}
    #if @hpper<30 {#var hcol "r"} {}
    #if @manaper<30 {#var mcol "r"} {}
    #if @checkstat="hp" {
      #echo gt %2 - ~|bc~|%3/%4|n| ~(|br|@hpper|n|~%~)hp
      gt ~|bp~|%2 ~|bw~|- HP~[~|@hcol~|%repeat( "X", @hbar1)~|b~|%repeat( "x", %eval( 15-@hbar1))~|bw~|~]~(|by|@hpper~%|bw| of |by|%4|bw|~)
      } {}
    #if @checkstat="mana" {
      #echo gt %2 - ~|bc~|%5/%6|n| ~(|br|@manaper|n|~%~)mana
      gt ~|bp~|%2 ~|bw~|- Mana~[~|@mcol~|%repeat( "X", @mbar1)~|b~|%repeat( "x", %eval( 15-@mbar1))~|bw~|~]~(|by|@manaper~%|bw| of |by|%6|bw|~)
      } {}
    #var gcommand 0 0
  } {}
  } {}
]]></value>
    </trigger>
    <trigger type="Expression" priority="2560" copy="yes">
      <pattern>@groupcheck=4</pattern>
      <value>ccspam
#var groupcheck 0 0</value>
    </trigger>
    <var name="groupdb" type="Record" copy="yes">
      <value>Drako="drg|mag"</value>
      <json>{"Drako":["drg","mag"]}</json>
    </var>
    <alias name="ccspam" copy="yes">
      <value>#var spamit 0 0
#var hitters ""
#var healers ""
#var meat ""
#var stabbers ""
#var umm ""
#var casters ""
#loopdb @groupdb {
  #if %ismember( %word( %val, 2, "|"), %db( @classtypes, caster)) {#additem casters %key~(%proper( %replace( %val, "|", ":"))~)} {}
  #if %ismember( %word( %val, 2, "|"), %db( @classtypes, hitter)) {#additem hitters %key~(%proper( %replace( %val, "|", ":"))~)} {}
  #if %ismember( %word( %val, 2, "|"), %db( @classtypes, stab)) {#additem stabbers %key~(%proper( %replace( %val, "|", ":"))~)} {}
  #if %ismember( %word( %val, 2, "|"), %db( @classtypes, meat)) {#additem meat %key~(%proper( %replace( %val, "|", ":"))~)} {}
  #if %ismember( %word( %val, 2, "|"), %db( @classtypes, healer)) {#additem healers %key~(%proper( %replace( %val, "|", ":"))~)} {}
  #if %ismember( %word( %val, 2, "|"), %db( @classtypes, umm)) {#additem umm %key~(%proper( %replace( %val, "|", ":"))~)} {}
  }
#if @classcheck="meat" {
  #if @meat="" {gt No meat detected} {gt Meat~[~|bc~|@meat~|n~|~]}
  #var classcheck ""
  #exit
  } {}
#if @classcheck="healer" {
  #if @healers="" {gt No healers detected} {gt Healers~[~|bc~|@healers~|n~|~]}
  #var classcheck ""
  #exit
  } {}
#if @classcheck="caster" {
  #if @casters="" {gt No casters detected} {gt Casters~[~|bc~|@casters~|n~|~]}
  #var classcheck ""
  #exit
  } {}
#echo @classcheck
#if @classcheck="automatic" {#var classcheck ""
#exit} {}
#if @classcheck="auto" {#var spamit 1 0} {#if (%yesno( "Spam it?")) {#var spamit 1 0} {#var spamit 2 0}}
#if @spamit=1 {
  #var spamit 0 0
  #var classcheck ""
  #if @meat="" {} {gt Meat~[~|bc~|@meat~|n~|~]}
  #if @healers="" {} {gt Healers~[~|bc~|@healers~|n~|~]}
  #if @casters="" {} {gt Casters~[~|bc~|@casters~|n~|~]}
  #if @stabbers="" {} {gt Stabbers~[~|bc~|@stabbers~|n~|~]}
  #if @hitters="" {} {gt Hitters~[~|bc~|@hitters~|n~|~]}
  #if @umm="" {} {gt Other~[~|bc~|@umm~|n~|~]}
  } {}
#if @spamit=2 {
  #var spamit 0 0
  #var classcheck ""
  #if @meat="" {} {#echo Meat~[@meat~]}
  #if @healers="" {} {#echo Healers~[@healers~]}
  #if @casters="" {} {#echo Casters~[@casters~]}
  #if @stabbers="" {} {#echo Stabbers~[@stabbers~]}
  #if @hitters="" {} {#echo Hitters~[@hitters~]}
  #if @umm="" {} {#echo Other~[@umm~]}
  } {}</value>
    </alias>
    <alias name="meat" copy="yes">
      <value>#var classcheck meat
ccspam</value>
    </alias>
    <alias name="healer" copy="yes">
      <value>#var classcheck healer
ccspam</value>
    </alias>
    <alias name="caster" copy="yes">
      <value>#var classcheck caster
ccspam</value>
    </alias>
    <alias name="gcommands" copy="yes">
      <value>#var word1 %lower( %word( %2, 1, "."))
#var word2 %lower( %word( %2, 2, "."))
#if %ismember( @word1, "hater|haters|hate") {#var word1 koskie} {}
#if @word1="" {#if %begins( "commands", %word( %2, 2, ".")) {gcomspam %1} {}} {}
#var gcommand 0 0
#var gcommand2 ""
#var gcommandp %1
#if %begins( "playerstats", @word2) {  #var theplayer ""
  #loopdb @playerstats {#if %lower( %key)=%lower( @word1) {
      #var theplayer %key
      #break
      } {}
      #if %match(%lower(%key),%lower(@word1)) {#additem theplayer %key} {}}
  #if @theplayer="" {
    gt ~|BW~|Not Found~[~|bp~|@word1~|bw~|~]~|n~|
    } {}
    #if %numitems( @theplayer)>1 {gt ~|bw~|Multiple matches[~|bp~|@theplayer~|bw~|]~|n~|} {gt |bw|Playerstats~|bb~|Beta~|bw~|~[~|bp~|%proper(@theplayer)~|bw~|]~(~|br~|%item(%db(@playerstats,@theplayer),2)~|bw~|~): %item(%db(@playerstats,@theplayer),1)~|n~|}} {}
  #if @word1="run" {
    #if %begins( "details", %word( %2, 2, ".")) {
      rs detail
      #exit
      } {}
    #if %begins( "summary", %word( %2, 2, ".")) {
      rs summary
      #exit
      } {}
    } {}
  #if %begins( "status", %word( %2, 2, ".")) {
    #var meathp 0
    #var healmana 0
    #var castmana 0
    #var ummhp 0
    #var maxmeathp 0
    #var maxhealmana 0
    #var maxcastmana 0
    #var maxummhp 0
    #var statcheck 5
    #var statperson ""
    #if %begins( "all", @word1) {
      #var statcheck 1
      gr
      } {}
    #if %begins( "group", @word1) {
      #var statcheck 1
      gr
      } {}
    #if %begins( "meat", @word1) {
      #var statcheck 2
      gr
      } {}
    #if %begins( "caster", @word1) {
      #var statcheck 3
      gr
      } {}
    #if %begins( "healer", @word1) {
      #var statcheck 4
      gr
      } {}
    #if @statcheck<5 {} {
      #var statperson ""
      #forall @groupies {#if %match( %lower( %i), @word1) {
          #var statcheck 5
          #additem statperson %i
          } {}}
      #if %numwords( @statperson, "|")>1 {
        #var statcheck 0
        gt ~|bw~|Multiple matches found: ~|bp~|%replace( %replace( %replace( @statperson, "|", ", "), @word1, |bc|@word1|bp|), %proper( @word1), |bc|%proper( @word1)|bp|)~|n~|
        #exit
        } {#if @statperson="" {
          gt ~|bp~|%proper( @word1) ~|bw~|not found.~|n~|
          #var statcheck 0
          #exit
          } {gr}}
      }
    } {}
  #if %begins( "breakdown", %word( %2, 2, ".")) {#var gcommand2 breakdown} {}
  #if %begins( "hp", %word( %2, 2, ".")) {#var gcommand2 hp} {}
  #if %begins( "health", %word( %2, 2, ".")) {#var gcommand2 hp} {}
  #if %begins( "mana", %word( %2, 2, ".")) {#var gcommand2 mana} {}
  #if %begins( "mp", %word( %2, 2, ".")) {#var gcommand2 mana} {}
  #var checkstat ""
  #var checktarg ""
  #var gcomt ""
  #forall @groupies {#if %match( %lower( %i), %lower( @word1)) {#additem gcomt %i} {}}
  #if %ismember( @gcommand2, "hp|mana") {
    #if %numwords( @gcomt, "|")>1 {
      gt Multiple matches found: |bp|%replace( %replace( %replace( @gcomt, "|", ", "), @word1, |bc|@word1|bp|), %proper( @word1), |bc|%proper( @word1)|bp|)~|n~|
      #exit
      } {}
    #var gcommand 1 0
    #var checkstat @gcommand2
    #var checktarg @gcomt
    #if @checktarg="" {
      gt ~|bp~|%proper( @word1) ~|bw~|not found.~|n~|
      #var gcommand 0
      } {gr}
    } {}
  #if %ismember( %lower( @word1), "meat|healer|caster") {#var classcheck %lower( @word1)} {}
  #if @gcommand2="breakdown" {#if %ismember( @word1, "all|meat|healer|caster|") {
      #if %lower( @word1)="all" {#var classcheck auto} {}
      #if %lower( @word1)="" {#var classcheck auto} {}
      cc
      } {}} {}</value>
    </alias>
    <trigger priority="2730" copy="yes">
      <pattern>^({~*|})(%w)({~*|}) tell({s|}) the group '(%*)'$</pattern>
      <value>#cap Gtells
#if %match(%5,".%w") {#if %2="You" {gcommands @me %stripansi(%5)} {gcommands %2 %stripansi(%5)}} {}
#file 1 C:\AvLogs\Gtell%time(mmddyyyy).txt
#write 1 %time(mm/dd/yy(hh:mm:ss))%char(9)%1%2%3 tell%4 the group '%stripansi(%5)'
#close 1</value>
    </trigger>
    <var name="groupcommands" type="StringList" copy="yes">
      <value>races|classes|playerstats</value>
      <json>["races","classes","playerstats"]</json>
    </var>
    <alias name="racebreak" copy="yes"/>
    <alias name="gcomspam" copy="yes">
      <value><![CDATA[t %1 ~|br~|Current available commands in group:
t %1 ~|bp~|~<name~>.h~|n~|p
t %1 ~|bp~|~<name~>.m~|n~|ana
t %1 ~|bp~|run.d~|n~|etails
t %1 ~|bp~|run.s~|n~|ummary
t %1 ~|bp~|~(all|meat|caster|healer~).b~|n~|reakdown
t %1 ~|bp~|~(all|meat|caster|healer|~<groupie name~>~).s~|n~|tatus
t %1 ~|bp~|~<name~>.p~|n~|layerstats~|bb~| Beta~|n~|
]]></value>
    </alias>
    <class name="Spunj" copy="yes">
      <trigger priority="3280" copy="yes">
        <pattern>^{@tank|@leader} is killing %1{.| with her mental power}</pattern>
        <value>#var target %1
#if %ismember(@me,@tank|@leader) {#exit} {}
#if @lagcounting>30 {#exit} {}
#if @spunj=0 {#exit} {}
#if %ismember( %lower( @me), "chrom|mant") {
  #if @chromvar=0 {~kill %1} {}
  #if @chromvar=1 {surp %1} {}
  #if @chromvar=2 {ba %1} {}
  #if @chromvar=3 {
    kill %1
    ba
    } {}
    #if @chromvar=4 {~kill %1} {}
  #exit
  } {}
k %1
#if %ismember(%lower(@myclass),"wzd|mag") {c disint;c disint;c disint} {}
#if %lower(@myclass)="sor" {#if @mylevel<101 {cast 'vampire touch';cast 'vampire touch';cast 'vampire touch'} {c torment;c torment;c torment}} {}</value>
      </trigger>
      <trigger priority="3310" copy="yes">
        <pattern>^@leader enters a (%w).</pattern>
        <value>#if @spunj=1 {enter %1} {}</value>
      </trigger>
      <trigger priority="4530" copy="yes">
        <pattern>^{@leader} utters the word 'Sanctum' and slowly fades from view.</pattern>
        <value>#if @leader="Ying" {#exit} {}
#if @leader="Fellin" {#exit} {}
#if @leader="Scorpion" {#exit} {}
#if @spunj=1 {sanc} {}</value>
      </trigger>
      <trigger priority="5390" copy="yes">
        <pattern>^%1 is hurt and suspicious ... you can't sneak up.</pattern>
        <value>#if @spunj=0 {#exit} {}
#if @chromvar=1 {~kill @target} {}</value>
      </trigger>
      <trigger type="Expression" priority="5440" copy="yes">
        <pattern>@position=Fight</pattern>
        <value>#if @spunj>0 {} {#exit}</value>
      </trigger>
    </class>
    <trigger type="Command Input" priority="3510" copy="yes">
      <pattern>^resc{u|ue|} %1</pattern>
      <value>#if @cross=1 {} {#if %lower( @me)="longsight" {cross} {}}
#forall @groupies {#if %begins( %lower( %i), %lower( %1)) {
    ~rescue %i
    #exit
    } {}}
~rescue %1</value>
    </trigger>
    <trigger priority="3540" copy="yes">
      <pattern>{~*|}{@leader|@tank}{~*|} tells the group 'ls (%w) %2'</pattern>
      <value>#if %lower(@me)="longsight" {ls %1 %2} {}
</value>
    </trigger>
    <class name="Missing" copy="yes">
      <trigger priority="3860" copy="yes">
        <pattern>%s({@groupies})%* is {%w | in the middle of a quickstrike |}{here|attempt}%p</pattern>
        <value>#delitem missing %1</value>
      </trigger>
      <trigger priority="3880" copy="yes">
        <pattern>^~[Exits~: %*~]</pattern>
        <value>#if @misscheck=1 {#var misscheck 2 0} {}
#var missing @groupies
#delitem missing @me</value>
      </trigger>
      <alias name="missing" copy="yes">
        <value>#var misscheck 1 0
gr
look</value>
      </alias>
    </class>
    <alias name="status" copy="yes">
      <value>#var statchecking 1
#if @statcheck>0 {
  #if %ismember( %word( %db(@groupdb,%1), 2, "|"), %db( @classtypes, meat)) {
    #ad meathp %2
    #ad maxmeathp %3
    } {}
  #if %ismember( %word( %db(@groupdb,%1), 2, "|"), %db( @classtypes, healer)) {
    #ad healmana %4
    #ad maxhealmana %5
    } {}
  #if %ismember( %word( %db(@groupdb,%1), 2, "|"), %db( @classtypes, caster)) {
    #ad castmana %4
    #ad maxcastmana %5
    } {}
  #if %ismember( %word( %db(@groupdb,%1), 2, "|"), %db( @classtypes, umm)) {
    #ad ummhp %2
    #ad maxummhp %3
    } {}
  #var healper %eval( @healmana*10000/@maxhealmana)
  #var healper %insert( ".", @healper, %len( @healper)-1)
  #var ummper %eval( @ummhp*10000/@maxummhp)
  #var ummper %insert( ".", @ummper, %len( @ummper)-1)
  #var meatper %eval( @meathp*10000/@maxmeathp)
  #var meatper %insert( ".", @meatper, %len( @meatper)-1)
  #var castper %eval( @castmana*10000/@maxcastmana)
  #var castper %insert( ".", @castper, %len( @castper)-1)
  } {}
#if @statcheck=5 {#if %lower( %1)=%lower( @statperson) {
    #var hpper2 %eval( %2*10000/%3)
    #var hpper2 %insert( ".", @hpper2, %len( @hpper2)-1)
    #var manaper2 %eval( %4*10000/%5)
    #var manaper2 %insert( ".", @manaper2, %len( @manaper2)-1)
    gt |bp|%1|bw| - ~|bc~|%2/%3|bw| ~(|br|@hpper2|bw|~%~)hp ~|bc~|%4/%5|bw| ~(|br|@manaper2|bw|~%~)mana
    #var statcheck 0
    } {}} {}
</value>
    </alias>
    <alias name="statusspam" copy="yes">
      <value>#if @statcheck=1 {
  #var statspam ""
  #var statcheck 0
  #if @maxmeathp=0 {} {#var statspam %concat( "|bw|Meat[|bc|",  @meathp, "/", @maxmeathp, "|bw|(|br|", @meatper, "|bw|%)]")}
  #if @maxcastmana=0 {} {#var statspam %concat( @statspam," |bw|Caster[|bc|", @castmana, "/", @maxcastmana, "|bw|(|br|", @castper, "|bw|%)]")}
  #if @maxhealmana=0 {} {#var statspam %concat( @statspam," |bw|Healer[|bc|", @healmana, "/", @maxhealmana, "|bw|(|br|", @healper, "|bw|%)]")}
  #if @maxummhp=0 {} {#var statspam %concat( @statspam," |bw|Umm[|bc|", @ummhp, "/", @maxummhp, "|bw|(|br|", @ummper, "|bw|%)]")}
  gt @statspam~|n~|
  } {}
#if @statcheck=2 {
  #var statspam ""
  #var statcheck 0
  #if @maxmeathp=0 {} {#var statspam %concat(  @statspam,"|bw|Meat[|bc|", @meathp, "/", @maxmeathp, "|bw|(|br|", @meatper, "|bw|%)]")}
  #if @maxummhp=0 {} {#var statspam %concat(  @statspam," |bw|Umm[|bc|", @ummhp, "/", @maxummhp, "|bw|(|br|", @ummper, "|bw|%)]")}
  gt @statspam~|n~|
  } {}
#if @statcheck=3 {
  #var statspam ""
  #var statcheck 0
  #if @maxcastmana=0 {} {#var statspam %concat( " |bw|Caster[|bc|", @castmana, "/", @maxcastmana, "|bw|(|br|", @castper, "|bw|%)]")}
  gt @statspam~|n~|
  } {}
#if @statcheck=4 {
  #var statspam ""
  #var statcheck 0
  #if @maxhealmana=0 {} {#var statspam %concat( " |bw|Healer[|bc|", @healmana, "/", @maxhealmana, "|bw|(|br|", @healper, "|bw|%)]")}
  gt @statspam~|n~|
  } {}</value>
    </alias>
    <alias name="groupiescheck" copy="yes">
      <value>#var groupc 0
#if @someones=0 {#if %numitems(@groupies)=%eval(%numitems(@groupie)+@someones) {#exit} {}
#var groupies @groupie
#var classcheck automatic
cc
#exit} {}
#if %eval(%numitems(@groupies)-%numitems(@groupie))=@someones {
#var someonelist ""
#forall @groupies {#if %ismember(%i,@groupie) {} {#additem someonelist %i}}
#exit} {}</value>
    </alias>
    <class name="Misc" copy="yes">
      <trigger priority="5970" copy="yes">
        <pattern>-------------------------------------------------------------------------------</pattern>
        <value>#if @groupcheck=2 {#gag} {}</value>
      </trigger>
      <trigger priority="5980" copy="yes">
        <pattern>##| Level   Name         Pos   HitPoints   ManaPoints  MovePoints  TNL    Align</pattern>
        <value>#if @groupcheck=2 {#gag} {}</value>
      </trigger>
      <trigger priority="5990" copy="yes">
        <pattern>As a group leader~, you can lead a group size of %d.</pattern>
        <value>#if @groupcheck=1 {#gag} {}</value>
      </trigger>
    </class>
    <trigger name="MyRaceClass" priority="2490" copy="yes">
      <pattern>^~[(???) (????) (%w) (%w) ??? ? ~] {~(OUTLAW~) |~(INVIS~) |~(AFK~) |~(LINKDEAD~) |~(SHADOW~) |}@me</pattern>
      <value>#var myrace %4
#var myclass %3
#var mytier %2
#var meverified 1
#var mylevel %number(%1)</value>
    </trigger>
    <class name="Update" copy="yes">
      <trigger priority="7460" copy="yes">
        <pattern>^As a group leader, you can lead a group size of %d.$</pattern>
        <value>#if (@gupdate>0) {#gag} {}</value>
      </trigger>
      <trigger priority="7470" copy="yes">
        <pattern>^(%w)'s group:          </pattern>
        <value>#if @gupdate=1 {#gag
#var gupdate 2} {}</value>
      </trigger>
      <trigger priority="7490" copy="yes">
        <pattern>^-------------------------------------------------------------------------------$</pattern>
        <value>#if @gupdate>0 {#gag} {}</value>
      </trigger>
      <trigger priority="7500" copy="yes">
        <pattern>^##| Level   Name         Pos   HitPoints   ManaPoints  MovePoints  TNL    Align</pattern>
        <value>#if @gupdate>0 {#gag} {}</value>
      </trigger>
    </class>
    <var name="totaldied" type="Literal" copy="yes"/>
    <var name="nongroupdead" type="Literal" copy="yes"/>
    <alias name="dead" copy="yes">
      <value><![CDATA[gt ~|bw~|Dead~[~|bc~|%numwords( @dead, "|")~|bw~|~]~:~|bc~|%replace( @dead, "|", ", ")~|bw~|
#if %lower(%-1)="all" {} {#exit}
#var deathspam "Deathcount:"
#var spamvar ""
#var spamvar1 ""
#var spamvar2 ""
#var spamvar3 ""
#var spamvar4 ""
#var spamvar5 ""
#var spamvar6 ""
#var spamvar7 ""
#var spamvar8 ""
#var spamcount 0
#var deadcount 0
#var highestdeaths 0
#var mostdied ""
#loopdb @totaldied {#var deadcount %eval(@deadcount+%val)
#if %val>@highestdeaths {#var highestdeaths %val} {}}
#if %numkeys(@totaldied)=1 {gt ~|bw~|Deathcount~|bw~|~(~|by~|@deadcount~|bw~|~): ~|bp~|%dbkeys(@totaldied)~|bw~|~[~|br~|%dbvalues(@totaldied)~|bw~|~]~|n~|
#exit} {}
#loopdb @totaldied {
#if %val<@highestdeaths {#additem spamvar %concat("/bp/",%key,"/bw/[/bc/",%val,"/bw/]")} {}
#if %val=@highestdeaths {#additem spamvar %concat("/bp/",%key,"/bw/[/br/",%val,"/bw/]")} {}}
#until %numitems(@spamvar)<=7 {
#if %numitems(@spamvar)<=7 {} {
#additem spamvar1 %item(@spamvar,1)
#delitem spamvar %item(@spamvar,1)}}
#until %numitems(@spamvar1)<=7 {
#if %numitems(@spamvar1)<=7 {} {
#additem spamvar2 %item(@spamvar1,1)
#delitem spamvar1 %item(@spamvar1,1)}}
#until %numitems(@spamvar2)<=7 {
#if %numitems(@spamvar2)<=7 {} {
#additem spamvar3 %item(@spamvar2,1)
#delitem spamvar2 %item(@spamvar2,1)}}
#until %numitems(@spamvar3)<=7 {
#if %numitems(@spamvar3)<=7 {} {
#additem spamvar4 %item(@spamvar3,1)
#delitem spamvar3 %item(@spamvar3,1)}}
#until %numitems(@spamvar4)<=7 {
#if %numitems(@spamvar4)<=7 {} {
#additem spamvar5 %item(@spamvar4,1)
#delitem spamvar4 %item(@spamvar4,1)}}
#until %numitems(@spamvar5)<=7 {
#if %numitems(@spamvar5)<=7 {} {
#additem spamvar6 %item(@spamvar5,1)
#delitem spamvar5 %item(@spamvar5,1)}}
#if @spamvar="" {} {gt ~|bw~|Deathcounts~(~|bc~|@deadcount~|bw~|~): %replace(@spamvar,"/","|")}
#if @spamvar1="" {} {gt %replacE(@spamvar1,"/","|")}
#if @spamvar2="" {} {gt %replacE(@spamvar2,"/","|")}
#if @spamvar3="" {} {gt %replacE(@spamvar3,"/","|")}
#if @spamvar4="" {} {gt %replacE(@spamvar4,"/","|")}
#if @spamvar5="" {} {gt %replacE(@spamvar5,"/","|")}
#if @spamvar6="" {} {gt %replacE(@spamvar6,"/","|")}
]]></value>
    </alias>
    <trigger priority="2730" copy="yes">
      <pattern>^({~*|})({@readylist|You})({~*|}) tell({s|}) the group '{rdy|ready|r}'$</pattern>
      <value>#if %2="You" {#delitem readylist @me
#additem readiedlist @me} {#delitem readylist %2
#additem readiedlist %2}
</value>
    </trigger>
    <trigger priority="8940" copy="yes">
      <pattern>^(%w) joins your group.</pattern>
      <value>#if %ismember(%1,@approvedlist) {} {#additem approvedlst %1}</value>
    </trigger>
    <var name="playerstats" type="Record" copy="yes">
      <value>Asena="1396/396|07/02/13(18:11:30:877)"|Apati="2064/1834|07/02/13(18:10:30:853)"|Loosey="1594/495|06/02/13(18:40:33:627)"|Nerita="9362/0|07/02/13(02:08:22:414)"|Longsight="10511/719|06/02/13(20:28:37:954)"|Dingping="3598/1642|07/02/13(17:46:30:082)"|Zof="7165/1734|06/02/13(17:59:06:689)"|Oni="5300/3837|05/02/13(12:25:25:905)"|Gtr="5979/251|05/02/13(20:46:39:353)"|Fuz="4762/744|05/02/13(20:43:09:203)"|Ded="3550/2072|06/02/13(16:49:39:397)"|Peder="1029/1208|05/02/13(08:27:07:075)"|Knowledge="1177/119|05/02/13(14:39:36:980)"|Solarwind="3556/3747|07/02/13(16:50:57:027)"|Ballin="1350/1110|05/02/13(22:07:41:934)"|Clockwork="1371/121|05/02/13(14:39:06:931)"|Deadpool="5197/1357|07/02/13(02:07:05:999)"|Drdoctor="1340/1825|02/02/13(23:28:52:223)"|Painmaker="2286/178|06/02/13(20:28:37:952)"|Demond="12507/0|05/02/13(20:44:40:296)"|Kanabo="12848/0|07/02/13(18:11:30:867)"|Monty="364/1752|06/02/13(13:16:51:126)"|Paloysius="1559/463|07/02/13(12:48:42:039)"|Ghostdog="681/197|05/02/13(20:46:39:351)"|Chrome="10031/736|07/02/13(18:15:40:070)"|Melimo="1503/124|06/02/13(22:45:09:883)"|Druexe="1164/1718|06/02/13(18:00:06:740)"|Kaida="2010/600|07/02/13(17:35:30:256)"|Tabion="6481/6951|07/02/13(16:08:36:067)"|Sumaru="4096/542|07/02/13(17:32:02:446)"|Zelda="4885/559|06/02/13(18:00:06:736)"|Warexe="1670/167|07/02/13(18:11:30:874)"|Spectrah="5965/3821|07/02/13(18:11:30:871)"|Alcarcalimo="1134/1703|04/02/13(12:19:24:357)"|Redbeard="6634/865|05/02/13(08:58:38:006)"|Zakath="4954/2923|05/02/13(11:39:08:426)"|Loosecannon="4525/1722|07/02/13(18:25:03:516)"|Faroose="768/1418|04/02/13(10:21:16:194)"|Auxerre="5542/4630|05/02/13(12:58:38:177)"|Barkhound="4919/4839|07/02/13(14:16:45:775)"|Mantlo="2724/31484|05/02/13(20:27:17:915)"|Frontline="1985/179|05/02/13(20:45:39:284)"|Groar="1394/1908|04/02/13(10:54:16:629)"|Gresh="4959/119|07/02/13(01:13:30:731)"|Scorpion="1855/786|05/02/13(14:30:36:642)"|Cromus="10364/553|06/02/13(23:16:02:689)"|Kaliepos="2714/2381|07/02/13(02:08:22:417)"|Wolfshadow="2537/302|05/02/13(06:00:14:202)"|Candypaint="6457/273|07/02/13(01:13:50:300)"|Tobir="1840/161|05/02/13(22:07:41:939)"|Thump="6562/251|07/02/13(00:38:18:933)"|Goldenboy="5614/465|05/02/13(18:35:48:318)"|Thedragon="3296/2848|05/02/13(12:55:56:902)"|Talli="5352/0|05/02/13(20:46:39:352)"|Zapp="1296/206|06/02/13(20:31:38:032)"|Sick="3855/7681|07/02/13(17:44:00:011)"|Puck="11337/0|07/02/13(18:11:30:870)"|Meds="4199/2483|07/02/13(16:52:27:240)"|Mant="2178/216|07/02/13(18:11:30:872)"|Link="3606/902|06/02/13(18:00:06:740)"|Drako="918/1404|07/02/13(18:48:21:712)"|Hwal="4427/942|05/02/13(19:10:59:360)"|Ruruoni="667/626|07/02/13(17:37:01:278)"|Ecky="843/1231|06/02/13(17:59:06:688)"|Cato="3854/6986|05/02/13(20:46:39:355)"|Aset="4665/4300|02/02/13(23:31:26:240)"|Dhank="2863/2794|05/02/13(18:43:09:003)"|Anni="2754/191|06/02/13(17:06:40:584)"|Malphite="2321/182|07/02/13(02:08:22:419)"|Lonesoul="8261/714|07/02/13(00:31:33:906)"|Kerrigher="1294/264|06/02/13(18:00:06:741)"|Sushi="10354/700|05/02/13(20:31:08:778)"|Kusarigama="3686/631|05/02/13(06:05:21:154)"|Selan="1489/503|06/02/13(18:00:06:736)"|Scram="3758/4484|07/02/13(01:20:54:221)"|Iahcra="3496/453|04/02/13(12:19:24:358)"|Chrom="9029/9768|07/02/13(12:53:29:858)"|Uchiha="3691/2052|07/02/13(14:22:48:246)"|Patrask="2813/498|07/02/13(14:52:49:118)"|Lloydable="2822/159|04/02/13(11:27:22:582)"|Priva="1463/458|07/02/13(12:46:12:140)"|Disintegrate="2137/3028|07/02/13(14:23:35:638)"|Virtuoso="1591/464|07/02/13(18:09:34:325)"|One="1763/240|07/02/13(18:09:34:324)"|Arusa="2197/446|07/02/13(16:52:27:243)"|Freckle="2133/374|07/02/13(18:11:30:873)"|Collector="1011/2027|07/02/13(17:37:01:279)"|Cometh="12185/0|07/02/13(17:37:01:266)"|Sems="9209/5602|07/02/13(17:07:34:038)"|Finfangfoom="4636/427|07/02/13(18:11:30:871)"|Zapper="1359/2141|07/02/13(18:09:34:326)"|Atsiem="4847/9272|07/02/13(17:43:02:201)"</value>
      <json>{"Freckle":["2133\/374","07\/02\/13(18:11:30:873)"],"Asena":["1396\/396","07\/02\/13(18:11:30:877)"],"Arusa":["2197\/446","07\/02\/13(16:52:27:243)"],"Apati":["2064\/1834","07\/02\/13(18:10:30:853)"],"Loosey":["1594\/495","06\/02\/13(18:40:33:627)"],"Nerita":["9362\/0","07\/02\/13(02:08:22:414)"],"Longsight":["10511\/719","06\/02\/13(20:28:37:954)"],"Dingping":["3598\/1642","07\/02\/13(17:46:30:082)"],"Priva":["1463\/458","07\/02\/13(12:46:12:140)"],"Zof":["7165\/1734","06\/02\/13(17:59:06:689)"],"Oni":["5300\/3837","05\/02\/13(12:25:25:905)"],"One":["1763\/240","07\/02\/13(18:09:34:324)"],"Gtr":["5979\/251","05\/02\/13(20:46:39:353)"],"Fuz":["4762\/744","05\/02\/13(20:43:09:203)"],"Ded":["3550\/2072","06\/02\/13(16:49:39:397)"],"Peder":["1029\/1208","05\/02\/13(08:27:07:075)"],"Knowledge":["1177\/119","05\/02\/13(14:39:36:980)"],"Finfangfoom":["4636\/427","07\/02\/13(18:11:30:871)"],"Solarwind":["3556\/3747","07\/02\/13(16:50:57:027)"],"Ballin":["1350\/1110","05\/02\/13(22:07:41:934)"],"Clockwork":["1371\/121","05\/02\/13(14:39:06:931)"],"Deadpool":["5197\/1357","07\/02\/13(02:07:05:999)"],"Drdoctor":["1340\/1825","02\/02\/13(23:28:52:223)"],"Atsiem":["4847\/9272","07\/02\/13(17:43:02:201)"],"Painmaker":["2286\/178","06\/02\/13(20:28:37:952)"],"Demond":["12507\/0","05\/02\/13(20:44:40:296)"],"Kanabo":["12848\/0","07\/02\/13(18:11:30:867)"],"Monty":["364\/1752","06\/02\/13(13:16:51:126)"],"Virtuoso":["1591\/464","07\/02\/13(18:09:34:325)"],"Paloysius":["1559\/463","07\/02\/13(12:48:42:039)"],"Ghostdog":["681\/197","05\/02\/13(20:46:39:351)"],"Chrome":["10031\/736","07\/02\/13(18:15:40:070)"],"Melimo":["1503\/124","06\/02\/13(22:45:09:883)"],"Druexe":["1164\/1718","06\/02\/13(18:00:06:740)"],"Kaida":["2010\/600","07\/02\/13(17:35:30:256)"],"Tabion":["6481\/6951","07\/02\/13(16:08:36:067)"],"Sumaru":["4096\/542","07\/02\/13(17:32:02:446)"],"Zelda":["4885\/559","06\/02\/13(18:00:06:736)"],"Warexe":["1670\/167","07\/02\/13(18:11:30:874)"],"Spectrah":["5965\/3821","07\/02\/13(18:11:30:871)"],"Alcarcalimo":["1134\/1703","04\/02\/13(12:19:24:357)"],"Redbeard":["6634\/865","05\/02\/13(08:58:38:006)"],"Zapper":["1359\/2141","07\/02\/13(18:09:34:326)"],"Zakath":["4954\/2923","05\/02\/13(11:39:08:426)"],"Loosecannon":["4525\/1722","07\/02\/13(18:25:03:516)"],"Faroose":["768\/1418","04\/02\/13(10:21:16:194)"],"Auxerre":["5542\/4630","05\/02\/13(12:58:38:177)"],"Barkhound":["4919\/4839","07\/02\/13(14:16:45:775)"],"Mantlo":["2724\/31484","05\/02\/13(20:27:17:915)"],"Frontline":["1985\/179","05\/02\/13(20:45:39:284)"],"Groar":["1394\/1908","04\/02\/13(10:54:16:629)"],"Gresh":["4959\/119","07\/02\/13(01:13:30:731)"],"Scorpion":["1855\/786","05\/02\/13(14:30:36:642)"],"Cromus":["10364\/553","06\/02\/13(23:16:02:689)"],"Kaliepos":["2714\/2381","07\/02\/13(02:08:22:417)"],"Wolfshadow":["2537\/302","05\/02\/13(06:00:14:202)"],"Candypaint":["6457\/273","07\/02\/13(01:13:50:300)"],"Tobir":["1840\/161","05\/02\/13(22:07:41:939)"],"Thump":["6562\/251","07\/02\/13(00:38:18:933)"],"Goldenboy":["5614\/465","05\/02\/13(18:35:48:318)"],"Thedragon":["3296\/2848","05\/02\/13(12:55:56:902)"],"Talli":["5352\/0","05\/02\/13(20:46:39:352)"],"Zapp":["1296\/206","06\/02\/13(20:31:38:032)"],"Sick":["3855\/7681","07\/02\/13(17:44:00:011)"],"Sems":["9209\/5602","07\/02\/13(17:07:34:038)"],"Puck":["11337\/0","07\/02\/13(18:11:30:870)"],"Meds":["4199\/2483","07\/02\/13(16:52:27:240)"],"Mant":["2178\/216","07\/02\/13(18:11:30:872)"],"Link":["3606\/902","06\/02\/13(18:00:06:740)"],"Drako":["918\/1404","07\/02\/13(18:48:21:712)"],"Hwal":["4427\/942","05\/02\/13(19:10:59:360)"],"Ruruoni":["667\/626","07\/02\/13(17:37:01:278)"],"Ecky":["843\/1231","06\/02\/13(17:59:06:688)"],"Cato":["3854\/6986","05\/02\/13(20:46:39:355)"],"Aset":["4665\/4300","02\/02\/13(23:31:26:240)"],"Dhank":["2863\/2794","05\/02\/13(18:43:09:003)"],"Anni":["2754\/191","06\/02\/13(17:06:40:584)"],"Malphite":["2321\/182","07\/02\/13(02:08:22:419)"],"Disintegrate":["2137\/3028","07\/02\/13(14:23:35:638)"],"Lonesoul":["8261\/714","07\/02\/13(00:31:33:906)"],"Kerrigher":["1294\/264","06\/02\/13(18:00:06:741)"],"Sushi":["10354\/700","05\/02\/13(20:31:08:778)"],"Kusarigama":["3686\/631","05\/02\/13(06:05:21:154)"],"Selan":["1489\/503","06\/02\/13(18:00:06:736)"],"Scram":["3758\/4484","07\/02\/13(01:20:54:221)"],"Collector":["1011\/2027","07\/02\/13(17:37:01:279)"],"Cometh":["12185\/0","07\/02\/13(17:37:01:266)"],"Iahcra":["3496\/453","04\/02\/13(12:19:24:358)"],"Chrom":["9029\/9768","07\/02\/13(12:53:29:858)"],"Uchiha":["3691\/2052","07\/02\/13(14:22:48:246)"],"Patrask":["2813\/498","07\/02\/13(14:52:49:118)"],"Lloydable":["2822\/159","04\/02\/13(11:27:22:582)"]}</json>
    </var>
    <trigger priority="16660" copy="yes">
      <pattern>^{~*|}({@groupies}){~*|} tells the group '({rem|add}){ove|} me'</pattern>
      <value>#if @rescuing=0 {#exit} {}
#if %lower(%2)="rem" {
#if %ismember(%1,@norescue) {gt ~|bp~|%1~|bw~| has already been removed.~|n~|
#exit} {}
gt ~|bp~|%1~|bw~| is no longer being rescued.~|n~|
#additem norescue %1
#delitem rescuelist %1} {}
#if %lower(%2)="add" {#if %ismember(%1,@rescuelist) {gt ~|bp~|%1~|bw~| has already been added.~|n~|
#exit} {}
#delitem norescue %1
#additem rescuelist %1
gt ~|bp~|%1~|bw~| added to rescuelist.~|n~|
} {}</value>
    </trigger>
    <trigger priority="16660" copy="yes">
      <pattern>^{~*|}({@groupies|You}){~*|} tell{s|} the group '.{rescuelist|rl}'</pattern>
      <value>#if @rescuelist="" {gt |bw|Nobody on rescuelist|n|} {gt ~|bw~|Rescue~[~|bc~|%delitem(@me,@rescuelist)~|bw~|~]}
#if @rescuelist="" {gt |bw|Nobody on norescue|n|} {gt ~|bw~|NoRescue~[~|bc~|@norescue~|bw~|~]}</value>
    </trigger>
  </class>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="122" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="2468" copy="yes">
    <caption>Gurney</caption>
    <value>#if @autogurney=1 {#var autogurney 0 0} {#var autogurney 1 0
#echo Autogurneying[@dead]}</value>
    <expr>@autogurney</expr>
    <gaugemax>1</gaugemax>
  </button>
  <var name="autogurney" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="groupcheck" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="lastgroupie" copy="yes">Drako</var>
  <var name="hitters" type="Literal" copy="yes"/>
  <var name="healers" type="Literal" copy="yes"/>
  <var name="tanks" type="Literal" copy="yes"/>
  <var name="stabbers" type="Literal" copy="yes"/>
  <var name="umm" type="Literal" copy="yes"/>
  <var name="casters" type="StringList" copy="yes">
    <value>Drako(Drg:mag)</value>
    <json>["Drako(Drg:mag)"]</json>
  </var>
  <var name="meat" type="Literal" copy="yes"/>
  <var name="spamit" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="classcheck" type="Literal" copy="yes"/>
  <var name="gcommand" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="gcommand2" type="Literal" copy="yes"/>
  <var name="gcommandp" copy="yes">Mant</var>
  <var name="gcomt" type="Literal" copy="yes"/>
  <var name="checkstat" type="Literal" copy="yes"/>
  <var name="checktarg" type="Literal" copy="yes"/>
  <var name="hpper" copy="yes">100.00</var>
  <var name="manaper" copy="yes">100.00</var>
  <class name="Damcount" copy="yes">
    <var name="damverbsdb" type="Record" sorted="1" copy="yes">
      <value><![CDATA[****DESTRUCTIVE****=25000|****EXTREME****=39000|***ANNIHILATING***=3950.5|***DECIMATING***=58|***DEMOLISHING***=1950.5|***DESTRUCTIVE***=24000|***DEVASTATING***=83|***DISEMBOWELING***=488|***DISMEMBERING***=730|***ERADICATING***=7800|***EVISCERATING***=238|***EXTREME***=38000|***MAIMING***=165.5|***MANGLING***=1450.5|***MASSACRING***=958|***MAULING***=36.5|***MUTILATING***=363|***OBLITERATING***=2900.5|***PORCINE***=59000|***PULVERIZING***=115.5|***VAPORIZING***=14000|**ANNIHILATING**=3700.5|**DECIMATING**=52.5|**DEMOLISHING**=1850.5|**DESTRUCTIVE**=23000|**DEVASTATING**=78|**DISEMBOWELING**=463|**DISMEMBERING**=675|**ERADICATING**=7500|**EVISCERATING**=213|**EXTREME**=37000|**MAIMING**=155.5|**MANGLING**=1350.5|**MASSACRING**=907.5|**MAULING**=32.5|**MUTILATING**=338|**OBLITERATING**=2700.5|**PORCINE**=57000|**PULVERIZING**=105.5|**VAPORIZING**=13000|*ANNIHILATING*=3500.5|*DECIMATING*=48|*DEMOLISHING*=1750.5|*DESTRUCTIVE*=22000|*DEVASTATING*=73|*DISEMBOWELING*=438|*DISMEMBERING*=606|*ERADICATING*=7000|*EVISCERATING*=195.5|*EXTREME*=36000|*MAIMING*=145.5|*MANGLING*=1250.5|*MASSACRING*=867|*MAULING*=28.5|*MUTILATING*=313|*OBLITERATING*=2500.5|*PORCINE*=55000|*PULVERIZING*=98|*VAPORIZING*=12000|---->>>>DESTRUCTIVE<<<<----=33000|---->>>>EXTREME<<<<----=50000|--->>>>*DESTRUCTIVE*<<<<---=32000|--->>>>*EXTREME*<<<<---=48000|-->>>>**DESTRUCTIVE**<<<<--=31000|-->>>>**EXTREME**<<<<--=47000|->>>>***DESTRUCTIVE***<<<<-=30000|->>>>***EXTREME***<<<<-=44500|>****DESTRUCTIVE****<=26000|>****EXTREME****<=40000|>***ANNIHILATING***<=4300.5|>***ERADICATING***<=8200|>***PORCINE***<=61000|>***VAPORIZING***<=15000|>>****DESTRUCTIVE****<<=27000|>>****EXTREME****<<=41000|>>***ANNIHILATING***<<=4754|>>***ERADICATING***<<=8500|>>***PORCINE***<<=65000|>>***VAPORIZING***<<=16500|>>>****DESTRUCTIVE****<<<=28000|>>>****EXTREME****<<<=42000|>>>***ANNIHILATING***<<<=5704.5|>>>***ERADICATING***<<<=9000|>>>***PORCINE***<<<=70000|>>>***VAPORIZING***<<<=18000|>>>>****DESTRUCTIVE****<<<<=29000|>>>>****EXTREME****<<<<=43000|>>>>***ANNIHILATING***<<<<=5902|>>>>***ERADICATING***<<<<=9500|>>>>***PORCINE***<<<<=75000|>>>>***VAPORIZING***<<<<=19000|amazing=12.5|annihilating=3100.5|ANNIHILATING1=3300.5|astonishing=16.5|daunting=100000|decimating=40.5|DECIMATING1=44.5|demolishing=1550.5|DEMOLISHING1=1650.5|destructive=20000|DESTRUCTIVE1=21000|devastating=63|DEVASTATING1=68|disemboweling=388|DISEMBOWELING1=413|dismembering=520.5|DISMEMBERING1=562|divine=80000|eradicating=6200|ERADICATING1=6500|eviscerating=175.5|EVISCERATING1=185.5|extreme=34000|EXTREME1=35000|maiming=125.5|MAIMING1=135.5|mangling=1050.5|MANGLING1=1150.5|massacring=769|MASSACRING1=810|mauling=20.5|MAULING1=24.5|mutilating=263|MUTILATING1=288|nil=0|obliterating=2100.5|OBLITERATING1=2300.5|pathetic=1.5|porcine=51000|PORCINE1=53000|pulverizing=88|PULVERIZING1=93|punishing=7.5|surprising=9.5|terminal=0|vaporizing=10000|VAPORIZING1=11000|weak=3.5]]></value>
      <json><![CDATA[{"****DESTRUCTIVE****":25000,"****EXTREME****":39000,"***ANNIHILATING***":3950.5,"***DECIMATING***":58,"***DEMOLISHING***":1950.5,"***DESTRUCTIVE***":24000,"***DEVASTATING***":83,"***DISEMBOWELING***":488,"***DISMEMBERING***":730,"***ERADICATING***":7800,"***EVISCERATING***":238,"***EXTREME***":38000,"***MAIMING***":165.5,"***MANGLING***":1450.5,"***MASSACRING***":958,"***MAULING***":36.5,"***MUTILATING***":363,"***OBLITERATING***":2900.5,"***PORCINE***":59000,"***PULVERIZING***":115.5,"***VAPORIZING***":14000,"**ANNIHILATING**":3700.5,"**DECIMATING**":52.5,"**DEMOLISHING**":1850.5,"**DESTRUCTIVE**":23000,"**DEVASTATING**":78,"**DISEMBOWELING**":463,"**DISMEMBERING**":675,"**ERADICATING**":7500,"**EVISCERATING**":213,"**EXTREME**":37000,"**MAIMING**":155.5,"**MANGLING**":1350.5,"**MASSACRING**":907.5,"**MAULING**":32.5,"**MUTILATING**":338,"**OBLITERATING**":2700.5,"**PORCINE**":57000,"**PULVERIZING**":105.5,"**VAPORIZING**":13000,"*ANNIHILATING*":3500.5,"*DECIMATING*":48,"*DEMOLISHING*":1750.5,"*DESTRUCTIVE*":22000,"*DEVASTATING*":73,"*DISEMBOWELING*":438,"*DISMEMBERING*":606,"*ERADICATING*":7000,"*EVISCERATING*":195.5,"*EXTREME*":36000,"*MAIMING*":145.5,"*MANGLING*":1250.5,"*MASSACRING*":867,"*MAULING*":28.5,"*MUTILATING*":313,"*OBLITERATING*":2500.5,"*PORCINE*":55000,"*PULVERIZING*":98,"*VAPORIZING*":12000,"---->>>>DESTRUCTIVE<<<<----":33000,"---->>>>EXTREME<<<<----":50000,"--->>>>*DESTRUCTIVE*<<<<---":32000,"--->>>>*EXTREME*<<<<---":48000,"-->>>>**DESTRUCTIVE**<<<<--":31000,"-->>>>**EXTREME**<<<<--":47000,"->>>>***DESTRUCTIVE***<<<<-":30000,"->>>>***EXTREME***<<<<-":44500,">****DESTRUCTIVE****<":26000,">****EXTREME****<":40000,">***ANNIHILATING***<":4300.5,">***ERADICATING***<":8200,">***PORCINE***<":61000,">***VAPORIZING***<":15000,">>****DESTRUCTIVE****<<":27000,">>****EXTREME****<<":41000,">>***ANNIHILATING***<<":4754,">>***ERADICATING***<<":8500,">>***PORCINE***<<":65000,">>***VAPORIZING***<<":16500,">>>****DESTRUCTIVE****<<<":28000,">>>****EXTREME****<<<":42000,">>>***ANNIHILATING***<<<":5704.5,">>>***ERADICATING***<<<":9000,">>>***PORCINE***<<<":70000,">>>***VAPORIZING***<<<":18000,">>>>****DESTRUCTIVE****<<<<":29000,">>>>****EXTREME****<<<<":43000,">>>>***ANNIHILATING***<<<<":5902,">>>>***ERADICATING***<<<<":9500,">>>>***PORCINE***<<<<":75000,">>>>***VAPORIZING***<<<<":19000,"amazing":12.5,"annihilating":3100.5,"ANNIHILATING1":3300.5,"astonishing":16.5,"daunting":100000,"decimating":40.5,"DECIMATING1":44.5,"demolishing":1550.5,"DEMOLISHING1":1650.5,"destructive":20000,"DESTRUCTIVE1":21000,"devastating":63,"DEVASTATING1":68,"disemboweling":388,"DISEMBOWELING1":413,"dismembering":520.5,"DISMEMBERING1":562,"divine":80000,"eradicating":6200,"ERADICATING1":6500,"eviscerating":175.5,"EVISCERATING1":185.5,"extreme":34000,"EXTREME1":35000,"maiming":125.5,"MAIMING1":135.5,"mangling":1050.5,"MANGLING1":1150.5,"massacring":769,"MASSACRING1":810,"mauling":20.5,"MAULING1":24.5,"mutilating":263,"MUTILATING1":288,"nil":0,"obliterating":2100.5,"OBLITERATING1":2300.5,"pathetic":1.5,"porcine":51000,"PORCINE1":53000,"pulverizing":88,"PULVERIZING1":93,"punishing":7.5,"surprising":9.5,"terminal":0,"vaporizing":10000,"VAPORIZING1":11000,"weak":3.5}]]></json>
    </var>
    <trigger priority="2900" copy="yes">
      <pattern>^You{r|} (%*) with ({@damlist}) {intensity|force|rage|viciousness|power|savagery|strength|might|brutality|passion|ferocity}%p$</pattern>
      <value>#if %lower(%2)=%2 {#sub ~[@me~]~[%2~]~[%db(@damverbsdb,%replace(%2,"=","-"))~]} {#if %ismember(%2,@lowercases) {#sub ~[@me~]~[%2~]~[%db(@damverbsdb,%replace(%2,"=","-")1)~]} {#sub ~[@me~]~[%2~]~[%db(@damverbsdb,%replace(%2,"=","-"))~]}}
#var meleed 1</value>
    </trigger>
    <var name="damlist" type="StringList" sorted="1" copy="yes">
      <value><![CDATA[****DESTRUCTIVE****|****EXTREME****|***ANNIHILATING***|***DECIMATING***|***DEMOLISHING***|***DESTRUCTIVE***|***DEVASTATING***|***DISEMBOWELING***|***DISMEMBERING***|***ERADICATING***|***EVISCERATING***|***EXTREME***|***MAIMING***|***MANGLING***|***MASSACRING***|***MAULING***|***MUTILATING***|***OBLITERATING***|***PORCINE***|***PULVERIZING***|***VAPORIZING***|**ANNIHILATING**|**DECIMATING**|**DEMOLISHING**|**DESTRUCTIVE**|**DEVASTATING**|**DISEMBOWELING**|**DISMEMBERING**|**ERADICATING**|**EVISCERATING**|**EXTREME**|**MAIMING**|**MANGLING**|**MASSACRING**|**MAULING**|**MUTILATING**|**OBLITERATING**|**PORCINE**|**PULVERIZING**|**VAPORIZING**|*ANNIHILATING*|*DECIMATING*|*DEMOLISHING*|*DESTRUCTIVE*|*DEVASTATING*|*DISEMBOWELING*|*DISMEMBERING*|*ERADICATING*|*EVISCERATING*|*EXTREME*|*MAIMING*|*MANGLING*|*MASSACRING*|*MAULING*|*MUTILATING*|*OBLITERATING*|*PORCINE*|*PULVERIZING*|*VAPORIZING*|====>>>>DESTRUCTIVE<<<<====|====>>>>EXTREME<<<<====|===>>>>*DESTRUCTIVE*<<<<===|===>>>>*EXTREME*<<<<===|==>>>>**DESTRUCTIVE**<<<<==|==>>>>**EXTREME**<<<<==|=>>>>***DESTRUCTIVE***<<<<=|=>>>>***EXTREME***<<<<=|>****DESTRUCTIVE****<|>****EXTREME****<|>***ANNIHILATING***<|>***ERADICATING***<|>***PORCINE***<|>***VAPORIZING***<|>>****DESTRUCTIVE****<<|>>****EXTREME****<<|>>***ANNIHILATING***<<|>>***ERADICATING***<<|>>***PORCINE***<<|>>***VAPORIZING***<<|>>>****DESTRUCTIVE****<<<|>>>****EXTREME****<<<|>>>***ANNIHILATING***<<<|>>>***ERADICATING***<<<|>>>***PORCINE***<<<|>>>***VAPORIZING***<<<|>>>>****DESTRUCTIVE****<<<<|>>>>****EXTREME****<<<<|>>>>***ANNIHILATING***<<<<|>>>>***ERADICATING***<<<<|>>>>***PORCINE***<<<<|>>>>***VAPORIZING***<<<<|amazing|annihilating|ANNIHILATING1|astonishing|daunting|decimating|DECIMATING1|demolishing|DEMOLISHING1|destructive|DESTRUCTIVE1|devastating|DEVASTATING1|disemboweling|DISEMBOWELING1|dismembering|DISMEMBERING1|divine|eradicating|ERADICATING1|eviscerating|EVISCERATING1|extreme|EXTREME1|maiming|MAIMING1|mangling|MANGLING1|massacring|MASSACRING1|mauling|MAULING1|mutilating|MUTILATING1|nil|obliterating|OBLITERATING1|pathetic|porcine|PORCINE1|pulverizing|PULVERIZING1|punishing|surprising|terminal|vaporizing|VAPORIZING1|weak]]></value>
      <json><![CDATA[["****DESTRUCTIVE****","****EXTREME****","***ANNIHILATING***","***DECIMATING***","***DEMOLISHING***","***DESTRUCTIVE***","***DEVASTATING***","***DISEMBOWELING***","***DISMEMBERING***","***ERADICATING***","***EVISCERATING***","***EXTREME***","***MAIMING***","***MANGLING***","***MASSACRING***","***MAULING***","***MUTILATING***","***OBLITERATING***","***PORCINE***","***PULVERIZING***","***VAPORIZING***","**ANNIHILATING**","**DECIMATING**","**DEMOLISHING**","**DESTRUCTIVE**","**DEVASTATING**","**DISEMBOWELING**","**DISMEMBERING**","**ERADICATING**","**EVISCERATING**","**EXTREME**","**MAIMING**","**MANGLING**","**MASSACRING**","**MAULING**","**MUTILATING**","**OBLITERATING**","**PORCINE**","**PULVERIZING**","**VAPORIZING**","*ANNIHILATING*","*DECIMATING*","*DEMOLISHING*","*DESTRUCTIVE*","*DEVASTATING*","*DISEMBOWELING*","*DISMEMBERING*","*ERADICATING*","*EVISCERATING*","*EXTREME*","*MAIMING*","*MANGLING*","*MASSACRING*","*MAULING*","*MUTILATING*","*OBLITERATING*","*PORCINE*","*PULVERIZING*","*VAPORIZING*","====>>>>DESTRUCTIVE<<<<====","====>>>>EXTREME<<<<====","===>>>>*DESTRUCTIVE*<<<<===","===>>>>*EXTREME*<<<<===","==>>>>**DESTRUCTIVE**<<<<==","==>>>>**EXTREME**<<<<==","=>>>>***DESTRUCTIVE***<<<<=","=>>>>***EXTREME***<<<<=",">****DESTRUCTIVE****<",">****EXTREME****<",">***ANNIHILATING***<",">***ERADICATING***<",">***PORCINE***<",">***VAPORIZING***<",">>****DESTRUCTIVE****<<",">>****EXTREME****<<",">>***ANNIHILATING***<<",">>***ERADICATING***<<",">>***PORCINE***<<",">>***VAPORIZING***<<",">>>****DESTRUCTIVE****<<<",">>>****EXTREME****<<<",">>>***ANNIHILATING***<<<",">>>***ERADICATING***<<<",">>>***PORCINE***<<<",">>>***VAPORIZING***<<<",">>>>****DESTRUCTIVE****<<<<",">>>>****EXTREME****<<<<",">>>>***ANNIHILATING***<<<<",">>>>***ERADICATING***<<<<",">>>>***PORCINE***<<<<",">>>>***VAPORIZING***<<<<","amazing","annihilating","ANNIHILATING1","astonishing","daunting","decimating","DECIMATING1","demolishing","DEMOLISHING1","destructive","DESTRUCTIVE1","devastating","DEVASTATING1","disemboweling","DISEMBOWELING1","dismembering","DISMEMBERING1","divine","eradicating","ERADICATING1","eviscerating","EVISCERATING1","extreme","EXTREME1","maiming","MAIMING1","mangling","MANGLING1","massacring","MASSACRING1","mauling","MAULING1","mutilating","MUTILATING1","nil","obliterating","OBLITERATING1","pathetic","porcine","PORCINE1","pulverizing","PULVERIZING1","punishing","surprising","terminal","vaporizing","VAPORIZING1","weak"]]]></json>
    </var>
    <trigger priority="2930" copy="yes">
      <pattern>^({@groupies}){'s|} (%*) ({@damlist}) {intensity|force|rage|viciousness|power|savagery|strength|might|brutality|passion|ferocity}%p$</pattern>
      <value>#if %match(%2,"backstab") {#if %ismember(%1,@rescuelist) {#if @rescuing=1 {#if @lagcounting>0 {#additem rescuetemp %1} {rescue %1}} {}} {}
#exit} {}
#if %2="glows with" {#exit} {}
#if %lower(%3)=%3 {#sub ~[%1~]~[%3~]~[%db(@damverbsdb,%replace(%3,"=","-"))~]} {#if %ismember(%3,@lowercases) {#sub ~[%1~]~[%3~]~[%db(@damverbsdb,%replace(%3,"=","-")1)~]} {#sub ~[%1~]~[%3~]~[%db(@damverbsdb,%replace(%3,"=","-"))~]}}
#var meleed 1

</value>
    </trigger>
    <trigger priority="2940" copy="yes">
      <pattern>^~[({@groupies})~]~[({@damlist})~]~[([1|2|3|4|5|6|7|8|9|0|.])~]</pattern>
      <value>#if %lower( %1)=%lower( @me) {#COLOR cyan,bright} {#color yellow,bright}
#if %lower(%2)="terminal" {#addkey groupterms %1 %eval(1+%db(@groupterms,%1))} {#if %iskey( @groupdams, %1) {
  #addkey groupdams %1 %eval(%3+%db(@groupdams,%1))
  #addkey grouphits %1 %eval(1+%db(@grouphits,%1))
  #addkey rounddb %1 %eval(%3+%db(@rounddb,%1))
  #addkey rounddb2 %1 @damtype
  } {
  #addkey groupdams %1 %3
  #addkey grouphits %1 1
  #addkey rounddb %1 %3
  #addkey rounddb2 %1 @damtype
  }}</value>
    </trigger>
    <var name="lowercases" type="StringList" copy="yes">
      <value>mauling|decimating|devastating|pulverizing|maiming|eviscerating|mutilating|disemboweling|dismembering|massacring|mangling|demolishing|obliterating|annihilating|eradicating|vaporizing|destructive|extreme|porcine</value>
      <json>["mauling","decimating","devastating","pulverizing","maiming","eviscerating","mutilating","disemboweling","dismembering","massacring","mangling","demolishing","obliterating","annihilating","eradicating","vaporizing","destructive","extreme","porcine"]</json>
    </var>
    <var name="grouphits" type="Record" copy="yes">
      <value>LooseCannon=14</value>
      <json>{"LooseCannon":14}</json>
    </var>
    <var name="groupdams" type="Record" copy="yes">
      <value>LooseCannon=16013</value>
      <json>{"LooseCannon":16013}</json>
    </var>
    <alias name="rs" copy="yes">
      <value><![CDATA[#var perdb ""
#var tempvar ""
#var highdam ""
#var highdamval 0
#var totaldam 0
#var highper 0
#var highperp ""
#var damspam ""
#var highperc 0
#var highpercp ""
#var percentdb ""
#var mosthits 0
#var mosthit ""
#loopdb @grouphits {#if %val>@mosthits {
    #var mosthits %val
    #var mosthit %key
    } {}}
#loopdb @groupdams {#var totaldam %eval( @totaldam+%val)}
#loopdb @groupdams {
  #if (%number( %val)>%number( @highdamval)) {
    #var highdamval %val
    #var highdam %key
    } {}
  #var tempvar %eval( %db( @groupdams, %key)/(%db( @grouphits, %key)))
  #addkey perdb %key @tempvar
  }
#loopdb @groupdams {
  #var tempvar %eval( %val*100/@totaldam )
  #addkey percentdb %key %format( 2, @tempvar)
  }
#loopdb @percentdb {#if %val>@highperc {
    #var highperc %val
    #var highpercp %key
    } {}}
#loopdb @perdb {#if %val>@highper {
    #var highper %val
    #var highperp %key
    } {}}
#if %lower( %1)="summary" {
  gt |bw|Summarized run statistics|n|
  #if %db( @xpdb, @me) {#if %db( @killsdb, @me) {gt |bc|%db( @xpdb, @me)|bw| exp gained from ~|br~|%db( @killsdb, @me) ~|bw~|kills. ~(Avg:~|bp~|%eval( %db( @xpdb, @me)/%db( @killsdb, @me))~|n~|~)~|n~|} {gt |bw|Total exp: |bc|%db( @xpdb, @me)|n|}} {#if %db( @killsdb, @me) {gt |bw|Kills: |br|%db( @killsdb, @me)|n|} {gt ~|bw~|No kills or exp recorded.~|n~|}}
  #if %db( @failexpdb, @me)>0 {#if %db( @fleddb, @me)>0 {gt ~|bw~|Flee Loss: ~|bc~|%db( @fleddb, @me)~|bw~|~(~|br~|%db( @fcountdb, @me)~|bw~|~).  Effective failed morph exp gain: ~|bc~|%eval( %db( @failexpdb, @me)-%db( @fleddb, @me))~|bw~|.} {~gt |bw|Exp gain due to failed morph: |br|%db( @failexpdb, @me)|bw|}} {#if %db( @fleddb, @me)>0 {gt ~|bw~|Flee Loss: ~|bc~|%db( @fleddb, @me)~|bw~|~(~|br~|%db( @fcountdb, @me)~|bw~|~).  Effective exp gain: ~|bc~|%eval( %db( @xpdb, @me)-%db( @fleddb, @me))~|bw~|.} {}}
  #if @runhp=0 {#if @runmana=0 {} {gt ~|bw~|Total gains:~|bc~|@runhp~/@runmana~|bw~| Avg: %format( 3, %eval( %format( 2, @runhp)/@levelgain))~/%format( 3, %eval( %format( 2, @runmana)/@levelgain))~|n~|}} {gt ~|bw~|Total gains:~|bc~|@runhp~/@runmana~|bw~| Avg: ~|bc~|%format( 3, %eval( %format( 2, @runhp)/@levelgain))~/%format( 3, %eval( %format( 2, @runmana)/@levelgain))~|n~|}
  #if @groupdams="" {gt |bw|No damage yet recorded.|n|} {
    gt |bw|Most overall damage done: |bp|@highdam|bw|~[|bc|%db( @groupdb, @highdam)|bw|~] - %format(2,@highdamval) ~(@highperc~%~)|n|
    gt |bw|Most damage per hit: |bp|@highperp|bw|~[|bc|%db( @groupdb, @highperp)|bw|~] - %format(2,@highper)|n|
    } {}
  }
#if %lower( %1)="detail" {rsspam} {}]]></value>
    </alias>
    <var name="groupterms" type="Record" copy="yes">
      <value>LooseCannon=3</value>
      <json>{"LooseCannon":3}</json>
    </var>
    <var name="perdb" type="Record" copy="yes">
      <value>Spectrah=488|Kanabo=678|Finfangfoom=561|Mant=674.546822742475|Apati=303.010080645161|Virtuoso=147.042410714286|Asena=568.43018018018|Warexe=525.056640625|One=862.554435483871|Puck=550.379237288136|Zapper=407.383435582822|Freckle=676.981557377049</value>
      <json>{"Freckle":676.981557377049,"Asena":568.43018018018,"Apati":303.010080645161,"One":862.554435483871,"Finfangfoom":561,"Kanabo":678,"Virtuoso":147.042410714286,"Warexe":525.056640625,"Spectrah":488,"Zapper":407.383435582822,"Puck":550.379237288136,"Mant":674.546822742475}</json>
    </var>
    <var name="percentdb" type="Record" copy="yes">
      <value>Spectrah=10.3|Kanabo=11.23|Finfangfoom=9.43|Mant=12.15|Apati=4.53|Virtuoso=1.98|Asena=7.6|Warexe=8.1|One=12.89|Puck=7.83|Zapper=4.|Freckle=9.95</value>
      <json>{"Freckle":9.95,"Asena":7.6,"Apati":4.53,"One":12.89,"Finfangfoom":9.43,"Kanabo":11.23,"Virtuoso":1.98,"Warexe":8.1,"Spectrah":10.3,"Zapper":4.,"Puck":7.83,"Mant":12.15}</json>
    </var>
    <alias name="rsspam" copy="yes">
      <value><![CDATA[#var hitcounts 0
#var inddam ""
#var indper ""
#var indperc ""
#var avera 0
#var averb ""
#var tempvar ""
#var lastverb 0
gt |bw|Detailed run statistics|n|
#if %db( @xpdb, @me) {#if %db( @killsdb, @me) {gt |bc|%db( @xpdb, @me)|bw| exp gained from ~|br~|%db( @killsdb, @me) ~|bw~|kills. ~(Avg:~|bp~|%eval( %db( @xpdb, @me)/%db( @killsdb, @me))~|n~|~)~|n~|} {gt |bw|Total exp: |bc|%db( @xpdb, @me)|n|}} {#if %db( @killsdb, @me) {gt |bw|Kills: |br|%db( @killsdb, @me)|n|} {gt ~|bw~|No kills or exp recorded.~|n~|}}
#if %db( @failexpdb, @me)>0 {#if %db( @fleddb, @me)>0 {gt ~|bw~|Flee Loss: ~|bc~|%db( @fleddb, @me)~|bw~|~(~|br~|%db( @fcountdb, @me)~|bw~|~).  Effective failed morph exp gain: ~|bc~|%eval( %db( @failexpdb, @me)-%db( @fleddb, @me))~|bw~|.} {~gt |bw|Exp gain due to failed morph: |br|%db( @failexpdb, @me)|bw|}} {#if %db( @fleddb, @me)>0 {gt ~|bw~|Flee Loss: ~|bc~|%db( @fleddb, @me)~|bw~|~(~|br~|%db( @fcountdb, @me)~|bw~|~).  Effective exp gain: ~|bc~|%eval( %db( @xpdb, @me)-%db( @fleddb, @me))~|bw~|.} {}}
#if @runhp=0 {#if @runmana=0 {} {gt ~|bw~|Total gains:~|bc~|@runhp~/@runmana~|bw~| Avg: %format( 3, %eval( %format( 2, @runhp)/@levelgain))~/%format( 3, %eval( %format( 2, @runmana)/@levelgain))~|n~|}} {gt ~|bw~|Total gains:~|bc~|@runhp~/@runmana~|bw~| Avg: ~|bc~|%format( 3, %eval( %format( 2, @runhp)/@levelgain))~/%format( 3, %eval( %format( 2, @runmana)/@levelgain))~|n~|}
#if @levelgain>0 {gt |bc|@levelgain|bw| levels gained|n|} {}
#var missbash ""
#var bashed ""
#loopdb @missbashdb {#additem missbash %key:%val}
#loopdb @bashdb {#additem bashed %key:%val}
#if %numitems( @bashed)>0 {gt ~|bw~|Successful Bashes~[~|bp~|@bashed~|bw~|~]} {}
#if %numitems( @missbash)>0 {gt ~|bw~|Missed Bashes~[~|bp~|@missbash~|bw~|~]} {}
#if @groupdams="" {gt |bw|No damage yet recorded.|n|} {
  gt |bw|Damage breakdown:
  ~gt |bw|Groupie           Hits Damage
  #loopdb @groupdams {
    #if %key=@highdam {#var inddam ~|br~|%val} {#var inddam %val}
    #if %key=@highpercp {#var indperc ~|br~|@highperc} {#var indperc %db( @percentdb, %key)}
    #var tempvar %eval( 20-%len( %key%db( @grouphits, %key)))
    #var indper %db( @perdb, %key)
    #loopdb @damverbsdb {#if @indper>=%number( %val) {#if (%number( %val)>=%number( @lastverb)) {
          #var lastverb %val
          #var averb %key
          } {}} {}}
    #var lastverb 0
    #if @averb="terminal" {#var averb nil} {}
    #if %key=@highperp {
      #var indper1 ~|br~|%format( 1, @highper)
      #var averb ~|br~|@averb
      } {#var indper1 %format( 1, %db( @perdb, %key))}
    #if %rightback( @averb, 1)="1" {#var averb %leftback( @averb, 1)} {}
    #if %lower( %key)=%lower( @mosthit) {#var hitcounts ~|br~|@mosthits} {#var hitcounts %db( @grouphits, %key)}
    gt |bw|%key%repeat( ".", @tempvar)~(@hitcounts~|bw~|~):|bc|@inddam~|bw~|~(@indperc~|bp~|~%|bw|~) Average: @averb~|bw~|~(@indper1~|bw~|~)
    }
  }]]></value>
    </alias>
    <var name="totaldam" copy="yes">1659707.5</var>
    <trigger priority="3840" copy="yes">
      <pattern>Ecka glows with Divine Awen!</pattern>
    </trigger>
    <trigger priority="4740" copy="yes">
      <pattern>^You couldn't get away!  You lose (%d) exps.</pattern>
      <value>#addkey fleddb %eval(%db(@fleddb,@me)+%1)
#addkey fcountdb %eval(%db(@fcountdb,@me)+1)</value>
    </trigger>
    <trigger priority="4750" copy="yes">
      <pattern>^You flee %w! What a COWARD! You lose (%d) exps!</pattern>
      <value>#addkey fleddb @me %eval(%db(@fleddb,@me)+%1)
#addkey fcountdb @me %eval(%db(@fcountdb,@me)+1)</value>
    </trigger>
    <trigger priority="5370" copy="yes">
      <pattern>^%1's attack{s|} {strike|haven't hurt}{s|} ({@groupies|you})</pattern>
      <value>#CO red,bright
#ad mobcount 1
#ad fround 1
#var fround2 1
</value>
    </trigger>
    <var name="mobcondition" copy="yes">is in excellent condition.|has a few scratches.|has some small wounds and bruises.|has quite a few wounds.|has some big nasty wounds and scratches.|looks pretty hurt.|is in awful condition.</var>
    <trigger priority="6790" copy="yes">
      <pattern>^({@groupies|You}) attempt{s|} to bash into %2 and {@groupies|you} {goes|fall} down!$</pattern>
      <value>#if %1="You" {#addkey missbashdb @me %eval(%db(@missbashdb,@me)+1)} {#addkey missbashdb %1 %eval(%db(@missbashdb,%1)+1)}</value>
    </trigger>
    <trigger priority="6800" copy="yes">
      <pattern>^({@groupies|You}) bash{es|} into %2 and %3 goes down!$</pattern>
      <value>#if %1="You" {#addkey bashdb @me %eval(%db(@bashdb,@me)+1)} {#addkey bashdb %1 %eval(%db(@bashdb,%1)+1)}</value>
    </trigger>
    <trigger priority="5370" copy="yes">
      <pattern>^%1's attack{s|} {strike|haven't hurt}{s|} ({@rescuelist})</pattern>
      <value>#var rescuenow 1
#additem rescuenowlist %2</value>
    </trigger>
    <alias name="roundspam" copy="yes">
      <value>#loopdb @rounddb {
#if %val=0 {} {
#echo ~[%key~]~[%db(@rounddb2,%key)~]~[%val~]}}
#var rounddb ""
#var rounddb2 ""
#var wasround 0</value>
    </alias>
  </class>
  <var name="dead" type="Literal" copy="yes"/>
  <var name="highdam" copy="yes">One</var>
  <var name="highdamval" copy="yes">213913.5</var>
  <var name="damspam" type="Literal" copy="yes"/>
  <var name="highperc" copy="yes">12.89</var>
  <var name="tempvar" copy="yes">10</var>
  <var name="highper" copy="yes">862.554435483871</var>
  <var name="highperp" copy="yes">One</var>
  <var name="highpercp" copy="yes">One</var>
  <var name="inddam" copy="yes">165183.5</var>
  <var name="indper" copy="yes">676.981557377049</var>
  <var name="indperc" copy="yes">9.95</var>
  <var name="mosthits" copy="yes">350</var>
  <var name="mosthit" copy="yes">Spectrah</var>
  <var name="avera" copy="yes">0</var>
  <var name="averb" copy="yes">**DISMEMBERING**</var>
  <var name="averc" copy="yes">|br|</var>
  <var name="indper1" copy="yes">677.0</var>
  <var name="lastverb" copy="yes">0</var>
  <var name="hitcounts" copy="yes">244</var>
  <var name="nottank" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="tank" copy="yes">Drako</var>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="183" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="3308" copy="yes">
    <caption>Spunj</caption>
    <value>#if @spunj=0 {
  #var spunj 1 0
  #var chromvar 0 0
  #if %ismember(%lower( @myclass),"Rog|Bld|Bci|Asn") {#yesno "Sneak Attack,Target Bash, or Kill/Bash?" {Sneak:#var chromvar 1} {Target Bash:#var chromvar 2} {Kill/Bash:#var chromvar 3} {Kill:#var chromvar 4}} {}
  } {#var spunj 0 0}
</value>
    <expr>@spunj</expr>
    <gaugemax>1</gaugemax>
  </button>
  <var name="spunj" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <trigger priority="3320" copy="yes">
    <pattern>^(%w)'s idea of Good and Evil is just too different from yours!</pattern>
    <value>t %1 Wrong alignment.  Try ~|br~|holies~|n~| for seperate awen.
forget %1</value>
  </trigger>
  <trigger priority="3330" copy="yes">
    <pattern>You fire at %1 and miss!</pattern>
    <value>get arrow
get stone
get bolt</value>
  </trigger>
  <class name="Affects" copy="yes">
    <trigger priority="3350" copy="yes">
      <pattern>^You are affected by:</pattern>
      <value>#var affectedby ""
#var affectedby2 ""
#var affectedby3 @affspells
#var affectedby4 ""
#var poisonup ""
#var needing @needlist
#var needcheck 1
#if @autosaver=1 {#var autosaver 2} {}
#if @autosaver=2 {#gag} {}
needspells
</value>
    </trigger>
    <var name="affectedby" type="Literal" copy="yes"/>
    <var name="affectedby2" type="StringList" copy="yes">
      <value>infravision|protection evil</value>
      <json>["infravision","protection evil"]</json>
    </var>
    <var name="affspells" type="StringList" copy="yes">
      <value>astral shield|savvy|acumen|concentrate|barkskin|awen|sanctuary|frenzy|bless|holy aura|holy armor|armor|invincibility|infravision|detect evil|detect hidden|detect magic|detect invis|foci|pass door|fly|shield|stone skin|giant strength|fortitudes|energy shield|displacement|body brace|mental barrier|calcify flesh|biofeedback|anticipate|adrenaline pump|water breathing|steel skeleton|iron skin|sneak|move hidden|aegis|racial frenzy|invis|mystical barrier|armor optimization|improved invis|shadow form|torment|unrest|fear|intervention|barbed arrow|ether link|ether warp|innocence|panic|dervish dance|bladedance|inspiring dance|dark embrace|rampage aura||tainted genius|detect alignment|emu stance|bladetrance|alertness|iron monk|flash</value>
      <json>["astral shield","savvy","acumen","concentrate","barkskin","awen","sanctuary","frenzy","bless","holy aura","holy armor","armor","invincibility","infravision","detect evil","detect hidden","detect magic","detect invis","foci","pass door","fly","shield","stone skin","giant strength","fortitudes","energy shield","displacement","body brace","mental barrier","calcify flesh","biofeedback","anticipate","adrenaline pump","water breathing","steel skeleton","iron skin","sneak","move hidden","aegis","racial frenzy","invis","mystical barrier","armor optimization","improved invis","shadow form","torment","unrest","fear","intervention","barbed arrow","ether link","ether warp","innocence","panic","dervish dance","bladedance","inspiring dance","dark embrace","rampage aura","","tainted genius","detect alignment","emu stance","bladetrance","alertness","iron monk","flash"]</json>
    </var>
    <var name="affectedby3" type="StringList" copy="yes">
      <value>astral shield|savvy|acumen|concentrate|barkskin|awen|sanctuary|frenzy|bless|holy aura|holy armor|armor|invincibility|detect evil|detect hidden|detect magic|detect invis|foci|pass door|fly|shield|stone skin|giant strength|fortitudes|energy shield|displacement|body brace|mental barrier|calcify flesh|biofeedback|anticipate|adrenaline pump|water breathing|steel skeleton|iron skin|sneak|move hidden|aegis|racial frenzy|invis|mystical barrier|armor optimization|improved invis|shadow form|torment|unrest|fear|intervention|barbed arrow|ether link|ether warp|innocence|panic|dervish dance|bladedance|inspiring dance|dark embrace|rampage aura||tainted genius|detect alignment|emu stance|bladetrance|alertness|iron monk|flash</value>
      <json>["astral shield","savvy","acumen","concentrate","barkskin","awen","sanctuary","frenzy","bless","holy aura","holy armor","armor","invincibility","detect evil","detect hidden","detect magic","detect invis","foci","pass door","fly","shield","stone skin","giant strength","fortitudes","energy shield","displacement","body brace","mental barrier","calcify flesh","biofeedback","anticipate","adrenaline pump","water breathing","steel skeleton","iron skin","sneak","move hidden","aegis","racial frenzy","invis","mystical barrier","armor optimization","improved invis","shadow form","torment","unrest","fear","intervention","barbed arrow","ether link","ether warp","innocence","panic","dervish dance","bladedance","inspiring dance","dark embrace","rampage aura","","tainted genius","detect alignment","emu stance","bladetrance","alertness","iron monk","flash"]</json>
    </var>
    <alias name="spellcheck" copy="yes"/>
    <var name="affectedby4" type="Literal" copy="yes"/>
    <trigger priority="3500" copy="yes">
      <pattern>You are not under the affects of any spells or skills.</pattern>
      <value>#var affectedby ""
#var affectedby2 ""
#var affectedby3 @affspells
#var affectedby4 ""
#var poisonup ""
#var needing @needlist
#var needcheck 1
#if @autosaver=1 {#var autosaver 2} {}
#if @autosaver=2 {#gag} {}
needspells</value>
    </trigger>
    <var name="poisons" type="StringList" copy="yes">
      <value>biotoxin|poison|toxin|venom|heartbane|doom toxin|virus|liquid pain|psychotia|pyrovirus|migraine|plague|curse|scramble|faerie fire|demonfire|rescuer mod|calm|racial revival|rally|immolation|hand of god|glorious conquest|heighten senses|protection good|protection evil|boost|awe|calm|overconfidence</value>
      <json>["biotoxin","poison","toxin","venom","heartbane","doom toxin","virus","liquid pain","psychotia","pyrovirus","migraine","plague","curse","scramble","faerie fire","demonfire","rescuer mod","calm","racial revival","rally","immolation","hand of god","glorious conquest","heighten senses","protection good","protection evil","boost","awe","calm","overconfidence"]</json>
    </var>
    <trigger priority="3360" copy="yes">
      <pattern>^Spell: ~'%1~'.</pattern>
      <value>#gag
#if %1="frenzy" {#if %ismember("frenzy",@affectedby2) {#exit} {}} {}
#var slen %2
#if %2="" {#var slen cont} {}
#delitem affectedby3 %1
#if %ismember(%1,"sanctuary|frenzy|detect invis|water breathing") {#var affectedby %push(~*~[%ansi(red,bright)@slen%ansi(green)~]%1,@affectedby)} {#additem affectedby ~[%ansi(red,bright)@slen%ansi(green)~]%1}
#additem affectedby2 %1
#if %ismember(%1,@affspells) {} {#if %ismember(%1,@poisons) {#additem poisonup %ansi(green)~[%ansi(red,bright)%2%ansi(green)~]%ansi(yellow)%1} {#additem affspells %1}}</value>
    </trigger>
    <var name="affsubs" type="StringList" copy="yes">
      <value>aegis|sanctuary|frenzy|foci|fortitudes|water breathing|immolation|hand of god|pass door|fly|acumen|savvy|astral shield|protection evil|protection good|holy aura|steel skeleton|barkskin|concentrate|ether link|ether warp</value>
      <json>["aegis","sanctuary","frenzy","foci","fortitudes","water breathing","immolation","hand of god","pass door","fly","acumen","savvy","astral shield","protection evil","protection good","holy aura","steel skeleton","barkskin","concentrate","ether link","ether warp"]</json>
    </var>
    <var name="needlist" type="StringList" copy="yes">
      <value>barkskin|awen|sanctuary|frenzy|bless|holy aura|holy armor|armor|invincibility|infravision|detect evil|detect hidden|detect magic|detect invis|foci|pass door|fly|shield|stone skin|giant strength|fortitudes|energy shield|displacement|body brace|mental barrier|calcify flesh|biofeedback|anticipate|adrenaline pump|water breathing|steel skeleton|iron skin|aegis</value>
      <json>["barkskin","awen","sanctuary","frenzy","bless","holy aura","holy armor","armor","invincibility","infravision","detect evil","detect hidden","detect magic","detect invis","foci","pass door","fly","shield","stone skin","giant strength","fortitudes","energy shield","displacement","body brace","mental barrier","calcify flesh","biofeedback","anticipate","adrenaline pump","water breathing","steel skeleton","iron skin","aegis"]</json>
    </var>
    <trigger priority="3360" copy="yes">
      <pattern>^Spell: ~'%1~'  ({@afflengths})</pattern>
      <value>#if %ismember(%1,"sanctuary|frenzy|sneak|move hidden|awen|aegis|fortitudes|foci|water breathing|detect invis|detect hidden|giant strength|acumen|savvy|astral shield|intervention|barkskin|steel skeleton|ether linke|ether warp|ether crash|concentrate|mystical barrier") {#sub %ansi(cyan,bright)%1[%ansi(red,bright)%db(@afflengthsdb,%2)%ansi(cyan,bright)]} {#if %ismember(%1,@poisons) {#sub %ansi(gray,bright)%1[%ansi(red,bright)%db(@afflengthsdb,%2)%ansi(gray,bright)]} {#gag}
}
#if @autosaver=2 {#gag} {}
#if %1="frenzy" {#if %ismember("frenzy",@affectedby2) {#exit} {}} {}
#var slen %2
#if %2="" {#var slen cont} {}
#delitem affectedby3 %1
#additem affectedby2 %1
#if %ismember(%1,@affspells) {} {#if %ismember(%1,@poisons) {#additem poisonup %ansi(green)~[%ansi(red,bright)%db(@afflengthsdb,%2)%ansi(green)~]%ansi(yellow)%1} {#additem affspells %1}}
#delitem @needing %1
#if %ismember(%1,"aegis|awen|holy aura") {#delitem needing awen
#delitem needing aegis} {}
#if %ismember(%1,"protection good|protection evil") {#delitem needing {protection good}
#delitem needing {protection evil}} {}
#if %ismembeR(%1,"frenzy|fervor") {#delitem needing frenzy
#delitem needing fervor} {}</value>
    </trigger>
    <alias name="needspells" copy="yes">
      <value>#if %lower(@myclass)="wzd" {#additem needing {astral shield}
#additem needing savvy
#additem needing acumen
#additem needing concentrate
#delitem needing frenzy
#delitem needing fervor
} {}
#if %lower(@myclass)="cle" {#additem needing acumen
#additem needing concentrate} {}
#if %lower(@myclass)="arc" {#additem needing concentrate} {}
</value>
    </alias>
    <var name="afflengths" type="StringList" copy="yes">
      <value>For seemingly forever|For a very long time|For a long time|For a while|For a small amount of time|For a tiny amount of time|Seems to be wavering</value>
      <json>["For seemingly forever","For a very long time","For a long time","For a while","For a small amount of time","For a tiny amount of time","Seems to be wavering"]</json>
    </var>
    <var name="afflengthsdb" type="Record" copy="yes">
      <value>For a tiny amount of time=2-3|Seems to be wavering=0-1|For a while=6-10|For seemingly forever=51+|For a small amount of time=4-5|For a long time=11-25|For a very long time=26-50</value>
      <json>{"For a tiny amount of time":"2-3","Seems to be wavering":"0-1","For a while":"6-10","For seemingly forever":"51+","For a small amount of time":"4-5","For a long time":"11-25","For a very long time":"26-50"}</json>
    </var>
    <trigger priority="3360" copy="yes">
      <pattern>^Spell: ~'%1~'{ %* |}{.|for (%d) hours.|continuous.|for seemingly forever.}</pattern>
      <value>#if %ismember(%1,"sanctuary|frenzy|sneak|move hidden|awen|aegis|fortitudes|foci|water breathing|detect invis|detect hidden|giant strength|acumen|savvy|astral shield|intervention|barkskin|steel skeleton|ether linke|ether warp|ether crash|concentrate|mystical barrier|pass door|bladedance|bladetrance|inspiring dance") {#sub %ansi(cyan,bright)%1[%ansi(red,bright)%2%ansi(cyan,bright)]} {#if %ismember(%1,@poisons) {#sub %ansi(gray,bright)%1[%ansi(red,bright)%2%ansi(gray,bright)]} {#gag}
}
#if @autosaver=2 {#gag} {}
#if %1="frenzy" {#if %ismember("frenzy",@affectedby2) {#exit} {}} {}
#var slen %2
#if %2="" {#var slen cont} {}
#delitem affectedby3 %1
#additem affectedby2 %1
#if %ismember(%1,@affspells) {} {#if %ismember(%1,@poisons) {#additem poisonup %ansi(green)~[%ansi(red,bright)%2%ansi(green)~]%ansi(yellow)%1} {#additem affspells %1}}
#delitem @needing %1
#if %ismember(%1,"aegis|awen|holy aura") {#delitem needing awen
#delitem needing aegis} {}
#if %ismember(%1,"protection good|protection evil") {#delitem needing {protection good}
#delitem needing {protection evil}} {}
#if %ismembeR(%1,"frenzy|fervor") {#delitem needing frenzy
#delitem needing fervor} {}</value>
    </trigger>
  </class>
  <stat name="test" showinbar="false" showinwindow="true" priority="3380" copy="yes">
    <value>%replace(@poisonup,"|",%cr)
%ansi(green)----------------------
%replace(@affectedby,"|",%cr)
----------------------
%replace(@affectedby3,"|",%cr)</value>
  </stat>
  <var name="test" type="StringList" copy="yes"/>
  <var name="slen" copy="yes">cont</var>
  <var name="poisonup" type="StringList" copy="yes">
    <value><![CDATA[&#27;[32m[&#27;[51m&#27;[32m]&#27;[53mprotection evil]]></value>
    <json><![CDATA[["&#27;[32m[&#27;[51m&#27;[32m]&#27;[53mprotection evil"]]]></json>
  </var>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="244" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="3567" copy="yes">
    <caption>Fletch</caption>
    <value>#if @fletchbot>0 {#var fletchbot 0 0
#var fletchlag 0 0
} {#var fletchbot 1 0
#var fletchlag 300
#var fletched 0
#var fletchcount 0}</value>
    <expr>@fletchlag</expr>
    <gaugemax>300</gaugemax>
  </button>
  <var name="fletchbot" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <class name="Fletch" copy="yes">
    <trigger priority="3580" copy="yes">
      <pattern>^Your efforts produced (%d) (%w) ({arrow|bolt|sling stone}){s|}</pattern>
      <value>#if @fletchbot=1 {
  #var fletchtype %2
  #var fletchtype2 %3
  #ad fletched %1
  #ad fletchcount 1
  #var fletchlag 300 0
  #echo Total:@fletched~(Ave:%format(2,%eval( %format(2,@fletched)/@fletchcount))~)
  #alarm +30 {#if @fletchbot=1 {fletch '@fletchtype2' @fletchtype}}
  } {}</value>
    </trigger>
    <trigger priority="3640" copy="yes">
      <pattern>^You discard your empty toolkit</pattern>
      <value>#if @fletchbot=1 {wear fletch} {}</value>
    </trigger>
    <trigger priority="4860" copy="yes">
      <pattern>You don't have enough mana to make (%w) ({arrow|bolt|sling stone}){s|}.</pattern>
      <value>  #var fletchtype %1
  #var fletchtype2 %2
  #var fletchbot 2
  sl</value>
    </trigger>
  </class>
  <var name="fletched" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="fletchcount" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="fletchtype" copy="yes">piercing</var>
  <var name="fletchtype2" copy="yes">arrow</var>
  <var name="fletchlag" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="fletchmax" copy="yes">300</var>
  <var name="Voting" copy="yes">"http://www.topmudsites.com/vote-snikt.html","Top MUD Sites - MUDS, MUD Forums, Articles, Reviews, MUD Database and Rankings"</var>
  <class name="Brandishes" copy="yes">
    <trigger priority="3760" copy="yes">
      <pattern>({You|@groupies}) brandish{es|} {the Black Staff of Typhus|the emerald sceptre of light}.</pattern>
      <value>#var ghealed 0
#var bchecking 1 0
#if %lower(%1)="you" {#var chargesleft %eval(@chargesleft-1)
#echo %ansi(red,bright)@chargesleft charges left.} {}</value>
    </trigger>
    <trigger priority="3780" copy="yes">
      <pattern>^A large number of ({@groupies})'s wounds are healed.$</pattern>
      <value>#if @bchecking=1 {#ad ghealed 1
#psub {%1~[%ansi(red)@ghealed%ansi(green)~]} %x1} {}</value>
    </trigger>
    <trigger priority="5470" copy="yes">
      <pattern>A warm feeling fills your body.</pattern>
      <value>#if @bchecking=1 {#ad ghealed 1
#echo {~[%ansi(red)@ghealed%ansi(green)~]}} {}</value>
    </trigger>
  </class>
  <var name="healed" copy="yes">0</var>
  <var name="ghealed" copy="yes">10</var>
  <var name="bchecking" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <trigger priority="3810" copy="yes">
    <pattern>^     A brace of piercing arrows are lying on the ground.</pattern>
    <value>#if %lower(@me)="longsight" {get arrow} {}</value>
  </trigger>
  <trigger type="Command Input" priority="3850" copy="yes">
    <pattern>^all (%*)</pattern>
    <value>#if %1="off" {augment off;surge off;quicken off} {~all}</value>
  </trigger>
  <var name="missing" type="StringList" copy="yes">
    <json>[]</json>
  </var>
  <var name="misscheck" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <alias name="welc" copy="yes">
    <value>randomize %proper(%1)
#var welcomevar1 @randomvar
randomize %proper(%1)
#var welcomevar2 @randomvar
randomize %proper(%1)
#var welcomevar3 @randomvar
ncha Welcome to Avatar @welcomevar1|n|, @welcomevar2|n|, @welcomevar3|n|.</value>
  </alias>
  <var name="theword1" copy="yes">mid</var>
  <trigger priority="4090" copy="yes">
    <pattern>Twinblade gives you key from a Greased Pig.</pattern>
    <value>res;give key twin;sl</value>
  </trigger>
  <alias name="wormslide" copy="yes">
    <value>randomize intestinal worm slide
ncha *Does the @randomvar|n| across the realm!*
randomize intestinal worm slide
cha *Does the @randomvar|n| across the realm!*
randomize intestinal worm slide
hero *Does the @randomvar|n| across the realm!*
randomize intestinal worm slide
lord *Does the @randomvar|n| across the realm!*</value>
  </alias>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="305" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="4161" copy="yes">
    <caption>Bark</caption>
    <value>#if @barkon=1 {#var barkon 0 0} {#var barkon 1 0}</value>
    <expr>@barkon</expr>
    <gaugemax>1</gaugemax>
  </button>
  <var name="barkon" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <trigger priority="4170" copy="yes">
    <pattern>^%1 leaves behind a perfect (%w)!$</pattern>
    <value>#cap Pgems
gt |bp|%1|n| dropped a |bw|perfect %2|n|!!
</value>
  </trigger>
  <trigger priority="4180" copy="yes">
    <pattern>^(%w) gets a perfect %w.</pattern>
    <value>#cap Pgems</value>
  </trigger>
  <trigger priority="4190" copy="yes">
    <pattern>^{You raise a level!!  |}Your gain is: (%d)/%d hp, (%d)/%d m, (%d)/%d mv (%d)/%d prac.</pattern>
    <value>#add levelgain 1
#var thegain {%concat(%1,"/",%2)}
#addkey gainsdb @me %additem(@thegain,%db(@gainsdb,@me))
#add runhp %1
#add runmana %2</value>
  </trigger>
  <var name="levelgain" copy="yes">0</var>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="366" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="4250" copy="yes">
    <caption>Steel</caption>
    <value>#if @steeling=1 {#var steeling 0 0} {#var steeling 1 0
#echo Players may buzz you for steel.}</value>
    <expr>@steeling</expr>
    <gaugemax>1</gaugemax>
  </button>
  <var name="steeling" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="pi" copy="yes">3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609433057270</var>
  <class name="Stab" copy="yes">
    <trigger priority="4160" copy="yes">
      <pattern>^You follow {@leader|@tank} %w.</pattern>
      <value>#var stabcommand assassinate
#if @mytier="Hero" {#var stabcommand backstab} {}
#if @stabbing>0 {#forall @stablist {
#if @stabbing=1 {@stabcommand %i} {}
#if @stabbing=2 {@stabcommand 2.%i
@stabcommand %i} {}
#if @stabbing=3 {
@stabcommand 3.%i
@stabcommand 2.%i
@stabcommand %i} {}}} {}</value>
    </trigger>
    <var name="stabs" type="Record" copy="yes">
      <value>Karn Proper="akuma|man|cutthroat|crazed|humanoid|scourge|merm|reaper"|Tart Garden="demon|statue"|Kzin Jungle="kzi|ins|raven|roden|pan|ana|sus|yor|ant|anxi"|Fire Proper="elem|fire|knight|ember|troll|lava|mephit|sala"|Water="water|wyrm"|Citadel=fae|Cinderhelm="carc|cloud|drake|sent|giant|dwell|drag|flame|fire|beetle|mummy|wind|tar|spirit|imp|glut|sala|smoke|soul|cad|hunt|smoth"|Stone/Earth="elem|wyrm|merc|slave|serv"|Rohp="delus|phant|pred|obli|denog|dog"|Lode="water|wyrm|rock|wind|djin|essen|wall|drake|vision"|Mem Lane="gith|soul|memory|pain|death|tiam|fae|shadow|queen|giant"|Arcadia="chim|bale"|Outland Gith="gith|mindf|wastes"|Kzin Volcano="trol|hydr|mag|pyro|darken|mephit|salam|lava|fire"</value>
      <json>{"Karn Proper":["akuma","man","cutthroat","crazed","humanoid","scourge","merm","reaper"],"Tart Garden":["demon","statue"],"Kzin Jungle":["kzi","ins","raven","roden","pan","ana","sus","yor","ant","anxi"],"Fire Proper":["elem","fire","knight","ember","troll","lava","mephit","sala"],"Water":["water","wyrm"],"Citadel":"fae","Cinderhelm":["carc","cloud","drake","sent","giant","dwell","drag","flame","fire","beetle","mummy","wind","tar","spirit","imp","glut","sala","smoke","soul","cad","hunt","smoth"],"Stone\/Earth":["elem","wyrm","merc","slave","serv"],"Rohp":["delus","phant","pred","obli","denog","dog"],"Lode":["water","wyrm","rock","wind","djin","essen","wall","drake","vision"],"Mem Lane":["gith","soul","memory","pain","death","tiam","fae","shadow","queen","giant"],"Arcadia":["chim","bale"],"Outland Gith":["gith","mindf","wastes"],"Kzin Volcano":["trol","hydr","mag","pyro","darken","mephit","salam","lava","fire"]}</json>
    </var>
    <alias name="stabadd" copy="yes">
      <value>#if %lower(%1)="zone" {
#if @mytier="Hero" {#addkey hstabs %2 ""} {}
#if @mytier="Lord" {#addkey stabs %2 ""} {}
gt |by|%2|bw| added to stab zones db|n|
#exit} {}
#additem stablist %1
#if @mytier="Hero" {#addkey hstabs {@stabplane} {%additem(%1,%db(@hstabs,@stabplane))}} {}
#if @mytier="Lord" {#addkey stabs {@stabplane} {%additem(%1,%db(@stabs,@stabplane))}} {}
#echo %ansi(green,bright)~[%ansi(red,bright)%1%ansi(green,bright)~]added~[%ansi(red,bright)@stabplane%ansi(green,bright)~]</value>
    </alias>
    <var name="hstabs" type="Record" copy="yes">
      <value>Sem="rat|wraith|spectre|ghost"|Necro="sorc|stat|robb|guard|garden|child|phantom|wraith|betrayer|drider|drow|woman"|Morte="tcho|balrog|djinn|degen|hell|iadus|cock|ogr|giant|azric|collosus|oborus|harpy|duerg"|Redtooth="male|tig|pan|touc|spid|tort|triff|mist|pirate|female"|Lower Greed="dragon|butch|master|pirate|sailor"|Greed="monkey|buffa|goril|bird|crane|manat|hippo|tiger"|Thule="anc|spirit|clay"|Aculeata="wasp|chloro|ground"|Divide="hundred|face|abys|insati|wartha|bandit|rock|warrior|paladin|guard|dw|Trans|""wol|stone|diss|dev|wyrm|ghost|shad"""|Trans Forest="wol|stone|diss|dev|wyrm|ghost|shad|ball|cloud|rang|hunt|devour|swirl"</value>
      <json>{"Sem":["rat","wraith","spectre","ghost"],"Necro":["sorc","stat","robb","guard","garden","child","phantom","wraith","betrayer","drider","drow","woman"],"Morte":["tcho","balrog","djinn","degen","hell","iadus","cock","ogr","giant","azric","collosus","oborus","harpy","duerg"],"Redtooth":["male","tig","pan","touc","spid","tort","triff","mist","pirate","female"],"Lower Greed":["dragon","butch","master","pirate","sailor"],"Greed":["monkey","buffa","goril","bird","crane","manat","hippo","tiger"],"Trans Forest":["wol","stone","diss","dev","wyrm","ghost","shad","ball","cloud","rang","hunt","devour","swirl"],"Thule":["anc","spirit","clay"],"Aculeata":["wasp","chloro","ground"],"Divide":["hundred","face","abys","insati","wartha","bandit","rock","warrior","paladin","guard","dw","Trans",["wol","stone","diss","dev","wyrm","ghost","shad"]]}</json>
    </var>
    <trigger priority="10430" ansi="true" copy="yes">
      <pattern>^%e[33mAn Opening in the Cliffs%e[0m$</pattern>
      <value>#if @mytier="Hero" {} {#exit}
#if @stabplane="Divide" {#exit} {}
#if @stabbing>0 {
#var stabplane "Divide"
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
    </trigger>
    <trigger priority="10440" copy="yes">
      <pattern>^In Front of the Citadel</pattern>
      <value>#if @mytier="Hero" {} {#exit}
#if @stabplane="Thule" {#exit} {}
#if @stabbing>0 {
#var stabplane "Thule"
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
    </trigger>
    <trigger priority="10450" ansi="true" copy="yes">
      <pattern>^%e[33mAtop the hill%e[0m$</pattern>
      <value>#if @mytier="Hero" {} {#exit}
#if @stabplane="Necro" {#exit} {}
#if @stabbing>0 {
#var stabplane "Necro"
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
    </trigger>
    <trigger priority="10470" ansi="true" copy="yes">
      <pattern>^%e[33mOver the Edge%e[0m$</pattern>
      <value>#if @mytier="Hero" {} {#exit}
#if @stabplane="Sem" {#exit} {}
#if @stabbing>0 {
#var stabplane "Sem"
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
    </trigger>
    <trigger priority="10510" ansi="true" copy="yes">
      <pattern>^%e[33mA Jumble of Stones%e[0m$</pattern>
      <value>#if @mytier="Hero" {} {#exit}
#if @stabplane="Morte" {#exit} {}
#if @stabbing>0 {
#var stabplane "Morte"
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
    </trigger>
    <trigger priority="10530" ansi="true" copy="yes">
      <pattern>^%e[33mIn the Undertow%e[0m$</pattern>
      <value>#if @mytier="Hero" {} {#exit}
#if @stabplane="Lower Greed" {#exit} {}
#if @stabbing>0 {
#var stabplane "Lower Greed"
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
    </trigger>
    <var name="stablist" type="StringList" copy="yes">
      <value>wasp|chloro|ground</value>
      <json>["wol","stone","diss","dev","wyrm","ghost","shad","ball","cloud","rang","hunt","devour","swirl"]</json>
    </var>
    <var name="stabplane" copy="yes">Aculeata</var>
    <trigger priority="18080" ansi="true" copy="yes">
      <pattern>^%e[33mBefore a living barrier%e[0m$</pattern>
      <value>#if @mytier="Hero" {} {#exit}
#if @stabplane="Trans Forest" {#exit} {}
#if @stabbing>0 {
#var stabplane "Trans Forest"
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
    </trigger>
    <trigger priority="18090" ansi="true" copy="yes">
      <pattern>^%e[33mOutside a Vent%e[0m$</pattern>
      <value>#if @mytier="Hero" {} {#exit}
#if @stabplane="Aculeata" {#exit} {}
#if @stabbing>0 {
#var stabplane "Aculeata"
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
    </trigger>
  </class>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="427" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="4328" copy="yes">
    <caption>Stab</caption>
    <value>#if (@stabbing=0) {#var stabbing 1 0} {#if (@stabbing=1) {#var stabbing 2 0} {#if (@stabbing=2) {#var stabbing 3 0} {#if (@stabbing=3) {#var stabbing 0 0} {}}}}
#echo @stabplane[@stablist]</value>
    <expr>@stabbing</expr>
    <gaugemax>3</gaugemax>
  </button>
  <var name="stabbing" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="488" toolbar="0" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="4369" copy="yes">
    <caption>SetStab</caption>
    <value>#var planestabs ""
#if @mytier="Lord" {#var planestab ""
#loopdb @stabs {#additem planestabs %key}
#var stabplane %pick(o:1|@planestabs)
#if @stabplane="" {#exit} {}
#var stablist %db(@stabs,@stabplane)
gt |bw|Stab plane switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}
#if @mytier="Hero" {#var planestab ""
#loopdb @hstabs {#additem planestabs %key}
#var stabplane %pick(o:1|@planestabs)
#if @stabplane="" {#exit} {}
#var stablist %db(@hstabs,@stabplane)
gt |bw|Stabs switched to |by|@stabplane|bw|[|bc|@stablist|bw|]} {}</value>
  </button>
  <var name="planestab" type="Literal" copy="yes"/>
  <var name="planestabs" type="StringList" copy="yes">
    <value>Sem|Necro|Morte|Redtooth|Lower Greed|Greed|Thule|Aculeata|Divide|Trans Forest</value>
    <json>["Sem","Necro","Morte","Redtooth","Lower Greed","Greed","Thule","Aculeata","Divide","Trans Forest"]</json>
  </var>
  <class name="psi" copy="yes">
    <trigger priority="3480" copy="yes">
      <pattern>^a hate-filled harpy falls to the ground, lifeless.</pattern>
      <value>get harpy
give harpy kyzrathe</value>
    </trigger>
    <trigger priority="4400" copy="yes">
      <pattern>^INCOME TAX clatters to the ground!</pattern>
      <value>get terror;get impending;give 'chakram terror' impending;give 'chakram impending' impending</value>
    </trigger>
    <trigger priority="4410" copy="yes">
      <pattern>^You get INCOME TAX from corpse of (*).</pattern>
      <value>give 'chakram terror' impending</value>
    </trigger>
    <trigger priority="4420" copy="yes">
      <pattern>^You get TERROR from corpse of (*).</pattern>
      <value>give 'chakram impending' impending</value>
    </trigger>
    <trigger priority="6700" copy="yes">
      <pattern>^MUOI MUOI MUOI MUOI falls to the ground, lifeless</pattern>
      <value>get muoi;give muoi muoi</value>
    </trigger>
    <trigger priority="8110" copy="yes">
      <pattern>^Baron's sword falls to the ground, lifeless.</pattern>
      <value>get shizdw
give shizdw shizaam</value>
    </trigger>
    <trigger priority="8150" copy="yes">
      <pattern>^Cindy's Baron falls to the ground, lifeless.</pattern>
      <value>get cindy
give cindy tida</value>
    </trigger>
    <trigger priority="9580" copy="yes">
      <pattern>An Imaginary Black Claw falls to the ground, lifeless.</pattern>
      <value>get claw;give claw spectrah</value>
    </trigger>
  </class>
  <trigger priority="4430" copy="yes">
    <pattern>^You feel a slight headache growing stronger...</pattern>
    <value>#if %lower( @me)="monty" {
  c id 1.
  c leech
  } {}
#if %lower(@me)="tabion" {c 'cure light'} {}</value>
  </trigger>
  <var name="capcap" copy="yes"/>
  <var name="capcap1" copy="yes">h</var>
  <var name="capcap2" type="Literal" copy="yes"/>
  <var name="capvar" copy="yes">i WhiP MY hair bAcK N FoRth, i wHIp mY HaIr BaCK N foRtH</var>
  <var name="capped" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="nextperson" copy="yes">seionage</var>
  <var name="nextcomm" copy="yes">bark</var>
  <func name="randomcap" copy="yes">
    <value>#var capcap %-1
#var capcap1 ""
#var capvar ""
#var capped 0 0
#loop %len( @capcap) {
  #var capcap1 %left( @capcap, 1)
  #if (%ascii( @capcap1)>96 and %ascii( @capcap1)<123) {
    #if %random( 1, 2)=1 {#var capvar @capvar%char( @capcap1)} {#var capvar %concat( @capvar, %char( %ascii( @capcap1)-32))}
    #var capped 1 0
    } {}
  #if @capped=1 {} {#if (%ascii( @capcap1)>64 and %ascii( @capcap1)<91) {
      #if %random( 1, 2)=1 {#var capvar @capvar%char( @capcap1)} {#var capvar %concat( @capvar, %char( %ascii( @capcap1)+32))}
      #var capped 1 0
      } {}}
  #if @capped=1 {#var capped 0 0} {#var capvar @capvar@capcap1}
  #var capcap %right( @capcap, 1)
  }
  #return @capvar
</value>
  </func>
  <func name="randomize" copy="yes">
    <value>#var randomvar %-1
#loop %len(%-1),1 {#var randomvar %insert(~|%item(@colorcodes,%random(1,14))~|,@randomvar,%i)}
#return @randomvar</value>
  </func>
  <alias name="test" copy="yes"/>
  <var name="fled" copy="yes">0</var>
  <var name="fcount" copy="yes">0</var>
  <trigger type="Expression" priority="4800" copy="yes">
    <pattern>@logged=3</pattern>
    <value>#var logged 4
#if @doubledip=4 {
  #var autosave  %random( 75, 90)
  #var autosavecount @autosave*10
  #var autosavemax @autosave*10
  #var autosaving 1 0
  ~t @doubledipperson You already had atleast |bc|3|n| of the requested macro.  You must wait |br|45|n| minutes before requesting a new spell.
  ~t @doubledipperson Healing, transport, requiem, threnody, and salvation triggers will still work.
  forget @doubledipperson
  #var doubledip 0 0
  sl
  #var nextperson %word( %dbkeys( @botqueue), 1, "|")
  #var nextcomm %db( @botqueue, @nextperson)
  #delkey botqueue %word( %dbkeys( @botqueue), 1, "|")
  botchecking @nextperson @nextcomm
  } {}</value>
  </trigger>
  <var name="doubledip" copy="yes">0</var>
  <var name="doubledipperson" copy="yes">Havoc</var>
  <var name="currenttarget" copy="yes">Jitsuox</var>
  <var name="pctg" copy="yes">Glycol-modified Poly-Cyclohexylenedimethylene Terephthalate</var>
  <alias name="promptset" copy="yes">
    <value>prompt ~[ ~%h/~%H ~%m/~%M ~%v/~%V ~%g ~%T~*~%w/~%W~*~%xxpz~]
prompt2 ~%e~<~%s~>~%n</value>
  </alias>
  <var name="nothere" copy="yes">0</var>
  <var name="lastgold" copy="yes">964</var>
  <var name="diffgold" copy="yes">0</var>
  <var name="gtarg" type="Literal" copy="yes"/>
  <var name="refamount" copy="yes">1</var>
  <var name="thegem" copy="yes">0</var>
  <var name="thegemstone" type="Literal" copy="yes"/>
  <var name="winner" usedef="true" copy="yes">
    <value>0</value>
    <default>0</default>
  </var>
  <var name="position" copy="yes">Rest</var>
  <var name="chromvar" copy="yes">1</var>
  <var name="target" copy="yes">was</var>
  <trigger priority="5410" copy="yes">
    <pattern>^Has %d~((%d)~) charges at level %d 'heal'.</pattern>
    <value>#var chargesleft %1</value>
  </trigger>
  <var name="chargesleft" copy="yes">-66</var>
  <macro key="ALT-P" copy="yes">
    <value>enter portal</value>
  </macro>
  <var name="positio" copy="yes">Rest</var>
  <trigger type="Expression" priority="5460" copy="yes">
    <pattern>@lagcounting>0</pattern>
    <value>#var position Lagged</value>
  </trigger>
  <var name="statperson" type="Literal" copy="yes"/>
  <var name="statcheck" copy="yes">0</var>
  <var name="statchecking" copy="yes">0</var>
  <var name="hpper2" copy="yes">100.00</var>
  <var name="manaper2" copy="yes">100.00</var>
  <var name="meathp" copy="yes">0</var>
  <var name="healmana" copy="yes">0</var>
  <var name="ummhp" copy="yes">0</var>
  <var name="castmana" copy="yes">0</var>
  <var name="maxmeathp" copy="yes">0</var>
  <var name="maxhealmana" copy="yes">0</var>
  <var name="maxcastmana" copy="yes">0</var>
  <var name="maxummhp" copy="yes">0</var>
  <var name="statspam" copy="yes">|bw|Meat[|bc|157952/244213|bw|(|br|64.67|bw|%)] |bw|Caster[|bc|29384/165303|bw|(|br|17.77|bw|%)] |bw|Healer[|bc|5137/32237|bw|(|br|15.93|bw|%)]</var>
  <var name="castper" copy="yes">.0</var>
  <var name="healper" copy="yes">.0</var>
  <var name="ummper" copy="yes">100.00</var>
  <var name="meatper" copy="yes">.0</var>
  <var name="someones" copy="yes">0</var>
  <var name="groupie" type="StringList" copy="yes">
  </var>
  <var name="someonelist" type="StringList" copy="yes">
  </var>
  <trigger priority="5890" copy="yes">
    <pattern>^%w gives a perfect %1 to %w.</pattern>
    <value>#cap Pgems</value>
  </trigger>
  <class name="Thren" copy="yes">
    <trigger priority="5910" copy="yes">
      <pattern>^You join (%1) in performing %* ritual!</pattern>
      <value>#var threnning %replace(%1," and ","|")
#additem threnning @me
#echo %ansi(green,bright)@threnning~[%ansi(red,bright)%numitems(@threnning)%ansi(green)~]</value>
    </trigger>
    <trigger priority="5920" copy="yes">
      <pattern>^You feel (%w)'s power mingle with yours as %w joins the ritual!</pattern>
      <value>#additem threnning %1
#echo %ansi(green,bright)@threnning~[%ansi(red,bright)%numitems(@threnning)%ansi(green)~]</value>
    </trigger>
    <trigger priority="5940" copy="yes">
      <pattern>%1 is in the middle of a threnody ritual.</pattern>
      <value>#ad threncheck 1
</value>
    </trigger>
    <trigger priority="6950" copy="yes">
      <pattern>^Following (%w)'s lead, you perform %2 ritual!$</pattern>
      <value>#var threnning %1
#additem threnning @me
#echo %ansi(green,bright)@threnning~[%ansi(red,bright)%numitems(@threnning)%ansi(green)~]</value>
    </trigger>
    <trigger priority="7360" copy="yes">
      <pattern>^You initiate %* ritual!</pattern>
      <value>#var threnning @me</value>
    </trigger>
  </class>
  <var name="threnning" type="StringList" copy="yes">
  </var>
  <var name="threncheck" copy="yes">0</var>
  <var name="groupcount" copy="yes">0</var>
  <trigger priority="6300" copy="yes">
    <pattern>^%w gets several objects.</pattern>
    <value>#cap Pgems</value>
  </trigger>
  <var name="needing" type="StringList" copy="yes">
    <value>barkskin|awen|sanctuary|frenzy|bless|holy aura|holy armor|armor|invincibility|detect evil|detect hidden|detect magic|detect invis|foci|pass door|fly|shield|stone skin|giant strength|fortitudes|energy shield|displacement|body brace|mental barrier|calcify flesh|biofeedback|anticipate|adrenaline pump|water breathing|steel skeleton|iron skin|aegis</value>
    <json>["barkskin","awen","sanctuary","frenzy","bless","holy aura","holy armor","armor","invincibility","detect evil","detect hidden","detect magic","detect invis","foci","pass door","fly","shield","stone skin","giant strength","fortitudes","energy shield","displacement","body brace","mental barrier","calcify flesh","biofeedback","anticipate","adrenaline pump","water breathing","steel skeleton","iron skin","aegis"]</json>
  </var>
  <var name="needcheck" copy="yes">0</var>
  <var name="autosaver" copy="yes">0</var>
  <var name="mobcount" copy="yes">0</var>
  <var name="mobcounter" copy="yes">0</var>
  <class name="Spunj" copy="yes">
    <trigger priority="6510" copy="yes">
      <pattern>{@mobcondition}</pattern>
      <value>#if @meleed=1 {#var mobcounter @mobcount} {}
#var mobcount 0
#var meleed 0</value>
    </trigger>
    <trigger type="Expression" priority="6530" copy="yes">
      <pattern>@positio!="Fight"</pattern>
    </trigger>
    <trigger priority="6540" copy="yes">
      <pattern>^You receive %d experience points.</pattern>
    </trigger>
    <trigger priority="2940" copy="yes">
      <pattern>^~[@me~]~[({@damlist})~]~[([1|2|3|4|5|6|7|8|9|0|.])~]</pattern>
    </trigger>
    <trigger priority="6590" copy="yes">
      <pattern>^Your attacks haven't hurt %1!</pattern>
    </trigger>
    <trigger priority="6600" copy="yes">
      <pattern>%1 has fled west!</pattern>
    </trigger>
    <trigger type="Expression" priority="6610" copy="yes">
      <pattern>@mobcounter</pattern>
    </trigger>
    <trigger priority="6620" copy="yes">
      <pattern>%1 {releases a wide arc of lightning upon|spews fire} %2!</pattern>
    </trigger>
  </class>
  <var name="fround" copy="yes">75860</var>
  <var name="fround1" copy="yes">0</var>
  <var name="fround2" copy="yes">1</var>
  <var name="meleed" copy="yes">0</var>
  <var name="shielded" copy="yes">0</var>
  <trigger type="Command Input" priority="6650" copy="yes">
    <pattern>^l{o|oo|ook|} %1</pattern>
    <value>#T- channels</value>
  </trigger>
  <trigger type="Command Input" priority="6650" copy="yes">
    <pattern>^pl{|a|ay|aye|ayer|ayeri|ayerin|ayerinf|ayerinfo|} %1</pattern>
    <value>#T- channels</value>
  </trigger>
  <trigger priority="6680" copy="yes">
    <pattern>^Your failed morph penalty reduces the experience gain to (%d).</pattern>
    <value>#addkey failexpdb %eval(%db(@failexpdb,@me)+%1)</value>
  </trigger>
  <var name="failexp" copy="yes">0</var>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="610" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="6730" copy="yes">
    <caption>Hog</caption>
    <value>#if @hogmode=1 {#var hogmode 0} {#var hogmode 1
#var autosaving 0}</value>
    <expr>@hogmode</expr>
    <gaugemax>1</gaugemax>
  </button>
  <var name="hogmode" copy="yes">0</var>
  <trigger priority="6750" copy="yes">
    <pattern>^?????A small gemstone is here.</pattern>
    <value>get all.gem</value>
  </trigger>
  <trigger priority="6780" prompt="true" copy="yes">
    <pattern>^Your equipment info has been saved ~(just in case~)!$</pattern>
    <value>#gag</value>
  </trigger>
  <var name="missbashdb" type="Literal" copy="yes"/>
  <var name="bashdb" type="Literal" copy="yes"/>
  <var name="missbash" type="StringList" copy="yes">
  </var>
  <var name="bashed" type="StringList" copy="yes">
  </var>
  <trigger priority="6860" ansi="true" repeat="true" prompt="true" copy="yes">
    <pattern>(%e[31m~=ansicheck123)</pattern>
    <value>#if @ansienabled=0 {#echo Ansi triggers active.} {}
#var ansienabled 1
#psub "" %x1
#var ansien 0</value>
  </trigger>
  <trigger type="Alarm" priority="6870" enabled="false" copy="yes">
    <pattern>-1</pattern>
    <value>#if @logged=0 {#exit} {}
#sho %ansi(red)~=ansicheck123
#var ansien 1</value>
  </trigger>
  <var name="ansienabled" copy="yes">1</var>
  <trigger type="Expression" priority="6890" copy="yes">
    <pattern>@ansienabled=0</pattern>
    <value>#echo Ansi triggers not working.</value>
  </trigger>
  <var name="ansien" copy="yes">1</var>
  <trigger priority="6910" prompt="true" copy="yes">
    <pattern>~=ansicheck123</pattern>
    <value>#if @ansien=1 {#var ansienabled 0} {}
</value>
  </trigger>
  <alias name="barkall" copy="yes">
    <value>#forall @groupies {#if %lower(%i)=%lower(@me) {} {c barkskin %i}}</value>
  </alias>
  <menu priority="6940" copy="yes">
    <caption>uninsure %selword</caption>
    <value>insure cancel %selword</value>
  </menu>
  <var name="myrace" copy="yes">Drg</var>
  <var name="myclass" copy="yes">Mag</var>
  <var name="rescuecheck" copy="yes">0</var>
  <var name="rescuenow" copy="yes">0</var>
  <var name="rescuenowlist" type="Literal" copy="yes"/>
  <alias name="bow" copy="yes">
    <value>#var cross 0
~bow</value>
  </alias>
  <alias name="cross" copy="yes">
    <value>#var cross 1
~cross</value>
  </alias>
  <var name="cross" copy="yes">0</var>
  <var name="morphspam" copy="yes">0</var>
  <alias name="kall" copy="yes">
    <value>k hy;k ga;k st;k wi</value>
  </alias>
  <alias name="botplayerinfo" copy="yes">
    <value>~pl + |bg|As with all my bots, partial commands are accepted.
~pl + |bg|ie. |br|t barkhound fr|bg| for frenzy or|br| t barkhound fu|bg| for full
~pl + |bg|Spellups:|bc| full, split |bg|Macro spells:|bc| fort, foci, awen, holies
~pl + |bg|Popular spells:|bc| invincibility, sanctuary, frenzy, barkskin
~pl + |bg|Other buffs:|bc| bless, armor, holy armor, holy aura, water breathing
~pl + |bg|Heal spells:|bc| heal, divinity, comfort
~pl + |bg|   (For augmented comfort, just|br| t barkhound 2|bg| or|bc| 3|bg|)
~pl + |bg|Movement Spells:|bc| invigorate, rejuvenate, renewal
~pl + |bg|Cures:|bc| (rc)remove curse, (cd)cure disease, (cp)cure poison,
~pl + |bc|       (cb)cure blindness, (rc)remove curse
~pl + |bc|SHRINE |bg|is now available
~pl + |bg|Targettable(Due to abuse, Thren/Salv are auto ONLY):|bc| requiem
~pl + |br|**|bw|NEW FEATURE|br|**|bw|: Leader beckons and groupies have 5 minutes
~pl + |bw|                 to |br|t barkhound send <plane></value>
  </alias>
  <var name="morphlevels" copy="yes">456765</var>
  <var name="morphs" copy="yes">879</var>
  <var name="morphfails" copy="yes">1224</var>
  <var name="failaverage" copy="yes">516767</var>
  <var name="anthcount" copy="yes">0</var>
  <var name="enmorse" copy="yes"> ....  ..   ...  .._  __  ._  ._.  .._ </var>
  <class name="morse" enabled="false" copy="yes">
    <func name="morse" copy="yes">
      <value>#var enmorse %lower(%-1)
#loopdb @morsecode {#var enmorse %replace(@enmorse,%key," "%val" ")}
#return @enmorse</value>
    </func>
    <var name="morsecode" copy="yes">z=__..|y=_.__|x=_.._|w=.__|v=..._|u=.._|t=_|s=...|r=._.|q=__._|p=.__.|o=___|n=_.|m=__|l=._..|k=_._|j=.___|i=..|h=....|g=__.|f=.._.|e=.|d=_..|c=_._.|b=_...|a=._|9=____.|8=___..|7=__...|6=_....|5=.....|4=...._|3=...__|2=..___|1=.____|0=_____</var>
    <var name="morsedecode" type="StringList" copy="yes">
      <value>__..|_.__|_.._|.__|..._|.._|_|...|._.|__._|.__.|___|_.|__|._..|_._|.___|..|....|__.|.._.|.|_..|_._.|_...|._|____.|___..|__...|_....|.....|...._|...__|..___|.____|_____</value>
      <json>["__..","_.__","_.._",".__","..._",".._","_","...","._.","__._",".__.","___","_.","__","._..","_._",".___","..","....","__.",".._.",".","_..","_._.","_...","._","____.","___..","__...","_....",".....","...._","...__","..___",".____","_____"]</json>
    </var>
    <var name="morsedecodedb" type="Record" copy="yes">
      <value>___=o|__.=g|_._=k|_..=d|.__=w|._.=r|.._=u|...=s|_____=0|____.=9|___..=8|__...=7|_....=6|.____=1|..___=2|...__=3|...._=4|.....=5|_=t|.=e|__=m|_.=n|._=a|..=i|__._=q|__..=z|_.__=y|_._.=c|_.._=x|_...=b|.___=j|.__.=p|._..=l|.._.=f|..._=v|....=h</value>
      <json>{"___":"o","__.":"g","_._":"k","_..":"d",".__":"w","._.":"r",".._":"u","...":"s","_____":0,"____.":9,"___..":8,"__...":7,"_....":6,".____":1,"..___":2,"...__":3,"...._":4,".....":5,"_":"t",".":"e","__":"m","_.":"n","._":"a","..":"i","__._":"q","__..":"z","_.__":"y","_._.":"c","_.._":"x","_...":"b",".___":"j",".__.":"p","._..":"l",".._.":"f","..._":"v","....":"h"}</json>
    </var>
    <var name="morsedecode2" type="StringList" copy="yes">
      <value> __.. | _.__ | _.._ | .__ | ..._ | .._ | _ | ... | ._. | __._ | .__. | ___ | _. | __ | ._.. | _._ | .___ | .. | .... | __. | .._. | . | _.. | _._. | _... | ._ | ____. | ___.. | __... | _.... | ..... | ...._ | ...__ | ..___ | .____ | _____ </value>
      <json>[" __.. "," _.__ "," _.._ "," .__ "," ..._ "," .._ "," _ "," ... "," ._. "," __._ "," .__. "," ___ "," _. "," __ "," ._.. "," _._ "," .___ "," .. "," .... "," __. "," .._. "," . "," _.. "," _._. "," _... "," ._ "," ____. "," ___.. "," __... "," _.... "," ..... "," ...._ "," ...__ "," ..___ "," .____ "," _____ "]</json>
    </var>
    <var name="morsedecodedb2" type="Record" copy="yes">
      <value> _ =t| . =e| .___ =j| .__. =p| ._.. =l| .._. =f| ..._ =v| .... =h| ___ =o| __. =g| _._ =k| _.. =d| .__ =w| ._. =r| .._ =u| ... =s| _____ =0| ____. =9| ___.. =8| __... =7| _.... =6| .____ =1| __ =m| _. =n| ._ =a| .. =i| ..___ =2| ...__ =3| ...._ =4| ..... =5| __._ =q| __.. =z| _.__ =y| _._. =c| _.._ =x| _... =b</value>
      <json>{" _ ":"t"," . ":"e"," .___ ":"j"," .__. ":"p"," ._.. ":"l"," .._. ":"f"," ..._ ":"v"," .... ":"h"," ___ ":"o"," __. ":"g"," _._ ":"k"," _.. ":"d"," .__ ":"w"," ._. ":"r"," .._ ":"u"," ... ":"s"," _____ ":0," ____. ":9," ___.. ":8," __... ":7," _.... ":6," .____ ":1," __ ":"m"," _. ":"n"," ._ ":"a"," .. ":"i"," ..___ ":2," ...__ ":3," ...._ ":4," ..... ":5," __._ ":"q"," __.. ":"z"," _.__ ":"y"," _._. ":"c"," _.._ ":"x"," _... ":"b"}</json>
    </var>
    <trigger priority="7310" repeat="true" enabled="false" copy="yes">
      <pattern>({@morsedecode2})</pattern>
      <value>#psub %db(@morsedecodedb2,%1) %x1</value>
    </trigger>
  </class>
  <button type="Gauge" autosize="false" width="60" height="23" autopos="false" left="671" toolbar="0" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="7338" copy="yes">
    <caption>Rescue</caption>
    <value>#if @rescuing=0 {#var rescuing 1
gt ~|bw~|Auto-rescue on~[~|bp~|%delitem(@me,@rescuelist)~|bw|~]~|n~|} {#var rescuing 0}</value>
    <expr>@rescuing</expr>
    <gaugemax>1</gaugemax>
  </button>
  <var name="morsing" copy="yes">0</var>
  <var name="Hbar" type="Literal" copy="yes"/>
  <var name="hbar1" copy="yes">15</var>
  <var name="mbar" type="Literal" copy="yes"/>
  <var name="mbar1" copy="yes">15</var>
  <var name="hcol" type="Literal" copy="yes">c</var>
  <var name="mcol" type="Literal" copy="yes">c</var>
  <var name="groupc" copy="yes">0</var>
  <var name="gupdate" copy="yes">0</var>
  <trigger type="Alarm" priority="7510" copy="yes">
    <pattern>-15</pattern>
  </trigger>
  <var name="months" type="Record" copy="yes">
    <value>Sep=9|Oct=10|Nov=11|May=5|Mar=3|Jun=6|Jul=7|Jan=1|Feb=2|Dec=12|Aug=8|Apr=4</value>
    <json>{"Sep":9,"Oct":10,"Nov":11,"May":5,"Mar":3,"Jun":6,"Jul":7,"Jan":1,"Feb":2,"Dec":12,"Aug":8,"Apr":4}</json>
  </var>
  <var name="MName" copy="yes">Jari</var>
  <var name="Mlevel" copy="yes">362</var>
  <var name="MMonth" copy="yes">05</var>
  <var name="MMDay" copy="yes">07</var>
  <var name="MHour" copy="yes">06</var>
  <var name="MMinute" copy="yes">53</var>
  <var name="MSecond" copy="yes">01</var>
  <var name="MYear" copy="yes">11</var>
  <var name="MDay" copy="yes">15</var>
  <var name="cancel" copy="yes">1</var>
  <var name="morphstatonly" copy="yes">1</var>
  <trigger priority="7660" copy="yes">
    <pattern>^%w joins your group.</pattern>
    <value>#var gupdate 1
~gr</value>
  </trigger>
  <var name="deathspam" type="Literal" copy="yes">Deathcount:</var>
  <var name="spamvar" type="StringList" copy="yes">
  </var>
  <var name="spamvar2" type="Literal" copy="yes"/>
  <var name="spamvar3" type="Literal" copy="yes"/>
  <var name="spamvar4" type="Literal" copy="yes"/>
  <var name="spamvar5" type="Literal" copy="yes"/>
  <var name="spamvar6" type="Literal" copy="yes"/>
  <var name="spamvar7" type="Literal" copy="yes"/>
  <var name="spamvar8" type="Literal" copy="yes"/>
  <var name="spamcount" copy="yes">0</var>
  <var name="deadcount" copy="yes">3</var>
  <var name="highestdeaths" copy="yes">1</var>
  <var name="mostdied" type="Literal" copy="yes"/>
  <var name="spamvar1" type="Literal" copy="yes"/>
  <alias name="readyup" copy="yes">
    <value>#var readylist @groupies
#var readiedlist ""
gt ~|br~|gtell r/rdy/ready~|bw~| if you're ready.~|n~|</value>
  </alias>
  <alias name="ready" copy="yes">
    <value>gt Ready~[~|bp~|@readiedlist~|n~|~]
gt NotReady~[~|bp~|@readylist~|n~|~]</value>
  </alias>
  <var name="readylist" type="StringList" copy="yes">
    <json>[]</json>
  </var>
  <var name="readiedlist" type="StringList" copy="yes">
    <value>Whom|GuanYu|Ozwald|BiBi|Azumi|Kaliepos|Chrom|Tankwind|Monty|Mant</value>
    <json>["Whom","GuanYu","Ozwald","BiBi","Azumi","Kaliepos","Chrom","Tankwind","Monty","Mant"]</json>
  </var>
  <alias name="thren" copy="yes">
    <value>#if %-1="" {~thren %word(@dead,1,"|")} {~thren %-1}</value>
  </alias>
  <alias name="k" copy="yes">
    <value>#if %lower(@me)="mant" {#if @spunj>0 {#var target {%-1};surp %-1} {~k %-1}} {~k %-1}</value>
  </alias>
  <trigger priority="7960" copy="yes">
    <pattern>^JeffJoM clatters to the ground!</pattern>
    <value>get kesmai
get jomjeff
give kesmai old
give jomjeff old</value>
  </trigger>
  <trigger priority="8080" copy="yes">
    <pattern>^You stop following %w.</pattern>
    <value>#var tank @me</value>
  </trigger>
  <trigger priority="8090" copy="yes">
    <pattern>^You stop using inspiring dance.</pattern>
    <value>~gt |bp|Inspiring dance|bw| down.|n|</value>
  </trigger>
  <trigger priority="8100" copy="yes">
    <pattern>^You stop using bladedance.</pattern>
    <value>emote loses |bp|bladedance|n|.</value>
  </trigger>
  <trigger priority="8130" copy="yes">
    <pattern>^You almost clip %1 but %w dodges at the last second!</pattern>
    <value>#if %lower(@me)="vanhealsing" {get bolt} {}</value>
  </trigger>
  <var name="thelevel" copy="yes">364</var>
  <var name="thesuccess" copy="yes">0</var>
  <var name="successcount" copy="yes">45</var>
  <var name="failcount" copy="yes">34</var>
  <var name="succescount" copy="yes">61</var>
  <var name="totalcount" copy="yes">79</var>
  <var name="startlevel" type="String" copy="yes">450</var>
  <var name="spamperson" type="String" copy="yes">Deadpool</var>
  <var name="spamrange" copy="yes">20</var>
  <var name="gainsdb" type="Record" copy="yes">
    <value>Painmaker="10/0|11/0|10/0|11/0|10/1|9/1|9/0|9/1|8/1|9/0|10/1|11/1|11/0|8/1|8/0"|Monty="3/6|4/5|2/3|3/6|2/2|2/6|3/9|3/5|3/3|3/3|3/6|2/9|4/7|2/6|2/2|4/6|4/3|2/6|2/6|4/6|1/3|2/6|3/7|2/2|4/4|2/7|1/3|3/4|3/3|2/4|2/4|2/6|2/7|2/10|4/3|2/3|4/9|4/2|1/2|2/6|2/2|3/3|3/3|4/7"|Chrome="12/1|10/0|11/0|12/0|12/0|10/0|10/1|12/0|12/0|10/0"|Kaliepos="6/1|8/1|7/4|6/3|7/3|7/3|6/3|8/4|7/4|7/4|7/3|7/3|6/5|7/3|7/3|8/3|8/3|7/2|6/3|6/6|8/1|7/4|7/4|8/4|7/4|8/5|7/2|6/6|8/5|8/4|6/2|7/4|8/3|8/4|8/4|7/3|7/6|7/3|8/3"|Kolaris=10/10|Zapp="16/2|16/1|21/2|16/2|24/1|18/2|17/1|20/2|18/2|16/2|16/2|21/2|24/1|20/1|20/1|17/2|16/1|20/1|21/1|21/2|24/2|16/2|21/1|24/1|16/2|20/1|18/2|22/2|24/2|21/1|16/1|21/1|17/1|18/2|21/1|14/1|16/2|18/2|22/1|20/2|20/1|11/0|12/1|12/1|11/1|12/1|10/1|8/0|10/1|8/1|10/1|9/0|12/0|12/1|10/1|12/0|10/0|9/1|10/0|10/1|9/1|10/1|8/1|10/0|8/1|8/1|12/1|11/1|10/1|10/1|9/0|12/1|11/0|10/1"|Mant="10/0|10/0|8/0|9/2|10/0|9/1|9/1|9/2|9/0|9/2|10/1|9/2|9/1|10/2|10/0|9/1|10/1|8/0|9/0|8/2|10/1|9/2|9/0|9/0|8/0|10/0|9/1|10/0|9/1|10/0|8/0|8/1"|Drako=5/5|Chrom="3/2|3/4|3/2|2/4|3/3|3/3|3/5|3/3|2/2|2/1|3/2|2/5|3/5|3/4|3/4|2/2|2/5|3/4|2/3|2/6|3/2|3/6|3/2|2/5|3/1|3/1|3/3|3/3|3/5|3/4|3/0|3/3|3/3|3/3|3/0|3/4|2/3|3/2|3/0|3/5|3/5|3/4|3/3|3/3|3/1|3/3|3/1|3/2|3/5|3/6|3/5|2/4|3/2|3/4|2/5|3/1|3/2|3/4|3/0|3/6|3/5|2/1|2/2|3/6|2/0|3/1|3/0|3/3|3/1|3/4|3/3|2/2|2/0|2/6|3/3|3/3|3/3|3/6|3/1|3/3|3/3|3/3|3/2|3/3|2/4|3/4|2/3|3/3|3/3|3/4|3/2|3/3|2/4|3/5|3/0|2/3|2/1|3/4|3/2|3/1|2/3|3/4|3/1|3/2|3/1|2/3|3/5|3/4|2/5|2/6|3/1|3/3|2/1|3/4|2/3|3/4|3/2|3/2|3/2|2/5|3/1|3/1|3/1|3/4|2/3|3/4|3/2|2/3|3/2|3/4|3/5|3/6|3/2|3/5|3/5|3/2|3/2|2/4|2/5|3/4|3/2|2/3|3/5|3/3|3/2|3/5|3/1|2/3|3/3|3/1|3/1|3/5|3/4|3/2|2/2|3/4|3/0|3/6|2/0|2/4|3/1|2/6|3/2|3/3|2/3|2/4|2/2|3/3|3/3|3/2|2/3|2/4|3/4|3/4|3/0|3/1|3/0|3/6|3/3|3/1|3/2|3/5|2/5|3/5|3/1|3/5|3/0|3/5|3/5|3/4|3/2|2/6|3/1|3/2|2/4|3/3|3/3|3/4|3/1|3/4|3/3|3/3|2/4|3/3|2/0|3/3|2/4|2/4|3/0|3/4|3/4|3/2|3/3|3/1|2/0|3/3|3/4|2/3|3/0|3/3|2/0|3/2|3/0|3/3|2/3|2/4|3/3|2/3|2/1|2/5|3/5|3/6|3/2|3/3|3/3|3/1|3/3|3/4|3/4|3/6|2/2|3/5|2/2|3/5|3/3|3/6|3/3|3/1|3/1|3/4|3/4|2/3|3/0|2/3|2/5|3/6|2/4|1/4|3/3|3/1|2/2|3/3|3/4|3/4|2/3|3/4|2/3|2/3|3/3|3/6|3/5|2/6|3/1|3/5|3/2|3/2|3/4|3/6|3/3|2/6|3/0|3/6|3/1|3/4|3/4|2/6|3/4|3/1|2/4|2/2|3/5|3/1|2/1|2/5|3/0|3/3|2/1|3/4|3/5|2/3|2/3|3/4|3/3|3/4|2/4|3/3|2/4|3/6|3/0|3/3|3/1|2/4|2/1|2/6|3/2|2/1|3/2|3/2|2/5|3/1|2/3|2/2|3/2|2/3|3/1|3/2|2/4|2/3|3/0|3/3|3/0|3/2|2/5|3/1|3/3|3/4|3/0|3/4|3/2|2/3|3/1|3/5|3/3|3/2|3/3|3/4|3/5|3/4|3/2|2/3|3/4|3/3|2/0|3/3|3/3|3/2|3/3|2/5|3/4|2/5|3/2|3/4|3/3|3/3|3/2|3/4|3/0|2/3|3/3|3/3|3/3|2/4|2/5|3/4|2/3"</value>
    <json>{"Painmaker":["10\/0","11\/0","10\/0","11\/0","10\/1","9\/1","9\/0","9\/1","8\/1","9\/0","10\/1","11\/1","11\/0","8\/1","8\/0"],"Monty":["3\/6","4\/5","2\/3","3\/6","2\/2","2\/6","3\/9","3\/5","3\/3","3\/3","3\/6","2\/9","4\/7","2\/6","2\/2","4\/6","4\/3","2\/6","2\/6","4\/6","1\/3","2\/6","3\/7","2\/2","4\/4","2\/7","1\/3","3\/4","3\/3","2\/4","2\/4","2\/6","2\/7","2\/10","4\/3","2\/3","4\/9","4\/2","1\/2","2\/6","2\/2","3\/3","3\/3","4\/7"],"Chrome":["12\/1","10\/0","11\/0","12\/0","12\/0","10\/0","10\/1","12\/0","12\/0","10\/0"],"Kaliepos":["6\/1","8\/1","7\/4","6\/3","7\/3","7\/3","6\/3","8\/4","7\/4","7\/4","7\/3","7\/3","6\/5","7\/3","7\/3","8\/3","8\/3","7\/2","6\/3","6\/6","8\/1","7\/4","7\/4","8\/4","7\/4","8\/5","7\/2","6\/6","8\/5","8\/4","6\/2","7\/4","8\/3","8\/4","8\/4","7\/3","7\/6","7\/3","8\/3"],"Kolaris":["10\/10"],"Zapp":["16\/2","16\/1","21\/2","16\/2","24\/1","18\/2","17\/1","20\/2","18\/2","16\/2","16\/2","21\/2","24\/1","20\/1","20\/1","17\/2","16\/1","20\/1","21\/1","21\/2","24\/2","16\/2","21\/1","24\/1","16\/2","20\/1","18\/2","22\/2","24\/2","21\/1","16\/1","21\/1","17\/1","18\/2","21\/1","14\/1","16\/2","18\/2","22\/1","20\/2","20\/1","11\/0","12\/1","12\/1","11\/1","12\/1","10\/1","8\/0","10\/1","8\/1","10\/1","9\/0","12\/0","12\/1","10\/1","12\/0","10\/0","9\/1","10\/0","10\/1","9\/1","10\/1","8\/1","10\/0","8\/1","8\/1","12\/1","11\/1","10\/1","10\/1","9\/0","12\/1","11\/0","10\/1"],"Mant":["10\/0","10\/0","8\/0","9\/2","10\/0","9\/1","9\/1","9\/2","9\/0","9\/2","10\/1","9\/2","9\/1","10\/2","10\/0","9\/1","10\/1","8\/0","9\/0","8\/2","10\/1","9\/2","9\/0","9\/0","8\/0","10\/0","9\/1","10\/0","9\/1","10\/0","8\/0","8\/1"],"Drako":["5\/5"],"Chrom":["3\/2","3\/4","3\/2","2\/4","3\/3","3\/3","3\/5","3\/3","2\/2","2\/1","3\/2","2\/5","3\/5","3\/4","3\/4","2\/2","2\/5","3\/4","2\/3","2\/6","3\/2","3\/6","3\/2","2\/5","3\/1","3\/1","3\/3","3\/3","3\/5","3\/4","3\/0","3\/3","3\/3","3\/3","3\/0","3\/4","2\/3","3\/2","3\/0","3\/5","3\/5","3\/4","3\/3","3\/3","3\/1","3\/3","3\/1","3\/2","3\/5","3\/6","3\/5","2\/4","3\/2","3\/4","2\/5","3\/1","3\/2","3\/4","3\/0","3\/6","3\/5","2\/1","2\/2","3\/6","2\/0","3\/1","3\/0","3\/3","3\/1","3\/4","3\/3","2\/2","2\/0","2\/6","3\/3","3\/3","3\/3","3\/6","3\/1","3\/3","3\/3","3\/3","3\/2","3\/3","2\/4","3\/4","2\/3","3\/3","3\/3","3\/4","3\/2","3\/3","2\/4","3\/5","3\/0","2\/3","2\/1","3\/4","3\/2","3\/1","2\/3","3\/4","3\/1","3\/2","3\/1","2\/3","3\/5","3\/4","2\/5","2\/6","3\/1","3\/3","2\/1","3\/4","2\/3","3\/4","3\/2","3\/2","3\/2","2\/5","3\/1","3\/1","3\/1","3\/4","2\/3","3\/4","3\/2","2\/3","3\/2","3\/4","3\/5","3\/6","3\/2","3\/5","3\/5","3\/2","3\/2","2\/4","2\/5","3\/4","3\/2","2\/3","3\/5","3\/3","3\/2","3\/5","3\/1","2\/3","3\/3","3\/1","3\/1","3\/5","3\/4","3\/2","2\/2","3\/4","3\/0","3\/6","2\/0","2\/4","3\/1","2\/6","3\/2","3\/3","2\/3","2\/4","2\/2","3\/3","3\/3","3\/2","2\/3","2\/4","3\/4","3\/4","3\/0","3\/1","3\/0","3\/6","3\/3","3\/1","3\/2","3\/5","2\/5","3\/5","3\/1","3\/5","3\/0","3\/5","3\/5","3\/4","3\/2","2\/6","3\/1","3\/2","2\/4","3\/3","3\/3","3\/4","3\/1","3\/4","3\/3","3\/3","2\/4","3\/3","2\/0","3\/3","2\/4","2\/4","3\/0","3\/4","3\/4","3\/2","3\/3","3\/1","2\/0","3\/3","3\/4","2\/3","3\/0","3\/3","2\/0","3\/2","3\/0","3\/3","2\/3","2\/4","3\/3","2\/3","2\/1","2\/5","3\/5","3\/6","3\/2","3\/3","3\/3","3\/1","3\/3","3\/4","3\/4","3\/6","2\/2","3\/5","2\/2","3\/5","3\/3","3\/6","3\/3","3\/1","3\/1","3\/4","3\/4","2\/3","3\/0","2\/3","2\/5","3\/6","2\/4","1\/4","3\/3","3\/1","2\/2","3\/3","3\/4","3\/4","2\/3","3\/4","2\/3","2\/3","3\/3","3\/6","3\/5","2\/6","3\/1","3\/5","3\/2","3\/2","3\/4","3\/6","3\/3","2\/6","3\/0","3\/6","3\/1","3\/4","3\/4","2\/6","3\/4","3\/1","2\/4","2\/2","3\/5","3\/1","2\/1","2\/5","3\/0","3\/3","2\/1","3\/4","3\/5","2\/3","2\/3","3\/4","3\/3","3\/4","2\/4","3\/3","2\/4","3\/6","3\/0","3\/3","3\/1","2\/4","2\/1","2\/6","3\/2","2\/1","3\/2","3\/2","2\/5","3\/1","2\/3","2\/2","3\/2","2\/3","3\/1","3\/2","2\/4","2\/3","3\/0","3\/3","3\/0","3\/2","2\/5","3\/1","3\/3","3\/4","3\/0","3\/4","3\/2","2\/3","3\/1","3\/5","3\/3","3\/2","3\/3","3\/4","3\/5","3\/4","3\/2","2\/3","3\/4","3\/3","2\/0","3\/3","3\/3","3\/2","3\/3","2\/5","3\/4","2\/5","3\/2","3\/4","3\/3","3\/3","3\/2","3\/4","3\/0","2\/3","3\/3","3\/3","3\/3","2\/4","2\/5","3\/4","2\/3"]}</json>
  </var>
  <var name="thegain" type="String" copy="yes">8/1</var>
  <alias name="gains" copy="yes">
    <value>#if %lower(%-1)="reset" {#delkey gainsdb @me
#exit} {}
#var tempme ""
#if %1="" {#var tempme @me} {#forall @charnames {#if %match(%i,%1) {#if %i=%1 {#var tempme %replace(%i,"1mant","mant")
#break} {#additem tempme %i}} {}}}
#if %numitems(@tempme)>1 {#echo Multiple matches found.
#exit} {}
#var totalhp 0
#var totalmana 0
#var totalgains 0
#var maxhpgain 0
#var maxmanagain 0
#forall %db(@gainsdb,@tempme) {#add totalgains 1
#add totalhp %number(%word(%i,1,"/"))
#if %word(%i,1,"/")>@maxhpgain {#var maxhpgain {%number(%word(%i,1,"/"))}} {}
#add totalmana %number(%word(%i,2,"/"))
#if %word(%i,2,"/")>@maxmanagain {#var maxmanagain {%number(%word(%i,2,"/"))}} {}}
gt |bw|Gain count~[|bp|@tempme|bw|~]:|n|
gt |bw|Total hp: |bg|@totalhp|bw|, Total mana: |bg|@totalmana|bw|, Total levels tracked: |bg|@totalgains|n|
gt |bw|Last gain: |bg|%item(%db(@gainsdb,@tempme),%numitems(%db(@gainsdb,@tempme)))|bw| Max gains thus far: |bg|@maxhpgain/@maxmanagain|n|
gt |bw|Average gains: |bg|%format(3,%eval(%format(2,@totalhp)/@totalgains))|bw| hp|bg| %format(3,%eval(%format(2,@totalmana)/@totalgains)) |bw|mana|n|</value>
  </alias>
  <var name="totalhp" copy="yes">144</var>
  <var name="totalmana" copy="yes">7</var>
  <var name="totalgains" copy="yes">15</var>
  <var name="maxhpgain" type="String" copy="yes">11</var>
  <var name="maxmanagain" type="String" copy="yes">1</var>
  <trigger priority="8530" copy="yes">
    <pattern>^%w has returned to %w keyboard.</pattern>
    <value>#CO bright,green</value>
  </trigger>
  <trigger type="Alarm" priority="8540" copy="yes">
    <pattern>-8</pattern>
    <value>#gauge mana "Diff: %eval(@maxmana-@curmana)" @curmana @maxmana (@maxmana/4)
#gauge hp "Diff: %eval(@maxhp-@curhp)" @curhp @maxhp (@maxhp/4)
#alarm +1.5 {
#gauge mana "@curmana/@maxmana M" @curmana @maxmana (@maxmana/4)
#gauge hp "@curhp/@maxhp M" @curhp @maxhp (@maxhp/4)
}</value>
  </trigger>
  <var name="mstat" copy="yes">0</var>
  <var name="manarot" copy="yes">0</var>
  <var name="hprot" copy="yes">0</var>
  <var name="wasround" copy="yes">0</var>
  <var name="rounddb" type="Record" copy="yes">
  </var>
  <var name="rounddb2" type="Record" copy="yes">
  </var>
  <var name="damtype" copy="yes">vampire touch Gigantoise</var>
  <var name="damval" copy="yes">3.5</var>
  <var name="thedamval" copy="yes">1950.5</var>
  <var name="thedamval2" copy="yes">***DEMOLISHING***</var>
  <alias name="contaminated" copy="yes">
    <value>.2s2wu2esunuene</value>
  </alias>
  <var name="rungains" type="String" copy="yes">45/2</var>
  <var name="runhp" copy="yes">0</var>
  <var name="runmana" copy="yes">0</var>
  <var name="gainspam" type="Literal" copy="yes"/>
  <var name="runlevels" copy="yes">5</var>
  <var name="xpdb" type="Record" copy="yes">
  </var>
  <var name="killsdb" type="Record" copy="yes">
  </var>
  <trigger type="Expression" priority="8830" copy="yes">
    <pattern>@groupies=@me</pattern>
    <value>#var tank @me</value>
  </trigger>
  <alias name="kt" copy="yes">
    <value>gt ~|bw~|KillTrig~[~|br~|%dups(@tank|@leader)~|bw~|~]~|n~|</value>
  </alias>
  <var name="fleddb" type="Record" copy="yes">
    <value>LooseCannon=0|Kaliepos=0|Zapp=0|Mant=0|Chrom=0</value>
    <json>{"LooseCannon":0,"Kaliepos":0,"Zapp":0,"Mant":0,"Chrom":0}</json>
  </var>
  <var name="fcountdb" type="Record" copy="yes">
    <value>LooseCannon=0|Kaliepos=0|Zapp=0|Mant=0|Chrom=0</value>
    <json>{"LooseCannon":0,"Kaliepos":0,"Zapp":0,"Mant":0,"Chrom":0}</json>
  </var>
  <var name="failexpdb" type="Record" copy="yes">
    <value>LooseCannon=0|Kaliepos=0|Zapp=0|Mant=0|Chrom=0</value>
    <json>{"LooseCannon":0,"Kaliepos":0,"Zapp":0,"Mant":0,"Chrom":0}</json>
  </var>
  <var name="approvedlist" type="StringList" copy="yes">
  </var>
  <trigger priority="8950" copy="yes">
    <pattern>^({@approvedlist}) now follows you.</pattern>
    <value>~group %1</value>
  </trigger>
  <var name="approvedlst" type="StringList" copy="yes">
  </var>
  <trigger type="Loop Pattern" param="6" priority="8990" prompt="true" copy="yes">
    <pattern>^$</pattern>
    <value>#if @promptgag=1 {#var promptgag 0 0
#gag
#exit} {}
</value>
  </trigger>
  <var name="meverified" copy="yes">1</var>
  <trigger type="Command Input" priority="9020" copy="yes">
    <pattern>^wa{k|ke|} (%w)</pattern>
    <value>~wake
#if (%1="all") {#forall %delitem(@me,@groupies) {~wake %i}} {}</value>
  </trigger>
  <trigger priority="9040" copy="yes">
    <pattern>^%w removes you from %w group.</pattern>
    <value>#var tank ""</value>
  </trigger>
  <class name="Gauges" copy="yes">
    <button name="hp" type="Gauge" autosize="false" width="125" height="20" toolbar="2" inset="true" color="lime" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="549" copy="yes">
      <caption>@curhp/@maxhp M</caption>
      <expr>@curhp</expr>
      <gaugemax>@maxhp</gaugemax>
      <gaugelow>@maxhp/4</gaugelow>
    </button>
    <button name="mana" type="Gauge" autosize="false" width="125" height="20" toolbar="2" inset="true" color="aqua" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="559" copy="yes">
      <caption>@curmana/@maxmana M</caption>
      <expr>@curmana</expr>
      <gaugemax>@maxmana</gaugemax>
      <gaugelow>@maxmana/4</gaugelow>
    </button>
    <button type="Gauge" autosize="false" width="125" height="20" toolbar="2" inset="true" color="lime" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="569" copy="yes">
      <caption>@curmv/@maxmv MV</caption>
      <expr>@curmv</expr>
      <gaugemax>@maxmv</gaugemax>
      <gaugelow>@maxmv/4</gaugelow>
    </button>
    <button type="Gauge" autosize="false" width="125" height="20" toolbar="2" inset="true" color="lime" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="580" copy="yes">
      <caption>@curmonhp/@maxmonhp H</caption>
      <expr>@curmonhp</expr>
      <gaugemax>@maxmonhp</gaugemax>
      <gaugelow>@maxmonhp/4</gaugelow>
    </button>
    <button type="Gauge" autosize="false" width="300" height="23" inset="true" toolstyle="true" color="#FFFF99" gaugelowcol="red" gaugebackcol="None" priority="589" copy="yes">
      <caption>@tnl~tnl (@racialtnl)</caption>
      <expr>@tnl</expr>
      <gaugemax>@racialtnl</gaugemax>
      <gaugelow>@racialtnl/4</gaugelow>
    </button>
    <button type="Gauge" autosize="false" width="300" height="23" inset="true" toolstyle="true" color="#FFCC00" gaugelowcol="red" gaugebackcol="#F0F0F0" priority="598" copy="yes">
      <caption>Lag: %insert(".",@lagcounting,%len(@lagcounting)) seconds</caption>
      <expr>@lagcounting</expr>
      <gaugemax>@lagmax</gaugemax>
    </button>
  </class>
  <class name="test" copy="yes"/>
  <var name="tempme" type="StringList" copy="yes">
    <value>painmaker</value>
    <json>["painmaker"]</json>
  </var>
  <var name="theplayer" type="StringList" copy="yes">
    <value>Drako</value>
    <json>["Drako"]</json>
  </var>
  <func name="removevowel" copy="yes">
    <value>#return  %replace(%replace(%replace(%replace(%replace(%-1,"a",""),"e",""),"i",""),"o",""),"u","")</value>
  </func>
  <alias name="heals" copy="yes">
    <value>t drd div;t verence div;t atsi div;t duckst div;t mytrian div</value>
  </alias>
  <var name="mylevel" copy="yes">24</var>
  <var name="mytier" copy="yes">Hero</var>
  <var name="stabcommand" copy="yes">backstab</var>
  <var name="rescuing" copy="yes">0</var>
  <class name="Rescue" copy="yes">
    <trigger priority="11780" copy="yes">
      <pattern>^You fail to rescue ({@rescuelist}) from %2~!</pattern>
      <value>#if @rescuing=1 {#additem rescuetemp %1} {}</value>
    </trigger>
    <trigger priority="11830" copy="yes">
      <pattern>^%*'s attack{s|} {haven't hurt|strike}{s|} ({@rescuelist})</pattern>
      <value>#if @rescuing=1 {#if @lagcounting>0 {#additem rescuetemp %1} {rescue %1}} {}</value>
    </trigger>
    <var name="rescuelist" type="StringList" copy="yes">
    </var>
    <var name="norescue" type="StringList" copy="yes">
      <json>[]</json>
    </var>
    <trigger priority="14700" copy="yes">
      <pattern>^%w rescues ({@rescuetemp})!</pattern>
      <value>#delitem rescuetemp %1</value>
    </trigger>
    <trigger priority="15090" copy="yes">
      <pattern>^You successfully rescue ({@rescuetemp}) from %2!</pattern>
      <value>#delitem rescuetemp %1</value>
    </trigger>
  </class>
  <var name="rescuelist" type="StringList" copy="yes">
  </var>
  <trigger type="Expression" priority="14710" copy="yes">
    <pattern>@lagcounting=0</pattern>
    <value>#if @rescuetemp="" {} {rescue %pop(@rescuetemp)}</value>
  </trigger>
  <var name="rescuetemp" type="StringList" copy="yes">
    <json>[]</json>
  </var>
  <var name="msec" copy="yes">0</var>
  <var name="mmin" copy="yes">0</var>
  <var name="mhr" copy="yes">0</var>
  <var name="mms" copy="yes">0</var>
  <var name="thetime" copy="yes">24 9 59 999</var>
  <var name="thehour" copy="yes">24</var>
  <var name="theminute" copy="yes">9</var>
  <var name="thesecond" copy="yes">59</var>
  <var name="themilli" copy="yes">999</var>
</cmud>