ID:178207
 
obj/Iron_Helmet
verb
wear()
if(usr.helm == 1)
usr <<"> You can only wear one helmet!"
else
usr <<"
> You wear the helmet!"
usr.helm = 1
usr.overlays += 'ironhelm.dmi'
usr.defense += 10
remove()
if(usr.helm == 0)
usr <<"> You don't have any helmets on."
else
usr <<"
> You remove the helmet!!"
usr.helm = 0
usr.overlays -= 'ironhelm.dmi'
usr.defense -= 10

loading Knights and Mages.dme
armor.dm:9: Inconsistent indentation.
armor.dm:11: Inconsistent indentation.
armor.dm:10:warning: empty 'else' clause
armor.dm:12: Inconsistent indentation.
armor.dm:13: Inconsistent indentation.
armor.dm:14: Inconsistent indentation.
armor.dm:17: Inconsistent indentation.
armor.dm:19: Inconsistent indentation.
armor.dm:18:warning: empty 'else' clause
armor.dm:20: Inconsistent indentation.
armor.dm:21: Inconsistent indentation.
armor.dm:22: Inconsistent indentation.

Knights and Mages.dmb - 13 errors, 2 warnings (double-click on an error to jump to it)

i have tryed and tryed to get it to work but Inc ind. errors.. is their a diff way to do this?
With a wild guess, the first part of your code is indented 3 space, the end of it appears to be indented 8 space. I don't know if that's because of the forum or not though, but it seems like a good guess.
In response to Foomer
nm got it.
In response to Foomer
well i can't get it.. SO i guess.. err.. there goes my game?