Shoutbox

Request: Mimic what people says - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Request: Mimic what people says (/showthread.php?tid=85805)

Request: Mimic what people says by kolibanat on 09-06-2008 at 03:30 PM

I had a script/plugin doing this for me a long time ago but i cant find any now..

want it to make me send same message back to people as they write to me.. i dont use away messages, i think this is more comfortable.
also i kind of need it as a amateur bot thing for a thing im working with..

shouldnt be so much work to fix, please!


just to be really clear..

quote:
Friend says:
Hello! :)
Me says:
Hello! :)
Friend says:
How are you?
Me says:
How are you?
Friend says:
What?
Me says:
What?
Friend says:
Stop imitate me.. L
Me says:
Stop imitate me.. L

RE: Request: Mimic what people says by roflmao456 on 09-06-2008 at 04:44 PM

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message){
if(Origin !== Messenger.MyName) ChatWnd.SendMessage(Message);
}

should work but Plus! has a limit on ChatWnd.SendMessage so it might stop working after 15 messages sent in a period of time :P.


it's a really simple script to do, just read the scripting documentation and you'll learn how to do more ;)
RE: Request: Mimic what people says by kolibanat on 09-06-2008 at 05:14 PM

Nice! :) it works! :D thank you! (L)

but, what a stupid limit :|


and.. how do i fix so that only a specific signed in email can use this.. (described in "Your first script")
im using polygami and i just want one of them to use the script :p


RE: Request: Mimic what people says by Spunky on 09-06-2008 at 06:19 PM

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message){
if(Origin !== Messenger.MyName && Messenger.MyEmail==="your@email.com") ChatWnd.SendMessage(Message);
}

The 15 message limit is there to stop scripts like this "spamming" people with messages. Although, if you were to send 14 messages through a script, then actually send a message, the script can continue for another 15 messages :p
RE: Request: Mimic what people says by kolibanat on 09-06-2008 at 06:38 PM

Thank you :) works perfect!