LSL feature request. The described function does not exist. This article is a feature request.

Sends data to a user's viewer, for use in creating a new (unsaved) notecard.

Syntax

integer llNewNotecard( key resident_key, string notecard_name, string notecard_desc, string body );

Forced delay: 1.0 seconds. Energy: 0.0.

Parameters

key resident_key
Key of the resident to whom the data is sent. Resident's avatar must be in the same sim as the script's object.
string notecard_name
Name to give to the new notecard if it is saved.
string notecard_desc
Text for the notecard's description field.
string body
Text for the notecard's body.

This would send data to a user's viewer through a new channel, requesting that the viewer open a new notecard and populate its description and contents with the data given. If the user chose to save the notecard, it would go to the inventory "Notecards" folder, and would be given the name provided in the function call. The viewer would be free to prompt the user before displaying the new window, and muting should work as standard for scripted chats and inventory offers.

Return value

Returns an integer that evaluates to boolean true if the resident was present to receive the notecard (but does not indicate whether the user chose to ignore it, or it was blocked by mute, etc.)

Caveats

Notes