<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://packard.life/index.php?action=history&amp;feed=atom&amp;title=MT_Run_Stats_Counter</id>
	<title>MT Run Stats Counter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://packard.life/index.php?action=history&amp;feed=atom&amp;title=MT_Run_Stats_Counter"/>
	<link rel="alternate" type="text/html" href="http://packard.life/index.php?title=MT_Run_Stats_Counter&amp;action=history"/>
	<updated>2026-04-03T20:18:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>http://packard.life/index.php?title=MT_Run_Stats_Counter&amp;diff=27376&amp;oldid=prev</id>
		<title>Andhrimner at 15:18, 29 December 2006</title>
		<link rel="alternate" type="text/html" href="http://packard.life/index.php?title=MT_Run_Stats_Counter&amp;diff=27376&amp;oldid=prev"/>
		<updated>2006-12-29T15:18:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:18, 29 December 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These commands will reset the variables &amp;quot;kill/kills&amp;quot; and &amp;quot;kill/xp&amp;quot; to 0, CInt(0) is for Monkeyterm to know that it should store the number 0 and not the string &amp;quot;0&amp;quot; in the variable.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These commands will reset the variables &amp;quot;kill/kills&amp;quot; and &amp;quot;kill/xp&amp;quot; to 0, CInt(0) is for Monkeyterm to know that it should store the number 0 and not the string &amp;quot;0&amp;quot; in the variable.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Since MonkeyTerm uses VBScripting you dont have to create the variables before you use them, so if for example the variable &amp;quot;kill/xp&amp;quot; doesnt exist, MonkeyTerm will create it.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Since MonkeyTerm uses VBScripting you dont have to create the variables before you use them, so if for example the variable &amp;quot;kill/xp&amp;quot; doesnt exist, MonkeyTerm will create it.''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Advanced ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;You could also if you like save your own name in a variable, and depending on what that name is append different messages to the shown strig.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; if var(&amp;quot;char_name&amp;quot;) = &amp;quot;&amp;lt;your monks name&amp;gt;&amp;quot; then&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    kill_string = kill_string + &amp;quot; - |w|&amp;quot; + ''variable_name'' + &amp;quot;|c| golden strikes.&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; end if&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This assumes that you create an if statement for each type of char you use this alias with. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: MonkeyTerm Scripting]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: MonkeyTerm Scripting]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Andhrimner</name></author>
		
	</entry>
	<entry>
		<id>http://packard.life/index.php?title=MT_Run_Stats_Counter&amp;diff=27342&amp;oldid=prev</id>
		<title>Andhrimner at 21:47, 27 December 2006</title>
		<link rel="alternate" type="text/html" href="http://packard.life/index.php?title=MT_Run_Stats_Counter&amp;diff=27342&amp;oldid=prev"/>
		<updated>2006-12-27T21:47:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This trigger counts the number of kills and amount of experience you have gained on a run and shows it to the group.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&lt;br /&gt;
''Each of the following is to be entered into MonkeyTerm under the either the trigger och alias tab.''&lt;br /&gt;
 &lt;br /&gt;
== Trigger == &lt;br /&gt;
''This will keep track of how much xp you have gathered, and for how many kills''&lt;br /&gt;
&lt;br /&gt;
Pattern: You receive * experience points.&lt;br /&gt;
&lt;br /&gt;
Commands:&lt;br /&gt;
 &amp;lt;% &lt;br /&gt;
    var(&amp;quot;kill/xp&amp;quot;) = var(&amp;quot;kill/xp&amp;quot;) + CInt($1) &lt;br /&gt;
    var(&amp;quot;kill/kills&amp;quot;) = var(&amp;quot;kill/kills&amp;quot;) + 1&lt;br /&gt;
 %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alias ==&lt;br /&gt;
''This will show the group how much experience you gathered. And how you reset the counting.''&lt;br /&gt;
&lt;br /&gt;
Pattern: show&lt;br /&gt;
&lt;br /&gt;
Commands: &lt;br /&gt;
 &amp;lt;% &lt;br /&gt;
   dim kill_string&lt;br /&gt;
   kill_string = &amp;quot;|c|We ran for |w|&amp;quot; + var(&amp;quot;kill/xp&amp;quot;) + &amp;quot; |c|xp on |w|&amp;quot; + var(&amp;quot;kill/kills&amp;quot;) + &amp;quot;|c| kills.&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
   Session.EvaluateCommand((&amp;quot;gtell &amp;quot; + kill_string + &amp;quot;\n&amp;quot;))&lt;br /&gt;
 %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pattern: reset&lt;br /&gt;
&lt;br /&gt;
Commands: &lt;br /&gt;
 &amp;lt;% &lt;br /&gt;
    var(&amp;quot;kill/kills&amp;quot;) = CInt(0)&lt;br /&gt;
    var(&amp;quot;kill/xp&amp;quot;) = CInt(0)&lt;br /&gt;
 %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
To show the stats, type &amp;lt;B&amp;gt;show&amp;lt;/B&amp;gt; at any time.&amp;lt;BR&amp;gt;&lt;br /&gt;
To reset the stats to 0, type &amp;lt;B&amp;gt;reset&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How It Works ==&lt;br /&gt;
 var(&amp;quot;kill/xp&amp;quot;) = var(&amp;quot;kill/xp&amp;quot;) + CInt($1)&lt;br /&gt;
This will create a variable named &amp;quot;kill/xp&amp;quot; if it doesnt exist and then store the amount of experience you have gained during the run. &lt;br /&gt;
 var(&amp;quot;kill/kills&amp;quot;) = var(&amp;quot;kill/kills&amp;quot;) + 1&lt;br /&gt;
This line will in the variable named &amp;quot;kill/kills&amp;quot; keep track of how many mobiles your group has killed so far during the run.&lt;br /&gt;
&lt;br /&gt;
 dim kill_string&lt;br /&gt;
 kill_string = &amp;quot;|c|We ran for |w|&amp;quot; + var(&amp;quot;kill/xp&amp;quot;) + &amp;quot; |c|xp on |w|&amp;quot; + var(&amp;quot;kill/kills&amp;quot;) + &amp;quot;|c| kills.&amp;quot;&lt;br /&gt;
This will create a string with the experienced gained, and the number of mobiles killed during the run.&lt;br /&gt;
&lt;br /&gt;
 Session.EvaluateCommand((&amp;quot;gtell &amp;quot; + kill_string + &amp;quot;\n&amp;quot;))&lt;br /&gt;
This command makes MonkeyTerm parse it, as if it was typed in the normal way. So any aliases and such made in MonkeyTerm is accessable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 var(&amp;quot;kill/kills&amp;quot;) = CInt(0)&lt;br /&gt;
 var(&amp;quot;kill/xp&amp;quot;) = CInt(0)&lt;br /&gt;
These commands will reset the variables &amp;quot;kill/kills&amp;quot; and &amp;quot;kill/xp&amp;quot; to 0, CInt(0) is for Monkeyterm to know that it should store the number 0 and not the string &amp;quot;0&amp;quot; in the variable.&lt;br /&gt;
''Since MonkeyTerm uses VBScripting you dont have to create the variables before you use them, so if for example the variable &amp;quot;kill/xp&amp;quot; doesnt exist, MonkeyTerm will create it.''&lt;br /&gt;
&lt;br /&gt;
[[Category: MonkeyTerm Scripting]]&lt;/div&gt;</summary>
		<author><name>Andhrimner</name></author>
		
	</entry>
</feed>