Changing default Chat channel
|
|
Poco Roffo
Registered User
Join date: 4 Feb 2007
Posts: 9
|
08-03-2007 08:02
I would like to chat to an object without it being displayed on channel 0. Can I change the default chat channel with LSL if my avatar was to click on an object script? thanks
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
08-03-2007 08:21
Well, no, the *default* chat channel in the viewer is always 0. You can of course precede an utterance with "/" and the channel number (e.g., "/1Foo" to send "Foo" on channel 1).
|
|
Poco Roffo
Registered User
Join date: 4 Feb 2007
Posts: 9
|
08-03-2007 08:23
I want to hold private chat conversation sessions (ie, not just one off lines) with an object. I was informed that your can't IM an object which was my original idea. I dont really want my users to /channel before every chat line. Any ideas on how I can achieve this?
thanks
|
|
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
|
08-03-2007 08:33
Maybe... *thinks for a minute*
If you made a gesture for each letter of the alphabet that replaces that letter with "/1" followed by the letter, only if it's capitalized, then when you speak only capitalize the first letter of each message.....
That's all I got P:
And I'm not even sure if it would work.
Sorry.
|
|
Kidd Krasner
Registered User
Join date: 1 Jan 2007
Posts: 1,938
|
08-04-2007 00:20
From: Poco Roffo I want to hold private chat conversation sessions (ie, not just one off lines) with an object. I was informed that your can't IM an object which was my original idea. I dont really want my users to /channel before every chat line. Any ideas on how I can achieve this?
What do you want them to do instead of typing /channel in order to indicate that what they're typing is for the object, and not for general chat on channel 0?
|
|
Luca Peck
Registered User
Join date: 27 Mar 2006
Posts: 4
|
08-04-2007 03:20
If you once typed in '/channel', then you can proceed with '//'. This is very simple. However I never found, out how to use this with scripts. May be somebody can tell us, how a script can substitute my first typing of '/channel' or how the script can test if it has already been done.
|
|
Kidd Krasner
Registered User
Join date: 1 Jan 2007
Posts: 1,938
|
08-04-2007 07:31
From: Luca Peck If you once typed in '/channel', then you can proceed with '//'. This is very simple. However I never found, out how to use this with scripts. May be somebody can tell us, how a script can substitute my first typing of '/channel' or how the script can test if it has already been done. If the script knows the channel, then it can detect the first typing of /channel by simply listening on that channel. But it can't do anything to force the next line to be on the same channel. It might seem like a good enhancement to have something, possibly on the client side, that will cause all unadorned typing to go to channel N, forcing the user to type /0 to get back to the main chat channel. But that would be a usability nightmare, as well as a potential griefing tactic. A person in such a state is effectively muted to everyone. A total newbie caught this way couldn't even ask the people in the area how to fix it, and might not know how to use IM, or even think of using it. They may not even realize it's a technical problem, and conclude instead that people are just being rude.
|
|
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
|
08-04-2007 15:31
Luca, if that would have to be either (a) implemented in the client or (b) implemented as a new LSL function such as llSetDefaultChatChannel(). As a new client feature, it might be cool: whenever you use "//", it uses the last channel you specified. Try a Jira entry, and see if you can get support in the forum. [Edit: I subsequently found out that this is already a client feature!  ] Option B is a bad idea. First, it would require confirmation by the user (like animating your avatar on something you didn't sit on, or taking money) -- otherwise it would be too prone to griefing. Second, I don't like giving scripts the ability to put me in a state where I could get stuck and have to relog to fix it if the script failed or I teleported away from the object or whatever. Or I should say, "yet another way" -- the main one being stuck animations. But without the addition of a feature, you'll have to use "/1 ...." or whatever.
|
|
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
|
08-04-2007 17:04
What you're saying is that you want to use the open chat channel privately, which cannot be done.
|
|
Luca Peck
Registered User
Join date: 27 Mar 2006
Posts: 4
|
08-09-2007 04:36
May be my post was not clear enough, because of my moderate english. I just want to do the same thing with my script as I already can do with my keyboard: I do first enter '/channel'. If now I want to enter another '/channel', but to make it more simple I can enter '//' instead of '/channel'. Is there no way to simulate the manual /channel by the script, so that afterwards manually only // is necessary? Now I have a script that executes some commands after /channel command, or later with // command. I (or the user I gave to script to) do not want to think about the channel: I just want to enter // command . I want to make the script entering /channel dummycommand first, as initialization, but I did not find a way that this changes to the possibility to enter // instead of /channel. (A compromise would be the script telling me if i have to enter /channel (instead of //) if it is still necessary, but how can the script figure out this is necessary?)
|
|
2fast4u Nabob
SL-ice.net
Join date: 28 Dec 2005
Posts: 542
|
08-09-2007 06:27
You could email your object from outside of SL. You basically use your regular email client/software/web site to compose a message outside of SL, and send the email to your object in-world.
The object could then process your message and the entire exchange would be completely private.
Just get your object's key (have it llSay it or you can use a sensor to detect the object by name, and send it an email using the address [key]@]lsl.secondlife.com.
Your object, of course, needs to poll for new messages using llGetNextEmail - this is usually combined with a timer, but is not strictly necessary. Your script could parse through your email and do whatever it needs to do with the information it finds.
You need to think about adding some security to your email - perhaps check the from address (although that can be faked) or add a password to your message. This prevents others that also have the object's key from emailing it, possibly causing it to misbehave.
-2fast
|
|
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
|
08-09-2007 07:01
From: Luca Peck May be my post was not clear enough, because of my moderate english. I just want to do the same thing with my script as I already can do with my keyboard: I do first enter '/channel'. If now I want to enter another '/channel', but to make it more simple I can enter '//' instead of '/channel'. Is there no way to simulate the manual /channel by the script, so that afterwards manually only // is necessary? Now I have a script that executes some commands after /channel command, or later with // command. I (or the user I gave to script to) do not want to think about the channel: I just want to enter // command . I want to make the script entering /channel dummycommand first, as initialization, but I did not find a way that this changes to the possibility to enter // instead of /channel. (A compromise would be the script telling me if i have to enter /channel (instead of //) if it is still necessary, but how can the script figure out this is necessary?) There is no way to simulate the manual /channel by the script. I wouldn't be in favor of such a feature, for the reasons mentioned above. There also isn't any way for the script to tell what the last channel you chatted on was. In other words, the script can't tell the user whether to use /chan or //. It could, however, say "Use /channel for the first line, and // for subsequent lines." BTW, thanks for pointing out the "//" client feature, which I didn't know about. 
|