void main() { object oPC = GetPCSpeaker(); int iLevelUpTo = 36; int iExp = 500 * (iLevelUpTo - 1) * (iLevelUpTo); SetXP(oPC, iExp); }