F l o r a ' s   B a t M U D   t r i g g e r s   f o r   z M U D

#ECHO Exp gain triggers.
#ECHO Echoes gained exp on screen. Configured to trigger from my prompt (see Prompts).
#ECHO In addition, keeps count of total exp gained. Use it as you please.
#VAR countexp {0}
#VAR showexp {0}
#VAR totalexp {0}
#TRIGGER { Exp:(%d) ~>} {#if (%eval(%1-@countexp) != 0) {#if (%eval(%1-@countexp) > 0) {#math showexp %1-@countexp;#math totalexp @totalexp+@showexp;#var countexp %1;#echo Gained: ~[@showexp~] exp.} {#var countexp %1};}} {exp_count} 740
#TRIGGER { Exp:(%d) ~>} {#var countexp %1;#t+ exp_count;#t- exp_start} {exp_start} 711