xpgain()
if (hp <= 0)
usr.xp += rand(20,100)
I have a problem with the XP situation. I used the above code to gain exp and I see the limitations as I cannot embed a value. eg. usr << "You have gained [gainedxp] XP!".
Please could someone help me with this. I am still learning so please bare with me :P