handle.type(x)
handle
object.
type
argument to the
handle
function when the handle was created.
When a handle is created, a character string type is associated with it and stored internally. This function just returns that string.
if(handle.type(misc.handle) == "door") door.open(misc.handle)