Difference between revisions of "LlTextBox"

From Second Life Wiki
Jump to: navigation, search
m (I am assuming it has an "OK" button and not a "Send" or "Say" button)
 
m
Line 12: Line 12:
 
|examples
 
|examples
 
|spec
 
|spec
|constants
+
|constants={{LSL Constants/Chat}}
 
|helpers
 
|helpers
 
|also_functions=
 
|also_functions=

Revision as of 19:01, 23 May 2008

Summary

Function: llTextBox( key avatar, string message, integer action );

Shows a dialog box on avatar's screen with the text message. The dialog bog contains a text box for input, any text that is entered is chatted on chat_channel when the "OK" button is clicked.

• key avatar avatar UUID that is in the same region
• string message Text to display in the message box
• integer action Channel to chat on
Channel Constant Description
DEBUG_CHANNEL 0x7FFFFFFF Chat channel reserved for script debugging and error messages, broadcasts to all nearby users.
PUBLIC_CHANNEL 0x0 Chat channel that broadcasts to all nearby users. This channel is sometimes referred to as: open chat, local chat and public chat.

Caveats

  • This function causes the script to sleep for 1.0 seconds.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  listen

Functions

•  llDialog
•  llListen
•  llSay
•  llWhisper
•  llShout
•  llRegionSay

Deep Notes

History

Search JIRA for related Issues

Signature

function void llTextBox( key avatar, string message, integer action );