isOwnedByAll: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Applied Template:MacroFunction)
Line 1: Line 1:
==Function isOwnedByAll==
{{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===
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: byAll = isOwnedByAll()]
[h: byAll = isOwnedByAll()]
</source>
</source>


 
|example=
===Examples===
<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"]