@type()

This function takes a dbref (without the # sign), and returns what 
type of object it is:

    4   thing
    3   exit
    2   player
    1   room
    0   garbage
    -1  unused

Usage:
@type("123")
@type("%0")