Haspower()

From TinyMUX
Revision as of 08:06, 28 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions {{Function|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 obje...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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()