help please with event
Posted: Mon May 03, 2004 11:46 am
ok the event is this
ok i use to find the damage
what i want to do now is find the name of the person who scored the crit hit i want to match it to my player name and if its the same move it on to a sub called "crits" if its not the same i want to discard it.
thank you to anyone who can help me
Code: Select all
#Event crit "scores a critical hit!"
Code: Select all
/varset PositionStart ${Math.Calc[${String["${SkillUpText}"].Find["! ("]}+2]}
/varset PositionEnd ${String["${SkillUpText}"].Find[")"]}
/varset Damage ${String[${SkillUpText}].Mid[${Math.Calc[${PositionStart}+1]},${Math.Calc[${PositionEnd}-${PositionStart}]}]}
thank you to anyone who can help me