Difference between revisions of "Template:LSL Function/permission"
Jump to navigation
Jump to search
m |
Mako Nozaki (talk | contribs) m (maybe..) |
||
Line 8: | Line 8: | ||
* If the script lacks the permission [[{{{1}}}]], the script will shout an error on {{#var:DEBUG_CHANNEL}} and the operation fails (but the script continues to run).{{#ifeq:{{{grant|anyone<noinclude>*</noinclude>}}}|anyone|| | * If the script lacks the permission [[{{{1}}}]], the script will shout an error on {{#var:DEBUG_CHANNEL}} and the operation fails (but the script continues to run).{{#ifeq:{{{grant|anyone<noinclude>*</noinclude>}}}|anyone|| | ||
* If [[{{{1}}}]] is granted by anyone other than {{{grant|anyone}}}, then when the function is called an error will be shouted on {{#var:DEBUG_CHANNEL}}.}}}} | * If [[{{{1}}}]] is granted by anyone other than {{{grant|anyone}}}, then when the function is called an error will be shouted on {{#var:DEBUG_CHANNEL}}.}}}} | ||
{{#ifeq:{{{1}}}|PERMISSION_TAKE_CONTROLS|* Once the [[{{{1}}}]] permission is granted, it can be revoked from inside the script (with [[llReleaseControls]] or a new [[llRequestPermissions]] call), or if the user chooses Release Keys from the viewer. Otherwise, the script will only lose the permission if it is reset or the object derezzed (deleted, detached, or taken). |* Once the [[{{{1}}}]] permission is granted there is no way to revoke it except from inside the script (for example, with a new [[llRequestPermissions]] call). | {{#ifeq:{{{1}}}|PERMISSION_TAKE_CONTROLS|* Once the [[{{{1}}}]] permission is granted, it can be revoked from inside the script (with [[llReleaseControls]] or a new [[llRequestPermissions]] call), or if the user chooses Release Keys from the viewer. Otherwise, the script will only lose the permission if it is reset or the object derezzed (deleted, detached, or taken). |* Once the [[{{{1}}}]] permission is granted there is no way to revoke it except from inside the script (for example, with a new [[llRequestPermissions]] call). The script will only lose the permission if it is reset or the object is derezzed (deleted, detached, or taken).}} }} | ||
{{#vardefine:also_events|{{#var:also_events}} | {{#vardefine:also_events|{{#var:also_events}} | ||
{{LSL DefineRow||[[run_time_permissions]]|Permission receiving event}}}} | {{LSL DefineRow||[[run_time_permissions]]|Permission receiving event}}}} |
Revision as of 02:25, 2 May 2010
#var | value | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
header_footnote | Requires the [[{{{1}}}]] permission to run. | |||||||||||||||
caveats |
| |||||||||||||||
also_events |
| |||||||||||||||
also_functions |
| |||||||||||||||
also_articles |
|