Difference between revisions of "Template:LSL Function/KeyValue"
Jump to navigation
Jump to search
m |
m |
||
Line 26: | Line 26: | ||
The [[dataserver]] callback parameters are: | The [[dataserver]] callback parameters are: | ||
* A key containing the {{LSLGC|Key/handle|handle}} returned from [[{{#var:name}}]] | * A key containing the {{LSLGC|Key/handle|handle}} returned from [[{{#var:name}}]] | ||
* A string containing a comma-delimited list. | * A string containing a comma-delimited list. {{#if:{{{nowarn|}}}||'''Warning!''' Values may contain commas. Parse carefully.}} | ||
** Failure: <code>llDumpList2String([ [[integer]] {{LSLPT|success}}, [[integer]] {{LSLPT|error}}],",")</code> | ** Failure: <code>llDumpList2String([ [[integer]] {{LSLPT|success}}, [[integer]] {{LSLPT|error}}],",")</code> | ||
** Success: <code>llDumpList2String([ [[integer]] {{LSLPT|success}}{{#if:{{{d2_type|}}}{{{d2_name|}}}|, [[{{{d2_type}}}{{#var:lang}}|{{{d2_type}}}]] {{LSLPT|{{{d2_name}}}}}{{#if:{{{d3_type|}}}{{{d3_name|}}}|, [[{{{d3_type}}}{{#var:lang}}|{{{d3_type}}}]] {{LSLPT|{{{d3_name}}}}}{{#if:{{{d4_type|}}}{{{d4_name|}}}|, [[{{{d4_type}}}{{#var:lang}}|{{{d4_type}}}]] {{LSLPT|{{{d4_name}}}}}}}}}}} ],",")</code> | ** Success: <code>llDumpList2String([ [[integer]] {{LSLPT|success}}{{#if:{{{d2_type|}}}{{{d2_name|}}}|, [[{{{d2_type}}}{{#var:lang}}|{{{d2_type}}}]] {{LSLPT|{{{d2_name}}}}}{{#if:{{{d3_type|}}}{{{d3_name|}}}|, [[{{{d3_type}}}{{#var:lang}}|{{{d3_type}}}]] {{LSLPT|{{{d3_name}}}}}{{#if:{{{d4_type|}}}{{{d4_name|}}}|, [[{{{d4_type}}}{{#var:lang}}|{{{d4_type}}}]] {{LSLPT|{{{d4_name}}}}}}}}}}} ],",")</code> |
Revision as of 13:19, 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:
| ||||||||||
caveats | |||||||||||
notes |