Difference between revisions of "LlGetNumberOfNotecardLines"

From Second Life Wiki
Jump to navigation Jump to search
m (added "embedded inventory" caveat)
Line 8: Line 8:
|return_text=that is the handle for a {{LSLG|dataserver}} event response.
|return_text=that is the handle for a {{LSLG|dataserver}} event response.
|spec
|spec
|caveats
|caveats=* If notecard contains embedded inventory items (such as textures and landmarks), invalid data will be returned.
|constants
|constants
|examples
|examples

Revision as of 09:52, 20 May 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.
  • If notecard contains embedded inventory items (such as textures and landmarks), invalid data will be returned.

Examples

See Also

Events

•  dataserver

Functions

•  llGetNotecardLine

Deep Notes

Signature

function key llGetNumberOfNotecardLines( string name );