I am putting this here for anyone to use if they want to and also to help those who need it see how to store variables and all
There are commands that are displayed when the system is activated and there is also a command that you can use when the system is inactive.
the commands are:
rattot - tells you how much in gold your dead rats are worth
clearrat - clears the ratcount and rattot
trk - displays total rats killed over all time and gold value
rathelp - repeats these commands
The system turns off and on when you use the RATS command for hunting rats.
To use this simply open the reflex editor click on archive then click import XML
paste the following including the reflexbundle tags
<reflexbundle modified="2007-07-03 02:24:15 EDT" author="Taea">
<group name="rats" disabled="1">
<var name="blrat">0</var>
<var name="blrattotal">0</var>
<var name="brat">0</var>
<var name="brattotal">0</var>
<var name="counter">0</var>
<var name="orat">0</var>
<var name="orattotal">0</var>
<var name="rat">0</var>
<var name="rattotal">0</var>
<var name="totrats">0</var>
<var name="yrat">0</var>
<var name="yrattotal">0</var>
<alias name="clearrat">#set brat = $brat * 0
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</alias>
<alias name="ratcount">#echo $brat Baby rats
#echo $yrat Young rats
#echo $rat Rats
#echo $orat Old rats
#echo $blrat Black rats</alias>
<alias name="rattot">#math brattotal $brat * 7
#math yrattotal $yrat * 14
#math rattotal $rat * 21
#math orattotal $orat * 28
#math blrattotal $blrat * 35
#math totrats $brattotal + $yrattotal + $rattotal + $orattotal + $blrattotal
#echo $totrats gold in rats</alias>
<trig name="He hands you a bag of {d} gold, and says,">#set brat = $brat * 0
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</trig>
<trig name="Liirup squeals with delight and nearly tears your arm off as she grabs the rats">#set brat = $brat * 0
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</trig>
<trig name="The ratman thanks you as you hand over ">#set brat = $brat * 0
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</trig>
<trig name="You have slain a baby rat, retrieving the corpse.">#math brat $brat + 1
#math totbrat $totbrat + 1
#echo $brat baby rats Keeled!</trig>
<trig name="You have slain a black rat, retrieving the corpse.">#math blrat $blrat + 1
#math totblrat $totblrat + 1
#echo $blrat black rats Keeled!</trig>
<trig name="You have slain a rat, retrieving the corpse.">#math rat $rat + 1
#math totrat $totrat + 1
#echo $rat rats Keeled!</trig>
<trig name="You have slain a young rat, retrieving the corpse.">#math yrat $yrat + 1
#math totyrat $totyrat + 1
#echo $yrat young rats Keeled!</trig>
<trig name="You have slain an old rat, retrieving the corpse.">#math orat $orat + 1
#math totorat $totorat + 1
#echo $orat old rats Keeled!</trig>
<trig name="then smiles at you and hands you {d} sovereigns">#set brat = $brat * 0
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</trig>
</group>
<group name="default">
<var name="blratsum">0</var>
<var name="bratsum">0</var>
<var name="oratsum">0</var>
<var name="ratcounter">0</var>
<var name="ratsum">0</var>
<var name="totblrat">0</var>
<var name="totbrat">0</var>
<var name="totorat">0</var>
<var name="totoratsum">0</var>
<var name="totrat">0</var>
<var name="totratssum">0</var>
<var name="totyrat">0</var>
<var name="yratsum">0</var>
<alias name="rathelp">#echo ratcount - gives a breakdown of all rats killed
#echo rattot - tells you how much in gold your dead rats are worth
#echo clearrat - clears the ratcount and rattot
#echo trk - displays total rats killed over all time and gold value
#echo rathelp - repeats these commands</alias>
<alias name="ratsoff">#groupoff rats
#echo trk - displays total rats killed and thier value
</alias>
<alias name="ratson">#groupon rats
#echo ratcount - gives a breakdown of all rats killed.
#echo rattot - tells you how much in gold your dead rats are worth.
#echo clearrat - clears the ratcount and rattot.
#echo trk - can be used with system on or off. Will display the number of rats
#echo killed since the installation of the system as well as value in gold.
#echo please use "rathelp" to see these commands again.</alias>
<alias name="trk">#echo $totbrat Baby rats
#echo $totyrat Young rats
#echo $totrat Rats
#echo $totorat Old rats
#echo $totblrat Black rats
#echo ----------*******----------
#math bratsum $totbrat * 7
#math yratsum $totyrat * 14
#math ratsum $totrat * 21
#math oratsum $totorat * 28
#math blratsum $totblrat * 35
#math totratssum $bratsum + $yratsum + $ratsum + $oratsum + $blratsum
#math ratcounter $totbrat + $totyrat + $totrat + $totorat + $totblrat
#echo A total of $ratcounter rats killed, totaling $totratssum gold.</alias>
<trig name="You will no longer take notice of the movement of rats.">#echo Rat tracking disabled.
ratsoff</trig>
<trig name="You will now notice the movement of rats. Happy hunting!">#echo Taea's rat tracking enabled!
ratson</trig>
</group>
</reflexbundle>make sure to select merge...
I tried to use variables and aliases that I didn't think would overwrite any that are common..
Let me know what you think!
I may also put other systems that I make on here as well.
I do not typically use Nexus but it is what I started on and I think I have a pretty good grasp on things like this.
This post has been edited by Taea: 04 July 2007 - 06:17 PM

Help










