verb
beg(mob/merchant as mob in oview(1))
var/T = 1
if(T == 1)
usr.wealth += 5
usr << "merchant gives you 5 gold"
T = 0
return
else
usr << "merchant shuns you away"
the code is clean but there is a runtime error. I'm trying to make it so that if the player begs once, then he wont be able to beg at that merchant again. But It keeps giving me gold and not changing the value of T to zero. Any suggestions?