hasImpersonated: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added MacroFunction template and Metamacro Function category)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=hasImpersonated
|name=hasImpersonated
|version=1.3b48
|description=
|description=
Returns 1 if there is an [[impersonated token]] otherwise returns 0.
Returns 1 if there is an [[Current Token|impersonated token]] otherwise returns 0.
|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
[h: hasImp = hasImpersonated()]
hasImpersonated()
</source>
</syntaxhighlight>
}}
}}
[[Category:Metamacro Function]]
[[Category:Metamacro Function]]
[[Category:Permission Function]]
[[Category:Impersonation Function]]

Latest revision as of 16:00, 15 March 2023

hasImpersonated() Function

Introduced in version 1.3b48
Returns 1 if there is an impersonated token otherwise returns 0.

Usage

hasImpersonated()