isTrusted: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Added version.) |
m (removed extraneous parenthesis near end.) |
||
Line 12: | Line 12: | ||
|example= | |example= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[r, if(isTrusted()): "I can run the trusted functions! yay!" | [r, if(isTrusted()): "I can run the trusted functions! yay!"] | ||
</source> | </source> | ||
}} | }} | ||
[[Category:Metamacro Function]] | [[Category:Metamacro Function]] | ||
[[Category:Permission Function]] | [[Category:Permission Function]] |
Revision as of 05:33, 19 September 2010
isTrusted() Function
• Introduced in version 1.3b48
Returns 1 if this is running as a trusted macro or 0 if it is not.
Usage
isTrusted()
Example
[r, if(isTrusted()): "I can run the trusted functions! yay!"]