OsGetNotecard
From OpenSimulator
(Difference between revisions)
Line 1: | Line 1: | ||
− | ''' | + | {| width="100%" style="border: thin solid black" |
+ | | colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | ||
+ | |- valign="top" | ||
+ | |'''Threat Level''' || VeryHigh | ||
− | + | |- valign="top" | |
+ | |'''Function Syntax''' || <source lang="lsl"> | ||
+ | osGetNotecard(string name) | ||
+ | </source> | ||
+ | |- valign="top" | ||
+ | |'''Example(s)|| | ||
− | + | |} | |
− | + | ||
− | |||
+ | This function directly reads the entire contents of a notecard if it exists within the task inventory, and dumps it into a string. It skips the dataserver event, thereby reducing code complexity. | ||
− | [[Category:OSSL]] | + | [[Category:OSSL Functions]] |
[[Category:OSSL functions without example]] | [[Category:OSSL functions without example]] |
Revision as of 08:36, 11 June 2011
OsGetNotecard | |
Threat Level | VeryHigh |
Function Syntax | osGetNotecard(string name) |
Example(s) |
This function directly reads the entire contents of a notecard if it exists within the task inventory, and dumps it into a string. It skips the dataserver event, thereby reducing code complexity.