hasattrp()
btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/hasattrp() · 402 B
From the archive btonline-btechmux-0.6-rc4.tbz2
Download the archive « Back to the archive contents
& hasattrp() Syntax: hasattrp(<object>, <attribute name>) Returns 1 if the object or its parent has the named attribute, and 0 if it does not. If the object does not exist or the player does not have the ability to examine the object, #-1 will be returned. hasattr() can be used to just check objects for an attribute without checking their parent. See Also: hasattr()