ll.ListFindListNext

ll.ListFindListNext(ListVariable: list, Find: list, Instance: number) : number

Returns the index of the nth instance of Find in ListVariable. Returns -1 if not found.

Example

ll.ListFindListNext({}, {}, 3)
{
  "def": "func",
  "desc": "Returns the index of the nth instance of Find in ListVariable. Returns -1 if not found.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlListFindListNext",
  "name": "ListFindListNext",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ListVariable",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Find",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Instance",
          "desc": "",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll