Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llDialog & message problem

Zerlinda Boucher
Registered User
Join date: 11 Oct 2008
Posts: 23
12-12-2008 19:30
i've a problem reading a message variable stored in a notecard.
I'm able to read the notecard with the variable:

message=first line\nsecondline

when i pass the string variabel to the dialog command like that
llDialog(llDetectedKey(i),message,["Close"],DialogUserChan);

in the popup seems the \n not give me a carriage return but to the user is shown :

first line\nsecondline

not
first line
secondline

There is a trick to do that?

ty
Zer
icktoofay Kamachi
Registered User
Join date: 10 Nov 2007
Posts: 17
12-12-2008 19:35
Replace "\\n" with "\n" in the message.
(a replace function is available at http://wiki.secondlife.com/wiki/Combined_Library)
Zerlinda Boucher
Registered User
Join date: 11 Oct 2008
Posts: 23
12-12-2008 19:44
From: icktoofay Kamachi
Replace "\\n" with "\n" in the message.
(a replace function is available at http://wiki.secondlife.com/wiki/Combined_Library)


ty very much

Zer