check_wealth()
if (usr.wealth -= 0)
usr << "You have no Gold!. Get out there and do something!"
else
usr << "You have [usr.wealth] Gold!"
Problem description:
Ok, I'm trying to get the my check wealth verb to tell the player to go do something if they have no gold, and so I thought about using an If, Else system to do so, but the compiler gives me a missing expression error. What should I change to make it work right?
The correct operators would be <= (less than or equal to.)
If your proc is simply checking to see if they have any gold at all and not a specific amount, just do...