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

Pages: (3): « First « 1 [ 2 ] 3 » Last »
[Release] Imitate
Author: Message:
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: [Release] Imitate
View the source of the script! :P
Nice (Y)
[Image: sig.png]
07-27-2006 11:40 AM
Profile PM Web Find Quote Report
mickael9
Full Member
***


Posts: 117
Reputation: 3
32 / Male / Flag
Joined: Jul 2005
RE: RE: [Release] Imitate
You should use /text  because if i type /text IP : (!IP), i will get the IP of my contact

So this is my version
code:
var isEnabled = false;

function OnEvent_ChatWndReceiveMessage(ChatWnd, sOrigin, sMessage, nMessageKind)
{
    if (sOrigin != Messenger.MyName && isEnabled)
    {
        ChatWnd.SendMessage("/text " + sMessage);
    }
}

function OnEvent_ChatWndSendMessage(ChatWnd, sMessage)
{
    if (sMessage == '!imitate')
    {
        if (!isEnabled)
        {
            isEnabled = true;
            return '';
        }
        else
        {
            isEnabled = false;
            return '';
        }
    }
}

This post was edited on 07-27-2006 at 01:21 PM by mickael9.
07-27-2006 01:20 PM
Profile PM Web Find Quote Report
NiteMare
Veteran Member
*****

Avatar
Giga-Byte me

Posts: 2497
Reputation: 37
36 / Male / Flag
Joined: Aug 2003
RE: [Release] Imitate
quote:
Originally posted by Chestah
quote:
Originally posted by NiteMare
hahayeah i found a bug, i just typed "//nick i am stupid", and wj's nick became, "i am stupid":P

lol is all this protection necessary :P?
well yes, what if someone used the /run command
[Image: sig/]
I'll never forget what she said 6659 days, 17 hours, 42 minutes, 2 seconds ago
Need hosting? Check
out my website. we can help you out :)
07-27-2006 04:30 PM
Profile PM Web Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: [Release] Imitate
quote:
Originally posted by NiteMare

(...)
well yes, what if someone used the /run command

and about, what if someone typed !imitate... that would make the entire script useless...
07-27-2006 04:35 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: [Release] Imitate
quote:
Originally posted by NiteMare
quote:
Originally posted by Chestah
quote:
Originally posted by NiteMare
hahayeah i found a bug, i just typed "//nick i am stupid", and wj's nick became, "i am stupid":P

lol is all this protection necessary :P?
well yes, what if someone used the /run command
On top of that, what if someone typed (!IP) to you? Wouldn't this be classed as an invasion of privacy or do you have a clause saying that people use at their own risk?
[Image: markee.png]
07-27-2006 04:42 PM
Profile PM Find Quote Report
elektra
Full Member
***

Avatar
aka quacky

Posts: 210
Reputation: -3
– / Male / –
Joined: Jul 2006
RE: RE: [Release] Imitate
quote:
Originally posted by AberNStein
is this just mocker that blocks doubleslashed messages?

yup it is but more easyier 2 use

This post was edited on 07-27-2006 at 05:06 PM by elektra.
[Image: ps3_forum2.jpg][Image: x360_forum2.jpg]
07-27-2006 05:05 PM
Profile E-Mail PM Find Quote Report
craig2k5
Junior Member
**


Posts: 64
Joined: Feb 2006
RE: [Release] Imitate
none of this stuff works 4 me :S

typing //nick blahh dosent change the other persons name :S it did earliar then it just stopped
My Scripts:
NickName Maker
07-27-2006 10:32 PM
Profile E-Mail PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: [Release] Imitate
replace

code:
if (sMessage == '!imitate'){
        if (isEnabled == false){
            isEnabled = true;
            return '';
        }else{
            isEnabled = false;
            return '';
        }
}

by

code:
if (sMessage == '!imitate')isEnabled=!isEnabled;

replace

code:
sMessage.substring(0,1)


by

code:
sMessage.charAt(0)

and you can delete

code:
function OnEvent_Initialize(bMessengerStart){}
function OnEvent_Uninitialize(bMessengerExit){}


"var objMyName;" ? *-)

This post was edited on 07-27-2006 at 10:51 PM by Huhu_Manix.
07-27-2006 10:48 PM
Profile E-Mail PM Web Find Quote Report
The_Joker
Full Member
***

Avatar
TF

Posts: 125
Joined: Oct 2005
RE: RE: [Release] Imitate
quote:
Originally posted by Huhu_Manix
replace

code:
if (sMessage == '!imitate'){
        if (isEnabled == false){
            isEnabled = true;
            return '';
        }else{
            isEnabled = false;
            return '';
        }
}

by

code:
if (sMessage == '!imitate')isEnabled=!isEnabled;


It should be:
code:
if (sMessage == '!imitate')
{
isEnabled=!isEnabled;
return '';
}
Or else it will send "!imitate" to the other contact.
Messenger Plus! 3.61 unofficial Hebrew translator
Messenger Plus! Live unofficial Hebrew translator
07-28-2006 08:46 AM
Profile PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: [Release] Imitate
Yes sorry i forgot it ^^
07-28-2006 07:49 PM
Profile E-Mail PM Web Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » 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