Shoutbox

Needed Scripting Feature - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Needed Scripting Feature (/showthread.php?tid=64163)

Needed Scripting Feature by daf.madalien on 07-28-2006 at 05:30 PM

Would it be possible to add a function to ChatWnd to insert text in the window? I require this to give information on special kind of events in my script, would that be possible or is there another way to do it?


RE: Needed Scripting Feature by Pai on 07-28-2006 at 05:55 PM

Insert text where ? The typing area ? If that's what you want, SendMessage() and EditText do what you want.

If you're looking for something else, it's better if you give more details :p


RE: Needed Scripting Feature by deAd on 07-28-2006 at 05:56 PM

You can.

code:
ChatWnd.EditText = 'zomg my edit text!'

RE: Needed Scripting Feature by alexp2_ad on 07-28-2006 at 06:24 PM

I think he means into the actual chat area, like action messages and such.


RE: RE: Needed Scripting Feature by daf.madalien on 07-28-2006 at 07:18 PM

quote:
Originally posted by alexp2_ad
I think he means into the actual chat area, like action messages and such.

Exacly, but in a way it's only visible to the user and not the contact :\
RE: Needed Scripting Feature by Huhu_Manix on 07-28-2006 at 08:15 PM

I'm interested about that, how can i add action message ? I don't found the function on the documentation... :s


RE: Needed Scripting Feature by Yil2201 on 07-28-2006 at 09:43 PM

I'm interested too in this feature ... Would be great, a nice way to communicate with the user ... I'll stay tuned on this topic ;)


RE: Needed Scripting Feature by foaly on 07-28-2006 at 11:22 PM

well if you were able to call the function OnEvent_ChatWndReceiveMessage manualy it would be possible


RE: Needed Scripting Feature by cooldude_i06 on 07-28-2006 at 11:27 PM

quote:
Originally posted by foaly
well if you were able to call the function OnEvent_ChatWndReceiveMessage manualy it would be possible

You CAN call function OnEvent_ChatWndReceiveMessage manually. It's just like any other function, except Plus uses these to parse text before outputting. Calling it normally would just return the parsed text to you.

Could Control Messages be used to input text into the chat window??
RE: RE: RE: Needed Scripting Feature by Squelettor on 07-29-2006 at 02:01 AM

quote:
Originally posted by daf.madalien
quote:
Originally posted by alexp2_ad
I think he means into the actual chat area, like action messages and such.

Exacly, but in a way it's only visible to the user and not the contact :\


If the contact have the same script, just in the OnEvent_ChatWndReceiveMessage, if you have had "Toto" in the message, seek "Toto" and remove them...
RE: RE: RE: RE: Needed Scripting Feature by daf.madalien on 07-29-2006 at 02:07 AM

quote:
Originally posted by Squelettor
quote:
Originally posted by daf.madalien
quote:
Originally posted by alexp2_ad
I think he means into the actual chat area, like action messages and such.

Exacly, but in a way it's only visible to the user and not the contact :\


If the contact have the same script, just in the OnEvent_ChatWndReceiveMessage, if you have had "Toto" in the message, seek "Toto" and remove them...

That would be of very limited use since i can't expect the contact to also have my script. Idealy there would be a function to add text to the chat log area in the ChatWnd object, that's why I asked for it. Hope Patchou lissens.