Talk:Tintin++ Auto Leveling Gear Swapper

From AvatarWiki
Revision as of 11:23, 23 December 2011 by 3nki (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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!