I have searched and haven't found anything that resembles my problem so i will try to explain what i am trying to do, heh.
The mud i play doesn't say "You gained 250 exp" when you kill a mob, what i am trying to do, is have the xp stored in a variable then when i kill something, makes the xp into another variable, subtracts the first one and says "you gained x exp" then stores the second one as the first.
the command to get the total exp is "xp" and the line is:
Your current experience points: xxxx
i hope that sounds rational, not good at explaining things too well.
The mud i play doesn't say "You gained 250 exp" when you kill a mob, what i am trying to do, is have the xp stored in a variable then when i kill something, makes the xp into another variable, subtracts the first one and says "you gained x exp" then stores the second one as the first.
the command to get the total exp is "xp" and the line is:
Your current experience points: xxxx
i hope that sounds rational, not good at explaining things too well.