azro Maktoum Posted March 31, 2012 Share Posted March 31, 2012 i m searshing for function lLlisten to typing without type it in local chat like using /5but without using /5 exixst or no ? thanks ... Link to comment Share on other sites More sharing options...
Innula Zenovka Posted March 31, 2012 Share Posted March 31, 2012 If you mean you want to say something on channel 5 without having to type it all out, in order to trigger something, you could make a gesture to say whatever it is, on channel 5. See http://community.secondlife.com/t5/English-Knowledge-Base/Using-gestures-and-animations/ta-p/700069 Link to comment Share on other sites More sharing options...
Kristin Burner Posted March 31, 2012 Share Posted March 31, 2012 mew mew ma mew pepe le pew loves you :matte-motes-bashful: Maybe you mean llSay(channel, message) Link to comment Share on other sites More sharing options...
Nexii Malthus Posted March 31, 2012 Share Posted March 31, 2012 Function, so obviously not some client-side only solution. See llTextBox: http://wiki.secondlife.com/wiki/LlTextBox Link to comment Share on other sites More sharing options...
Galathir Darkstone Posted March 31, 2012 Share Posted March 31, 2012 I'm going to have to throw in a big thank you for mentioning this function, Nexii! I don't know if you helped the OP, but this was a very timely reminder for me You rock! edit: because I'm a dork and used the OPs name in my thank you that was meant for Nexii Link to comment Share on other sites More sharing options...
azro Maktoum Posted April 1, 2012 Author Share Posted April 1, 2012 thanks evry one ..... i want to create a traduct without showing d first message in local chat example : Azrou maktoum : Salut Object : Hello i want to show just the second message thnaks Link to comment Share on other sites More sharing options...
2toe Bigboots Posted April 1, 2012 Share Posted April 1, 2012 i just had this issue and to solve i used llTextBox in a touch event string Owner;default{ state_entry() { llOwnerSay("Touch To Open Chat"); } touch_start(integer total_number) { Owner = llGetOwner(); llTextBox(Owner,"Type Mesg ",-321); }} now when you touch it a diolog box opens and what ever you type is sent on chann -321 hope this helps Link to comment Share on other sites More sharing options...
azro Maktoum Posted April 2, 2012 Author Share Posted April 2, 2012 how can i make gesture trigger auto without shortcut ..... thanks Link to comment Share on other sites More sharing options...
azro Maktoum Posted April 2, 2012 Author Share Posted April 2, 2012 thanks but i don't like it cuz we must click in send for send message ...... Link to comment Share on other sites More sharing options...
azro Maktoum Posted April 2, 2012 Author Share Posted April 2, 2012 i want to create a traduct without showing d first message in local chat example : Azrou maktoum : Salut Object : Hello i want to show just the second message thnaks Link to comment Share on other sites More sharing options...
Rolig Loon Posted April 2, 2012 Share Posted April 2, 2012 Do you mean something like this? default{ state_entry() { llSensorRepeat("","",AGENT,10.0,PI,2.0); } sensor (integer num) { llListen(0,"","",""); } no_sensor() { state no_listen; } listen(integer channel, string name, key id, string msg) { if (llToLower(llStringTrim(msg,STRING_TRIM)) == "hello") { llSay(0,"Salud."); } }}state no_listen{ state_entry() { //This state just cancels the llListen in state default state default; }} It only knows one word, so it's a pretty dumb script, but at least it's smart enough to stop listening if there's no one within 10 m. Link to comment Share on other sites More sharing options...
PeterCanessa Oh Posted April 2, 2012 Share Posted April 2, 2012 The problem is that you say you want to hide what an avatar says without using a non-public channel and without using llTextBox(). Sorry but that's how SL works and there's nothing scripting can do about it. Similarly you can't make a gesture trigger without a shortcut - how would it know when it was meant to work? If you think not showing your text is important enough you can write a custom viewer that will intercept and translate the text, then only send the translation to SL. Within SL your options remain public chat, non-public chat (eg; /5), llTextBox(), a triggered gesture (which could only do one phrase) or a 'phrasebook' menu system that would let you select a pre-defined phrase. Link to comment Share on other sites More sharing options...
Aspera Eponym Posted May 13, 2012 Share Posted May 13, 2012 Or a combination of the above! I wrote a roleplaying HuD which uses a triggered gesture to redirect that chat to a private channel, which the HuD listened to and processed. It was a one time set up for each player to set their gestures to their personally assigned channel number. the HuD let them select which character they were playing, changed the HuD's name to that character's name and repeated the text so that what they said was said by their character name (this was before there were Display names) rather than their avatar name.... I could easily have added the option to translate with Google Translation... So all they had to to instead of typing say /5 (and risk interactions with other scripts using low chat channels, we were able to use much higher safer chat channels and no one had to remember the channel numbers, just easy to type gesture triggers like '' (two single quotes) before their character's dialog. I think that is about as easy as you can get to accomplish the goal of hiding the original chat, but still requires the speaker to type a trigger at the start... I think some TPVs had a box at the end of their chat bar you could set to a nonzero chat channel, if you could convince your customers to use that it might work (assuming it didn't reset the box each time, I don't remember how that worked) Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now