llGetNumberOfNotecardLines

From Second Life Wiki
Revision as of 09:52, 20 May 2007 by Don Misfit (talk | contribs) (added "embedded inventory" caveat)
Jump to navigation Jump to search

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 );