getAllowsURIAccess

From RPTools Wiki
Revision as of 17:05, 14 March 2023 by Taustin (talk | contribs) (Text replacement - "source>" to "syntaxhighlight>")
Jump to navigation Jump to search

getAllowsURIAccess() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.10.0
Checks to see if a Lib:Token allows URI access or not.

Usage

<source lang="mtmacro" line> getAllowsURIAccess() getAllowsURIAccess(libToken) </syntaxhighlight> Parameters

  • libToken - The name of the Lib:Token to check.


If the libToken is not specified it defaults to the current token. Calling this with a non Lib:Token specified will always result in it returning false.


See Also