<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://govbanned.info/index.php?action=history&amp;feed=atom&amp;title=Tintin%2B%2B_Auto_Leveling_Gear_Swapper</id>
	<title>Tintin++ Auto Leveling Gear Swapper - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://govbanned.info/index.php?action=history&amp;feed=atom&amp;title=Tintin%2B%2B_Auto_Leveling_Gear_Swapper"/>
	<link rel="alternate" type="text/html" href="http://govbanned.info/index.php?title=Tintin%2B%2B_Auto_Leveling_Gear_Swapper&amp;action=history"/>
	<updated>2026-04-04T18:52:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>http://govbanned.info/index.php?title=Tintin%2B%2B_Auto_Leveling_Gear_Swapper&amp;diff=45765&amp;oldid=prev</id>
		<title>WinterRose: lvlgear swapper script.</title>
		<link rel="alternate" type="text/html" href="http://govbanned.info/index.php?title=Tintin%2B%2B_Auto_Leveling_Gear_Swapper&amp;diff=45765&amp;oldid=prev"/>
		<updated>2011-12-15T13:41:05Z</updated>

		<summary type="html">&lt;p&gt;lvlgear swapper script.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is a relatively simple leveling gear swapping script that tracks TNL, and will wear preset items when approaching level (and will also swap back after leveling).&lt;br /&gt;
&lt;br /&gt;
Assumptions:&lt;br /&gt;
* You have TNL in you prompt. If not, simply enable prompt2, and put ''(TNL:%T/&amp;lt;whatever&amp;gt;'' in it, or change the prompt tracking line to match your current setup.&lt;br /&gt;
* You will be wearing a [[Wide Brimmed Black Hat]] as well as a [[Silver Crucifix]], both etched ''lvlgear''. This is a common combo of items for those characters [[Devotion|devoting]] [[Quixoltan]]. If you do not need both items, simply remove the line in question below.&lt;br /&gt;
* Similarly, replace the line wearing items back with the correct etch for your running items, or directly put in item names if you use unetched gear.&lt;br /&gt;
* You are ok with the threshold being set to 250 TNL. If you do not think gains this high are likely (lord gameplay), adjust the treshold variable.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
''Put the following into a file in your tintin++ folder and use '''#read &amp;lt;filename&amp;gt;''' while in tintin to load them up. Though you probably want them to autoload with your character, as well as autostart by putting '''aon''' command after the '''#read''' line.''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#variable autolvl 0;&lt;br /&gt;
#variable treshold 250;&lt;br /&gt;
#variable shouldbeon 0;&lt;br /&gt;
#variable gearon 0;&lt;br /&gt;
&lt;br /&gt;
#alias {aon}{#showme Starting auto-lvl/gear tracker;#var autolvl 1;#var gearon 0;equipment;};&lt;br /&gt;
#alias {aoff}{#showme Disabling auto-lvl/gear tracker;#var autolvl 0;};&lt;br /&gt;
&lt;br /&gt;
#nop Determining status - is the gearon or off and what's the state of the tnl;&lt;br /&gt;
&lt;br /&gt;
#action {^&amp;lt;worn around neck&amp;gt; %1 silver crucifix$}{&lt;br /&gt;
        #if {&amp;quot;$autolvl&amp;quot; == &amp;quot;1&amp;quot;}{#showme Leveling gear located;#var gearon 1;};&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
#nop Tracking TNL / initiating swaps;&lt;br /&gt;
&lt;br /&gt;
#action {^(TNL:%1/%2$} {&lt;br /&gt;
        #if {&amp;quot;$autolvl&amp;quot; == &amp;quot;1&amp;quot;}{&lt;br /&gt;
                #var currenttnl %1;&lt;br /&gt;
                #if {$currenttnl &amp;lt; $treshold} {#var shouldbeon 1;};&lt;br /&gt;
                #else {#var shouldbeon 0;};&lt;br /&gt;
                #if {(&amp;quot;$shouldbeon&amp;quot; == &amp;quot;1&amp;quot;) &amp;amp;&amp;amp; (&amp;quot;$gearon&amp;quot; == &amp;quot;0&amp;quot;)}{&lt;br /&gt;
                        #showme Treshold reached! Wearing lvl gear.;&lt;br /&gt;
                        wear 'crucifix lvlgear';&lt;br /&gt;
                        wear 'widebrimmed lvlgear';&lt;br /&gt;
                        #var gearon 1;&lt;br /&gt;
                };&lt;br /&gt;
        };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
#action {^Your powers increase!!!$}{&lt;br /&gt;
        #if {&amp;quot;$autolvl&amp;quot; == &amp;quot;1&amp;quot;}{&lt;br /&gt;
                #nop Need to wear standard gear.;&lt;br /&gt;
                rem all.lvlgear;&lt;br /&gt;
                wear all.ivoherohit;&lt;br /&gt;
                #var shouldbeon 0;&lt;br /&gt;
                #var gearon 0;&lt;br /&gt;
        };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Type '''aon''' to enable, and '''aoff''' to disable, though it is recommended to enable this automatically when logging in.&lt;br /&gt;
&lt;br /&gt;
[[Category:TinTin++ Scripting]]&lt;/div&gt;</summary>
		<author><name>WinterRose</name></author>
		
	</entry>
</feed>