isOwnedByAll: Difference between revisions
Jump to navigation
Jump to search
m (→Function isNPC) |
Verisimilar (talk | contribs) (Applied Template:MacroFunction) |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=isOwnedByAll | |||
|description= | |||
Returns 1 if the [[Token:Current Token|Current Token]] has the [[Token:owned by all|owned by all]] check box checked. | Returns 1 if the [[Token:Current Token|Current Token]] has the [[Token:owned by all|owned by all]] check box checked. | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: byAll = isOwnedByAll()] | [h: byAll = isOwnedByAll()] | ||
</source> | </source> | ||
|example= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[r, if(isOnwedByAll()): "Anyone can edit me"] | [r, if(isOnwedByAll()): "Anyone can edit me"] | ||
</source> | </source> | ||
}} | |||
[[Category:Token Function]] |
Revision as of 20:58, 8 March 2009
isOwnedByAll() Function
Returns 1 if the Current Token has the owned by all check box checked.
Usage
[h: byAll = isOwnedByAll()]
Example
[r, if(isOnwedByAll()): "Anyone can edit me"]