What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] AntiMock

[Request] AntiMock
Author: Message:
Nushio
New Member
*

Avatar

Posts: 3
Joined: Jul 2006
O.P. [Request] AntiMock
A friend and script kiddy named Mike recently stumbled upon The Mocker script for Messenger Plus. Its been annoying me to no end, so I started developing the AntiMocker.

At first, I would simply reply with stuff like "//nick I am stupid", and he would type the same thing making his nickname "I am stupid". It was all fun till he blocked commands.

I started work based on the original Mocker, but have not yet succeeded.
Is there a way I can detect if the message being received is the same as the one I sent, thus prevent it from being printed out in the chat window?

Any help is sure appreciate it.

Here's a piece of code I developed based on The Mocker
code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message)
{
    if(Message == "AntiMock")
    {
        antiMock = '1'
    }
   
    if(Message == "AntiMockOff")
    {
        antiMock = '0'
    }
   
    if(Message == "AntiMock?")
    {
        if(antiMock == '0')
        {
            Interop.Call("User32.dll", "MessageBoxW", 0, "AntiMocker Is OFF","Status", 0);
        } else {
            Interop.Call("User32.dll", "MessageBoxW", 0, "AntiMocker Is ON","Status", 0);   
        }
    }
    newMessage = Message;
}
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin, Message, MessageKind)
{
    lastMessage = Message;
    if(antiMock == '1')
    {
        if (newMessage == lastMessage )
        {
            return false;
//This is where the blocking code should be placed at, I think.
        }
    }
   
}

Another question:
When I send a message, does MSN take it as a "Received Message"? Because I often get "message failed to be delivered" when testing The AntiMocker.


-Nushio
07-07-2006 03:19 AM
Profile E-Mail PM Find Quote Report
S4mP410
Junior Member
**

Avatar

Posts: 18
Joined: Jul 2006
RE: [Request] AntiMock
Just Say " NoMock " and the other guy will repeat, disactivating the Mock Script :grin:


Edit: Grammar

This post was edited on 07-07-2006 at 03:26 AM by S4mP410.
07-07-2006 03:24 AM
Profile E-Mail PM Web Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: [Request] AntiMock
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin, Message, MessageKind)
{
if(Origin == Messenger.MyName) {
  lastMessage = Message;
  return Message;
}
if(antiMock == '1')
{
   if (Message == lastMessage)
   {
      return "";
   }
}
}

What about that?
07-07-2006 03:26 AM
Profile E-Mail PM Web Find Quote Report
Nushio
New Member
*

Avatar

Posts: 3
Joined: Jul 2006
O.P. RE: [Request] AntiMock
quote:
Originally posted by S4mP410
Just Say " NoMock " and the other guy will repeat, disactivating the Mock Script :grin:


Edit: Grammar

Oh, I tried, believe me. It worked for around 20 minutes until he figured out a way to change it.

As I said, I also made him type stuff like changing his personal message, he disabled all Plus! commands though.

The code I typed is what I've been working on with the AntiMocker. The comment line is where the actual antimockery should happen.

The above code doesnt work yet. At least not as its intended. It wont let me send any messages at all...
07-07-2006 03:32 AM
Profile E-Mail PM Find Quote Report
Voldemort
Veteran Member
*****

Avatar

Posts: 3504
Reputation: 49
– / – / Flag
Joined: Jul 2005
Status: Away
RE: [Request] AntiMock
Block him?
*All posts are a purely speculative hypothesis based on abstract reasoning.
Not my daughter, you bitch!
[Image: ico-mollytrix16.gif]
07-07-2006 03:36 AM
Profile E-Mail PM Find Quote Report
Nushio
New Member
*

Avatar

Posts: 3
Joined: Jul 2006
O.P. RE: [Request] AntiMock
I tried blocking him, but theres just some things we *need* to talk about. He's my partner in some businesses I make, you see.

I tried your code Silent Dragon, and I must admit it works quite well, except that it displays "Mike says:" and blank.

I'll settle with that, but is there any way for the message to not appear?

Edit: Perhaps changing his username to "blank" for the rest of the message? I wouldnt mind a 2 line break between where he was supposed to Mock...

This post was edited on 07-07-2006 at 03:49 AM by Nushio.
07-07-2006 03:45 AM
Profile E-Mail PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: RE: [Request] AntiMock
quote:
Originally posted by Nushio
I tried blocking him, but theres just some things we *need* to talk about. He's my partner in some businesses I make, you see.



Don't go into business with idiots :p
The previous sentence is false. The following sentence is true.
07-07-2006 07:15 AM
Profile PM Find Quote Report
Agwan
New Member
*

Lord Agwan

Posts: 6
– / Male / –
Joined: Jul 2006
RE: [Request] AntiMock
This script mocks each client separately so they do not effect each other, and it also contains a working anti mocker, enjoy.

If there are any problems email to danielwbz@hotmail.com thanx

Admin Edit: Script removed (downloaded 32 times) - get it here instead.

This post was edited on 01-12-2007 at 09:03 PM by WDZ.
Lord agwan! : contact danielwbz@hotmail.com, www.extremesolutions.co.nr
07-11-2006 10:58 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On