ID:176568
 
I can't this Bump to work right it keeps saying
error:/obj/door/O:undefined type path

obj/door
density = 1
icon = 'door.dmi'

mob
Bump(O)
if(/obj/door/O in world)
usr << "You don't have a key."
mob
Bump(atom/O)
if(istype(O,/obj/door))
usr << "You don't have the right key..."

Try that out