isTrusted: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:isTrusted moved to isTrusted) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=isTrusted | |name=isTrusted | ||
|version=1.3b48 | |||
|description= | |description= | ||
Returns 1 if this is running as a [[Macros:TrustedMacros|trusted macro]] or 0 if it is not. | Returns 1 if this is running as a [[Macros:TrustedMacros|trusted macro]] or 0 if it is not. | ||
Line 6: | Line 7: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
isTrusted() | |||
</source> | </source> | ||
Revision as of 12:44, 10 March 2009
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!")]