Hastype(): Difference between revisions

From TinyMUX
Jump to navigation Jump to search
mNo edit summary
 
(No difference)

Latest revision as of 08:04, 28 November 2010

HASTYPE()

hastype(<object>, <type>)

Returns 1 if the object is of the named type, otherwise 0. Valid types are: ROOM, EXIT, PLAYER, THING. If an invalid type is given, #-1 is returned.

type()