Difference between revisions of "Template:LSL Function/inventory"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>{{#if:
<includeonly>{{#if:
{{#vardefine:p_{{{1|none}}}_desc|{{AAn|{{{type|item}}}}} in inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or [[UUID]]}}}}
{{#vardefine:p_{{{1|none}}}_desc|{{AAn|{{{insert|{{{type|item}}}}}}}} in inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or [[UUID]]}}}}
{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{{type|item}}}}} in inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or UUID}}}}
{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{{insert|{{{type|item}}}}}}}} in inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or UUID}}}}
{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}}
{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}}
* If '''{{LSL Param|{{{1}}}}}''' is missing from the prim's inventory {{#if:{{{full|}}}|or not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}}} {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|and it is not a [[UUID]]}} {{#if:{{{type|}}}|or it is not {{AAn|{{{type|item}}}}}}} then an error is shouted on {{LSLG|DEBUG_CHANNEL}}.|{{#var:caveats}}}}}}
* If '''{{LSL Param|{{{1}}}}}''' is missing from the prim's inventory {{#if:{{{full|}}}|or not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}}} {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|and it is not a [[UUID]]}} {{#if:{{{type|}}}|or it is not {{AAn|{{{type|item}}}}}}} then an error is shouted on {{LSLG|DEBUG_CHANNEL}}.|{{#var:caveats}}}}}}

Revision as of 18:31, 15 May 2007


  • If ta is missing from the prim's inventory and it is not a UUID or it is not a sound then an error is shouted on DEBUG_CHANNEL.