Difference between revisions of "Template:LSL Function/give"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
{{#vardefine:target-type|~{{#expr:{{#if:{{{avatar|}}}|1|0}}+{{#if:{{{prim|}}}{{{object|}}}|2|0}}}}}} | {{#vardefine:target-type|~{{#expr:{{#if:{{{avatar|}}}|1|0}}+{{#if:{{{prim|}}}{{{object|}}}|2|0}}}}}} | ||
{{DEBUG_CHANNEL}} | |||
{{#vardefine:pcaveats|{{#var:caveats}}}} | {{#vardefine:pcaveats|{{#var:caveats}}}} | ||
Line 11: | Line 13: | ||
{{#vardefine:caveats|{{#var:pcaveats}} | {{#vardefine:caveats|{{#var:pcaveats}} | ||
* If '''{{LSL Param|{{{1}}}}}''' is {{#switch:{{#var:target-type}}|~1=not the owner|~2=not owned by the same person|is not the owner nor shares the same owned}} and '''{{LSL Param|{{{2}}}}}''' cannot be transfered an error is shouted on {{ | * If '''{{LSL Param|{{{1}}}}}''' is {{#switch:{{#var:target-type}}|~1=not the owner|~2=not owned by the same person|is not the owner nor shares the same owned}} and '''{{LSL Param|{{{2}}}}}''' cannot be transfered an error is shouted on {{#var:DEBUG_CHANNEL}}. | ||
* If '''{{LSL Param|{{{2}}}}}''' cannot be copied then an error is shouted on {{ | * If '''{{LSL Param|{{{2}}}}}''' cannot be copied then an error is shouted on {{#var:DEBUG_CHANNEL}}. | ||
{{#var:caveats}}}} | {{#var:caveats}}}} | ||
Revision as of 06:10, 13 May 2009
Press this link after making a change, so it becomes displayed.
#var | value |
---|---|
caveats |
|
p_target_desc | group, avatar or prim UUID |
p_target_hover | group, avatar or prim UUID |
p_item_desc | a sound in the inventory of the prim this script is in or a UUID of a sound |
p_item_hover | a sound in the inventory of the prim this script is in or a UUID of a sound |
#var | value |
---|---|
caveats |
|
p_target_desc | group, avatar or prim UUID |
p_target_hover | group, avatar or prim UUID |
p_item_desc | a sound in the inventory of the prim this script is ina sound in the inventory of the prim this script is in or a UUID of a sound |
p_item_hover | a sound in the inventory of the prim this script is ina sound in the inventory of the prim this script is in or a UUID of a sound |