Difference between revisions of "Template:LSL Function/give"
Jump to navigation
Jump to search
(is that more clear?) |
Felis Darwin (talk | contribs) (Fix double "is" for some uses, make what) |
||
Line 11: | Line 11: | ||
{{#vardefine:caveats|{{#var:pcaveats}}{{#ifeq:{{#var:target-type}}|~4|| | {{#vardefine:caveats|{{#var:pcaveats}}{{#ifeq:{{#var:target-type}}|~4|| | ||
* If '''{{LSL Param|{{{1}}}}}''' is {{#switch:{{#var:target-type}}|~1=not the owner|~2=not owned by the same person| | * If '''{{LSL Param|{{{1}}}}}''' is {{#switch:{{#var:target-type}}|~1=not the owner|~2=not owned by the same person|not the owner nor shares the same owner}}, {{#ifeq:{{{uuid|}}}|true|'''{{LSL Param|{{{2}}}}}''' is not a [[UUID]]}} and '''{{LSL Param|{{{2}}}}}''' does not have transfer permissions, an error is shouted on {{#var:DEBUG_CHANNEL}}. | ||
{{#if:{{{copyok|}}}|| | {{#if:{{{copyok|}}}|| | ||
* If '''{{LSL Param|{{{2}}}}}''' {{#if:{{{full|}}}|is not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}|permissions do not allow copy}}, the transfer fails and an error is shouted on {{#var:DEBUG_CHANNEL}}.{{#switch:{{#var:target-type}} | * If '''{{LSL Param|{{{2}}}}}''' {{#if:{{{full|}}}|is not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}|permissions do not allow copy}}, the transfer fails and an error is shouted on {{#var:DEBUG_CHANNEL}}.{{#switch:{{#var:target-type}} |
Revision as of 12:15, 16 March 2012
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 |
#var | value |
---|---|
caveats |
|
p_target_desc | Link number (0: unlinked, 1: root prim, >1: child prims and seated avatars) or a LINK_* flag
|
p_target_hover | Link number (0: unlinked, 1: root prim, >1: child prims and seated avatars) or a LINK_* flag |
p_item_desc | a script in the inventory of the prim this script is in or a UUID of a scripta 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 script in the inventory of the prim this script is in or a UUID of a scripta 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 |