ll.FindNotecardTextCount

ll.FindNotecardTextCount(NotecardName: string, Pattern: string, Options: list) : uuid

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

Example

ll.FindNotecardTextCount('test', 'test', {})
{
  "def": "func",
  "desc": "Searches the text of a cached notecard for lines containing the given pattern and returns the number of matches found through a dataserver event. ",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlFindNotecardTextCount",
  "name": "FindNotecardTextCount",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "uuid"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "NotecardName",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Pattern",
          "desc": "Regex pattern to find in the notecard text.",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Options",
          "desc": "A list of options to control the search. Included for future expansion, should be []",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll