What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Disable automatic reply

Disable automatic reply
Author: Message:
Jonte135
Junior Member
**


Posts: 57
– / – / Flag
Joined: Aug 2007
O.P. Disable automatic reply
Well I made this code/someone helped me with it. Anyway what it does is that everytime someone say "Hey" to me I reply "Hi <their name>! Time to chat again :)". Now if the user says "Hey" again I want me to not reply back again. This is my code:

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
var variable = 0;
}

 

if (Message.match("Hey") && variable == 0)
{
ChatWnd.SendMessage('Hi ' + Origin + '! Time to chat again :)');
variable = 1;
}
else
{
ChatWnd.SendMessage(':yay:');
}


function OnEvent_Uninitialize(MessengerExit)
{

}


And the :yay: thingy is just there so I know it works, I will delete that later when it works ;) Just one problem... it doesn't work :P So please help (A)

This post was edited on 10-06-2007 at 11:16 AM by Jonte135.
10-06-2007 11:16 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Disable automatic reply - by Jonte135 on 10-06-2007 at 11:16 AM
RE: Disable automatic reply - by NanaFreak on 10-06-2007 at 11:33 AM
RE: RE: Disable automatic reply - by Matti on 10-06-2007 at 12:05 PM
RE: Disable automatic reply - by Jonte135 on 10-06-2007 at 01:12 PM
RE: Disable automatic reply - by Matti on 10-06-2007 at 02:05 PM
RE: Disable automatic reply - by Jonte135 on 10-06-2007 at 06:14 PM
RE: Disable automatic reply - by Matti on 10-06-2007 at 06:38 PM
RE: Disable automatic reply - by Jonte135 on 10-06-2007 at 06:41 PM


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