XP Cap and Dam/Heal XP Tracker --.NET

Scripts for wintin.

XP Cap and Dam/Heal XP Tracker --.NET

Postby *juggleblood* » Fri Feb 03, 2006 10:17 pm

This is kind of strange the way I set this up. I'd like to see anyone else's scripts that are similar. It figures out if you capped or not and by how much. And it also figures out how much xp you got above and beyond your share of the mob xp for hacking, blasting, or healing.


After each kill in a group this script does a score command. It gags out most of the junk in the score by temporarily activating a group called xpgag. I have a trigger that deactivates this group when I log in. Then it just activates itself as necessary. You'll definitely notice if its on by mistake, cuz your score will be all gagged out-just type xpgagoff.


Its set up to display it as 'damage xp' cuz I'm not a cleric. Fix it as you like.

Also its not set up to be turned on and off. It just always activates when you're a group member (non leader) and get xp. It will give wacky results if you've just leveled or died and lost xp.

You may have to create the initial variables to get it going, but I don't think so.

Enjoy :)

#defgroup experience

#ac {^You receive %0 experience} {save;#var mobxp $0;trigxpcheck;trigxpgag;sc} {G|experience}

#al {trigxpcheck} {#ac {^You have %0 unused} {#var xpcurrent $0; #math xpdelta $0-$xpcurrent;#showme {XPdelta is $xpdelta};#if {$xpdelta<$mobxp} {#math xpcap {$mobxp-$xpdelta};#showme {XPCap is $xpcap}};#if {$xpdelta>$mobxp} {#math damxp {$xpdelta-$mobxp};#showme {You received $damxp exp points for damage done.}};#if {$damxp=0} {#showme You did no recent damage.}} {O}} {G|experience}

#al {trigxpgag} {#ac {(level:} {xpgagon}{O};#ac {^You are affected}{xpgagoff}{O}} {G|experience}

#al {xpgagoff} {#disable xpgag} {G|experience}
#al {xpgagon} {#enable xpgag} {G|experience}

#defgroup xpgag

#gag {armor} {G|xpgag}
#gag {drachma} {G|xpgag}
#gag {evil} {G|xpgag}
#gag {example} {G|xpgag}
#gag {gold} {G|xpgag}
#gag {good} {G|xpgag}
#gag {levels} {G|xpgag}
#gag {movement} {G|xpgag}
#gag {neutral} {G|xpgag}
#gag {protecting} {G|xpgag}
#gag {sleeping} {G|xpgag}
#gag {Str} {G|xpgag}
#gag {thirsty} {G|xpgag}
#gag {throat} {G|xpgag}
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Return to WinTin Scripts

Who is online

Users browsing this forum: No registered users and 4 guests

cron