Difference between revisions of "LlGetNotecardLine"

From Second Life Wiki
Jump to navigation Jump to search
Line 2: Line 2:
|func_id=217|func_sleep=0.1|func_energy=10.0
|func_id=217|func_sleep=0.1|func_energy=10.0
|sort=GetNotecardLine
|sort=GetNotecardLine
|func=llGetNotecardLine|return_type=key|p1_type=string|p1_name=name|p2_type=integer|p2_name=line
|func=llGetNotecardLine
|func_desc=Returns line line of notecard name via the dataserver event
|return_type=key
|return_text
|p1_type=string|p1_name=name|p1_desc=Notecard name or {{LSLG|UUID}}.
|p2_type=integer|p2_name=line|p2_desc=Line number of a notecard.
|func_desc=Requests the line '''line''' of the notecard '''name''' from the dataserver.
|return_text=that is the handle for a {{LSLG|dataserver}} event responce.
|func_footnote=If '''line''' is passed the end of the notecard {{LSLG|EOF}} is returned by the {{LSLG|dataserver}}. If the return is a {{LSLG|NULL_KEY}} then notecard could not be found in inventory???
|spec
|spec
|caveats
|caveats=* If the notecard cannot be found in inventory and it is not a UUID then an error will shouted on {{LSLG|DEBUG_CHANNEL}}.
|constants
|constants
|examples
|examples
|helpers
|helpers
|also_functions
|also_functions=* {{LSLG|llGetNumberOfNotecardLines}}
|also_events
|also_events=* {{LSLG|dataserver}}
|also_articles
|also_articles
|notes
|notes

Revision as of 21:24, 29 January 2007

Summary

Function: key llGetNotecardLine( string name, integer line );

Requests the line line of the notecard name from the dataserver.
Returns a key that is the handle for a dataserver event responce.

• string name Notecard name or UUID.
• integer line Line number of a notecard.

If line is passed the end of the notecard EOF is returned by the dataserver. If the return is a NULL_KEY then notecard could not be found in inventory???

Caveats

  • This function causes the script to sleep for 0.1 seconds.
  • If the notecard cannot be found in inventory and it is not a UUID then an error will shouted on DEBUG_CHANNEL.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function key llGetNotecardLine( string name, integer line );