Shoutbox

OnEvent_ChatWndReceiveMessage change message lenght? - 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: OnEvent_ChatWndReceiveMessage change message lenght? (/showthread.php?tid=63148)

OnEvent_ChatWndReceiveMessage change message lenght? by V@no on 07-13-2006 at 04:39 AM

Hi!
I read in the documention that when used OnEvent_ChatWndReceiveMessage event the received message can be altered but the lenght of the altered text can not be longer than the original text lenght. Is it limitation of Plus! itself or why is that restrictions applyed?

Because of this limitation it's nearly impossible to hide script commands...
The only work around this I could think of, is use OnEvent_ChatWndSendMessage event and add NN number of spaces at the end of the command...but this is double work...

Can we hope this limitation will be removed in future versions?

Thanks.


RE: OnEvent_ChatWndReceiveMessage change message lenght? by V@no on 07-13-2006 at 05:01 AM

I think you missunderstood ;)
The command I was talking about is one you receive
its like /ping command.
when you send it, you see "Ping? [request]" instead of actual command, and when the contact answers you see "Pong [05sec]" and the command sent by the contact.
This is exactly what I'm trying to do. When you send a command it should display something else in the window, yet, the contact to whom you send the command should receive the command and they also should see something else instead.


RE: OnEvent_ChatWndReceiveMessage change message lenght? by RaceProUK on 07-13-2006 at 10:27 AM

quote:
Originally posted by V@no
I read in the documention that when used OnEvent_ChatWndReceiveMessage event the received message can be altered but the lenght of the altered text can not be longer than the original text lenght. Is it limitation of Plus! itself or why is that restrictions applyed?
The limitation is based on the fact that Plus! is unable to extend the length of a message without causing problems in Messenger. The message buffer just can't be extended.
RE: OnEvent_ChatWndReceiveMessage change message lenght? by V@no on 07-13-2006 at 12:32 PM

thanks!


RE: OnEvent_ChatWndReceiveMessage change message lenght? by Knucks on 07-13-2006 at 12:49 PM

plz2learn how to spell "length" :P