ID:143248
 
mob
var/life = 100
//Other code, skipping
proc/Butthurt(H)
life = life - H
if (life < 0)
world << "[src] has been killed!"
del src


Returned:

error:life:undefined error

This is pissing me off pretty badly, any help?

change it from proc/butthurt(H) to mob/proc/Butthurt(H)
Its annoyed because that proc applies to all atoms not just mobs, and yet your referencing a mob variable.
mob
var/life = 100
//Other code, skipping
proc/Butthurt(H)
src.life -= H
if (src.life < 0)
world << "[src] has been killed!"
del src

There ya go.
In response to Masterdan
It doesn't really apply to all atoms, it's a global proc. It if were for atoms it would be atom/proc, in that proc you can't even access simple variables like loc and name.