RoAClient XP Counter

From AvatarWiki
Revision as of 23:12, 18 September 2005 by Mel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

For a simple XP counter you need to add 3 code segments.

1. A trigger to add up the XP received. The Trigger should be:

^You receive %0 experience points.

The Reaction should be:

$varadd xpcount %0

2. An alias to report the xp gained, you can call it runreport.

;This run we gained @xpcount xp, since I last reset the counter I have gained @xpday total.

3. An alias to reset the xpcounter, runreset.

$var xpcount 0

At the end of each run (or during it) type runreport to display the XP gained. Entering runreset will reset the counter.