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
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] AntiMock - by Nushio on 07-07-2006 at 03:19 AM
RE: [Request] AntiMock - by S4mP410 on 07-07-2006 at 03:24 AM
RE: [Request] AntiMock - by Silentdragon on 07-07-2006 at 03:26 AM
RE: [Request] AntiMock - by Nushio on 07-07-2006 at 03:32 AM
RE: [Request] AntiMock - by Voldemort on 07-07-2006 at 03:36 AM
RE: [Request] AntiMock - by Nushio on 07-07-2006 at 03:45 AM
RE: RE: [Request] AntiMock - by segosa on 07-07-2006 at 07:15 AM
RE: [Request] AntiMock - by Agwan on 07-11-2006 at 10:58 AM


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