Difference between revisions of "Template:LSL Function/permission"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
{{#vardefine:header_footnote|{{#var:header_footnote}}{{#if: {{{1|}}}| Requires the {{LSLG|{{{1}}}}} permission to run which can be granted by {{{grant|anyone}}}.}}}}{{#vardefine:caveats|{{#var:caveats}}{{#if: {{{1|}}}| | {{#vardefine:header_footnote|{{#var:header_footnote}}{{#if: {{{1|}}}| Requires the {{LSLG|{{{1}}}}} permission to run which can be granted by {{{grant|anyone}}}.}}}}{{#vardefine:caveats|{{#var:caveats}}{{#if: {{{1|}}}| | ||
* If the script lacks the permission {{LSLG|{{{1}}}}}, the script will shout an error on {{LSLG|DEBUG_CHANNEL}} and the operation fails (but the script continues to run).{{#ifeq:{{{grant|anyone}}}|anyone|| | * If the script lacks the permission {{LSLG|{{{1}}}}}, the script will shout an error on {{LSLG|DEBUG_CHANNEL}} and the operation fails (but the script continues to run).{{#ifeq:{{{grant|anyone}}}|anyone|| | ||
** If {{LSLG|{{{1}}}}} is granted by anyone other then | ** If {{LSLG|{{{1}}}}} is granted by anyone other then {{{grant|anyone}}} then when the function is called an error will be shouted on {{LSLG|DEBUG_CHANNEL}}.}}}}}}{{#vardefine:also_events|{{#var:also_events}} | ||
{{LSL DefineRow||[[run_time_permissions]]|Permission receiving event}}}}{{#vardefine:also_functions|{{#var:also_functions}} | {{LSL DefineRow||[[run_time_permissions]]|Permission receiving event}}}}{{#vardefine:also_functions|{{#var:also_functions}} | ||
{{LSL DefineRow||[[llGetPermissions]]|Get the permissions granted}} | {{LSL DefineRow||[[llGetPermissions]]|Get the permissions granted}} |