ID:173305
 
I get an error that says error: src.worn unidentfyed var.

mob
var
src.worn


I add the var and still get the error?
Majinveku wrote:
I get an error that says error: src.worn unidentfyed var.

mob
var
src.worn


I add the var and still get the error?

When you're declaring the variable, you don't use src. Only use src when it's being accessed inside a proc. For example:
mob
var
worn

verb
wear-out()
src.worn = 1
world << "[src] is all worn out!"