Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

read from chat

Melorie Boxen
Registered User
Join date: 5 Mar 2009
Posts: 14
03-30-2009 08:17
hi,
i am sorry to ask such a basic question, but i really couldn't find an answer.
i would like to send a message and for that i need the user to enter the message in the chat window. the problem is i couldn't find out how to read such a text !?

many thanks for your help
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
03-30-2009 09:09
When you write your script, just listen for the message with a listen event. Because you'll be listening on an open chat channel, you'll want to filter at least by looking for a specific keyword, to reduce lag....

CODE

llListen(0,"",NULL_KEY,"Magic Keyword");


Take a look at to see how it's done.
Melorie Boxen
Registered User
Join date: 5 Mar 2009
Posts: 14
03-31-2009 00:26
thank you, that's very very helpful