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

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 8: Line 8:
{{#vardefine:p_{{{d4_name|}}}_hover|{{#var:p_{{{d4_name|}}}_hover}}{{{d4_hover|}}}}}
{{#vardefine:p_{{{d4_name|}}}_hover|{{#var:p_{{{d4_name|}}}_hover}}{{{d4_hover|}}}}}


{{/Key|{{{1|}}}<noinclude>{{{1}}}</noinclude>}}
{{LSL Function/KeyValue/Key|{{{1|}}}<noinclude>{{{1}}}</noinclude>}}
{{#if:{{{2|}}}{{{value|}}}<noinclude>*</noinclude>|
{{#if:{{{2|}}}{{{value|}}}<noinclude>*</noinclude>|
{{/Value|{{{2|}}}<noinclude>{{{2}}}</noinclude>}}
{{LSL Function/KeyValue/Value|{{{2|}}}<noinclude>{{{2}}}</noinclude>}}
}}
}}



Revision as of 13:22, 9 July 2014

#var value
p_{{{1}}}_desc The key for the key-value pair
p_{{{2}}}_desc The value for the key-value pair. Maximum 2047 characters, or 4095 if using Mono.
header_footnote_last

The dataserver callback parameters are:

  • A key containing the handle returned from [[]]
  • A string containing a comma-delimited list. Warning! Values may contain commas. Parse carefully.
    • Failure: llDumpList2String([ integer success, integer error],",")
    • Success: llDumpList2String([ integer success ],",")
• integer success A boolean specifying if the transaction succeeded (1) or not (0).
• integer error An XP_ERROR_* flag that describes why the operation failed.
caveats
notes