Shoutbox

Intercept incoming message - 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: Intercept incoming message (/showthread.php?tid=62956)

Intercept incoming message by GearGOD on 07-10-2006 at 09:31 AM

Is it possible to intercept an incoming message before it is displatyed in the chat window or prevent it from showing up?
What about adding content to the chat window? An example of what I want is how Plus formatting tags work where the incoming message is intercepted, parsed, and a modified message comes out in the window.


RE: Intercept incoming message by cloudhunter on 07-10-2006 at 09:56 AM

quote:
Originally posted by GearGOD
Is it possible to intercept an incoming message before it is displatyed in the chat window or prevent it from showing up?

This isn't possible using scripts. The closest thing you can do is just remove the message, but you will still got the "Contact says:" Above it.

quote:
Originally posted by GearGOD
What about adding content to the chat window? An example of what I want is how Plus formatting tags work where the incoming message is intercepted, parsed, and a modified message comes out in the window.

You can change intercept the text that a contact says and alter what it says in the window, but it has a limit of only being able to display as many characters as the message already has. For example, if you have a message saying "Logon user:pass" been recieved, you wouldn't be able to replace it with "Logon successful". It will get cut to "Logon successfu".
RE: Intercept incoming message by GearGOD on 07-10-2006 at 09:59 AM

Hmm. Is it possible to place a request for this with the Plus team? Seems like a pretty vital feature for 'silent' communication.


RE: Intercept incoming message by cloudhunter on 07-10-2006 at 10:17 AM

But then again, there are secuirity issues for silent communication. For instance, there are adware and spyware out there which hide a certian string sent by messenger, like "Your friend has a new buddy icon etc. etc. etc.". So it would be perfectly possible to send links without the users permission.

Also, silent communication would only work if the other person had the script, and there is no way of finding out if the user has the script without some kind of central databases of the email addresses.

Cloudy


RE: Intercept incoming message by GearGOD on 07-10-2006 at 10:37 AM

I don't see that as much of a security risk as the person would very soon find out from the people they chat to, when installing scripts people are warned for a reason.
I'm also quite aware that it would only work if both parties have the script/plus installed. Is there any way to get this as a request on the next version?


RE: Intercept incoming message by lysp on 07-10-2006 at 12:16 PM

Yep.. 1 for one would love an onPacket event. Where the string can be totally maniuplated and then returned as a string.

Means you can manipulate events/messages as much as you want/need. Change messages, change/ignore events (keyboard typing), change people's font's/names.

I was actually looking forward to this feature before the API was released.