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

Pages: (2): « First [ 1 ] 2 » Last »
[Request] Imitate function
Author: Message:
MGrove03
New Member
*


Posts: 10
Joined: Jun 2006
O.P. [Request] Imitate function
Is it possible to make a script like the !imitate function in messenger discovery? Because i hate the messenger discovery program and i think that the !imitate function is the only good thing about it so anyone think this is possible?
06-25-2006 06:53 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [Request] Imitate function
* matty remembers when I made this for wj hahaha.

code:
var boolEnabled = false;
var currentNickName;

function OnEvent_ChatWndReceiveMessage(Wnd, sOrigin, sMessage, nMessageKind){
    if (boolEnabled == true){
        if (currentNickName != sOrigin){
            currentNickName = Messenger.MyName;
            Messenger.MyName = sOrigin;
            Wnd.SendMessage(sMessage);
            //Messenger.MyName = currentNickName;
        }
    }
}

function OnEvent_ChatWndSendMessage(Wnd, sMessage){
    if (sMessage == '!imitate'){
        if (boolEnabled == true){
            boolEnabled = true;
            Messenger.MyName = currentNickMame;
            return '';
        }else{
            boolEnabled = true;
            return '';
        }
    }
}

quote:
Originally posted by Themuzz
f you type !imitate in the convo then the script will imitate it self.. So it doesn't imitate the thing the person said as last.

Edit thanks, I typed that in 2 mins I corrected it, forgot to add return '';

This post was edited on 06-25-2006 at 07:26 PM by matty.
06-25-2006 07:00 PM
Profile E-Mail PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
35 / Male / Flag
Joined: May 2004
RE: [Request] Imitate function
correct your typo :p

code:
        }elese{
            boolEnabled = true;
        }

Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-25-2006 07:01 PM
Profile E-Mail PM Web Find Quote Report
Apola Silverstone
Junior Member
**


Posts: 33
33 / Other / –
Joined: Jun 2006
RE: [Request] Imitate function
What is his script for ? ... :p and how would i use it?
06-25-2006 07:06 PM
Profile E-Mail PM Find Quote Report
MGrove03
New Member
*


Posts: 10
Joined: Jun 2006
O.P. RE: [Request] Imitate function
will this also copy the other persons font, font colour etc?
06-25-2006 07:07 PM
Profile E-Mail PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
35 / Male / Flag
Joined: May 2004
RE: [Request] Imitate function
Nope it won't and it changes your nickname when it sends the message. It imitates the imitate feature (haha) which modified the header file of the sent message to use the nickname of the other user (just like chat-only names of Stuffplug) and his font.
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-25-2006 07:11 PM
Profile E-Mail PM Web Find Quote Report
MGrove03
New Member
*


Posts: 10
Joined: Jun 2006
O.P. RE: [Request] Imitate function
well is there anyway that it could get the other persons name, font, and font colour without changing ur display name at the same time?
06-25-2006 07:12 PM
Profile E-Mail PM Find Quote Report
Themuzz
New Member
*


Posts: 14
Joined: Jun 2006
RE: [Request] Imitate function
It's a bit a buggy script. First of all:

If you type !imitate in the convo then the script will imitate it self.. So it doesn't imitate the thing the person said as last.

And you can's say: !imitate hi, i'm you
Perhaps you can make that :)


greetz Themuzz
06-25-2006 07:13 PM
Profile E-Mail PM Find Quote Report
DRaGoM
New Member
*


Posts: 13
Joined: Jun 2006
RE: [Request] Imitate function
That rules... Discovery is nothing more than imitate and a lot of bugs

This post was edited on 06-25-2006 at 07:14 PM by DRaGoM.
06-25-2006 07:14 PM
Profile E-Mail PM Find Quote Report
h-t
New Member
*

Avatar

Posts: 6
Joined: Jun 2006
RE: [Request] Imitate function
When i run the script i get this:

Im saying 10 times the same thing..

[Image: lol0rc.gif]

Edit:
code:
var boolEnabled = false;
var currentNickName;

function OnEvent_ChatWndReceiveMessage(Wnd, sOrigin, sMessage, nMessageKind){
if (boolEnabled == true){
currentNickName = Messenger.MyName;
Messenger.MyName = sOrigin;
Wnd.SendMessage(sMessage);
}
}

function OnEvent_ChatWndSendMessage(Wnd, sMessage){
if (sMessage == '!imitate'){
if (boolEnabled == true){
boolEnabled = true;
Messenger.MyName = currentNickName;
return '';
}else{
boolEnabled = true;
return '';
}
}
}



Is my code now

This post was edited on 06-25-2006 at 07:19 PM by h-t.
06-25-2006 07:14 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« 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