ll.GetNotecardLine

ll.GetNotecardLine (NotecardName: string, LineNumber: number) -> uuid

Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero in LSL, one in Lua. If the requested line is passed the end of the note-card the dataserver event will return the constant EOF string. The key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter.

Example

ll.GetNotecardLine('test', 3.14)
Raw function spec json
{
  "def": "func",
  "desc": "Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero in LSL, one in Lua.\nIf the requested line is passed the end of the note-card the dataserver event will return the constant EOF string.\nThe key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter.",
  "energy": 10,
  "sleep": 0.1,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlGetNotecardLine",
  "private": false,
  "takesSelf": false,
  "name": "GetNotecardLine",
  "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": "LineNumber",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll