Moderator: MacroQuest Developers
Code: Select all
#chat say
#chat tell
#chat ooc
#chat shout
#chat auc
#chat guild
#chat group
#chat chat Code: Select all
#Event GainExp "You gain"
#Event GainExp "You regain some experience from resurrection"
#Event LoseExp "You have been slain"

Code: Select all
#event CheckExp "slain"
|**** Put these at the top of your macro *****|
/declare LastExp outer
/varset LastExp ${Me.PctExp}
|***********************************************************|
Sub Event_CheckExp
/echo ${Math.Calc[${Me.PctExp}-${LastExp}]}
/varset LastExp ${Me.PctExp}
/return
|***********************************************************|Code: Select all
#event CheckExp "#*#slain#*#"