quote:
Originally posted by cyrax256
My proposal is to create a script that filters nudges (and possibly winks) in such way that any kind of those messages do not arrive to any of your chat windows, or at least be replaced by some random text.
You can already disable all that stuff in Messenger itself so they don't bother you. No need for scripts for that.
Tools > Options > Messages >
- Allow me to send and recieve nudges
- Play winks automatically when they are recieved
- Play voice clips automatically when they are recieved
quote:
Originally posted by cyrax256
I haven't found such script in the Messenger Plus repository, and a search in the forum reveals no useful info to me.
I downloaded the script API and I think the OnEvent_ChatWndReceiveMessage event handler is the right one I should use to intercept such messages. At least it works with winks, but nudges aren't included there. This thread makes me assume that nudges are messages that are not catched by this event yet (though I haven't tested this). If this is not possible, then I think this would be beyond me and my experience .
Nudges aren't normal chat messages (unlike winks) and thus aren't catched with the ChatWndReceiveMessage event, as you can read in several threads which already exist about this subject (search for "nudges").
To catch nudges you need to sniff the protocol messages directly. And to stop them from even recieving your messenger you need to write a proxy and directly intercept those server messages on the protocol level.
However, there are also already scripts which deal with nudge floods and block contacts (temporarly or not) who flooded you. eg:
CookieRevised's reply to [Request] Block on x nudges in x seconds