if(totalexp >= nextlvl)
usr << "You have Gained a level!"
lvl = lvl + 1
totalexp = 0
Problem description:
This is supposed to check if your total experience equals the experience needed to level up.Then out put a message to the usr telling him he leveld up.
But when i compile i get
TESTWORLD.dm:74:error:if : invalid proc definition
TESTWORLD.dm:75:error: invalid proc definition.
Can someone help me please?