Difference between revisions of "LlGetNumberOfNotecardLines"

From Second Life Wiki
Jump to navigation Jump to search
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_desc=Notecard name or [[UUID]].
|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=*{{LSLG|llGetNotecardLine}}
|also_functions={{LSL DefineRow||[[llGetNotecardLine]]|}}
|also_events*{{LSLG|dataserver}}
|also_events={{LSL DefineRow||[[dataserver]]|}}
|also_tests
|also_tests
|also_articles
|also_articles

Revision as of 22:22, 22 February 2007

Summary

Function: key llGetNumberOfNotecardLines( string name );
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.

Examples

See Also

Events

•  dataserver

Functions

•  llGetNotecardLine

Deep Notes

Signature

function key llGetNumberOfNotecardLines( string name );