Haspower()

From TinyMUX
Jump to navigation Jump to search


20px-Function.png haspower(<object>,<power>)

Returns true if object <object> has the power named <power> set on it. You may not be able to retrieve information for objects that you do not own.

Example

> say haspower(me, announce)

You say, "0"


> say hasflag(me, extended_who)

You say, "1"

Related Topics

powers()