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', {})
Raw function spec json
{
  "def": "func",
  "desc": "Searches the text of a cached notecard for lines containing the given pattern and returns the \n            number of matches found through a dataserver event.",
  "energy": 10,
  "sleep": 0,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlFindNotecardTextCount",
  "private": false,
  "takesSelf": false,
  "name": "FindNotecardTextCount",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "uuid"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "NotecardName",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "string"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Pattern",
          "desc": "Regex pattern to find in the notecard text.",
          "type": [
            {
              "def": "simple",
              "value": "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": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll