Difference between revisions of "LlGetNumberOfNotecardLines"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function/inventory|name|uuid=false|type=notecard}}{{LSL_Function | ||
|func_id=276|func_sleep=0.1|func_energy=10.0 | |func_id=276|func_sleep=0.1|func_energy=10.0 | ||
|func=llGetNumberOfNotecardLines | |func=llGetNumberOfNotecardLines | ||
|return_type=key | |return_type=key | ||
|p1_type=string|p1_name=name | |p1_type=string|p1_name=name | ||
|func_footnote | |func_footnote | ||
|func_desc=Requests number of lines in notecard '''name''' via the {{LSLG|dataserver}} event (cast dataserver value to integer) | |func_desc=Requests number of lines in notecard '''name''' via the {{LSLG|dataserver}} event (cast dataserver value to integer) | ||
Line 12: | Line 12: | ||
|examples | |examples | ||
|helpers | |helpers | ||
|also_functions= | |also_functions={{LSL DefineRow||[[llGetNotecardLine]]|}} | ||
|also_events | |also_events={{LSL DefineRow||[[dataserver]]|}} | ||
|also_tests | |also_tests | ||
|also_articles | |also_articles |
Revision as of 23:22, 22 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: key llGetNumberOfNotecardLines( string name );276 | Function ID |
0.1 | Forced Delay |
10.0 | Energy |
Requests number of lines in notecard name via the dataserver event (cast dataserver value to integer)
Returns a key that is the handle for a dataserver event response.
• string | name | – | a notecard in the inventory of the prim this script is in |
Caveats
- This function causes the script to sleep for 0.1 seconds.
- If name is missing from the prim's inventory or it is not a notecard then an error is shouted on DEBUG_CHANNEL.