Skip to content
lsl.devlsl.devLSL Dev

llFindNotecardTextCount

function
Function syntax
key llFindNotecardTextCount(
  1. string notecardname,// Name of the target notecard.
  2. string pattern,// Regular expression pattern to search for.
  3. list options// A list of options to control the search (currently unused, should be []).
);
Returns
key
Energy
10

Searches the text of a cached notecard for lines containing the given pattern and returns the number of matches found through a dataserver event.

How to use
key result = llFindNotecardTextCount("", "", []);