Difference between revisions of "Talk:Tintin++ Auto Leveling Gear Swapper"

From AvatarWiki
Jump to navigation Jump to search
Line 47: Line 47:
  
 
update: the remove part works, but not the wearing --[[User:3nki|3nki]] 09:35, 23 December 2011 (CST)
 
update: the remove part works, but not the wearing --[[User:3nki|3nki]] 09:35, 23 December 2011 (CST)
 +
 +
another update: i changed the line where it selects to change into lvl gear to this:
 +
<pre>
 +
#action {%s+%1tnl%s+} {
 +
</pre>
 +
since my prompt looks like this:<br>
 +
< 1573/1940hp 2725/2725m 1977/1977Mv 619tnl 100%>
 +
 +
but still no luck--[[User:3nki|3nki]] 10:00, 23 December 2011 (CST)

Revision as of 12:00, 23 December 2011

i've got in-game aliases already on all my alts (lvlon & lvloff), so i changed it to do that. also modified the prompt line to: #action {^%1tnl$} {

but i can't seem to get it to work.. also, about putting "aon" after the #read line, is it just "aon" or something else with that?

here's what i've got:

#variable autolvl 0;
#variable treshold 250;
#variable shouldbeon 0;
#variable gearon 0;

#alias {aon}{#showme Starting auto-lvl/gear tracker;#var autolvl 1;#var gearon 0;equipment;};
#alias {aoff}{#showme Disabling auto-lvl/gear tracker;#var autolvl 0;};

#nop Determining status - is the gearon or off and what's the state of the tnl;

#action {^<worn about body> %1 the mantle of the master archivist$}{
        #if {"$autolvl" == "1"}{#showme Leveling gear located;#var gearon 1;};
};

#nop Tracking TNL / initiating swaps;

#action {^%1tnl$} {
        #if {"$autolvl" == "1"}{
                #var currenttnl %1;
                #if {$currenttnl < $treshold} {#var shouldbeon 1;};
                #else {#var shouldbeon 0;};
                #if {("$shouldbeon" == "1") && ("$gearon" == "0")}{
                        #showme Treshold reached! Wearing lvl gear.;
                        lvlon;
                        #var gearon 1;
                };
        };
};

#action {^Your powers increase!!!$}{
        #if {"$autolvl" == "1"}{
                #nop Need to wear standard gear.;
                lvloff;
                #var shouldbeon 0;
                #var gearon 0;
        };
};

thanks for any advice!

update: the remove part works, but not the wearing --3nki 09:35, 23 December 2011 (CST)

another update: i changed the line where it selects to change into lvl gear to this:

#action {%s+%1tnl%s+} {

since my prompt looks like this:
< 1573/1940hp 2725/2725m 1977/1977Mv 619tnl 100%>

but still no luck--3nki 10:00, 23 December 2011 (CST)