What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Auto send winks/nudges?

[Request] Auto send winks/nudges?
Author: Message:
effection
Full Member
***

Destroy The Runner

Posts: 135
Reputation: 4
– / Male / Flag
Joined: Sep 2006
RE: [Request] Auto send winks/nudges?
well i was bord and coded up a basic nudge one, needs a nice GUI to add words to though, something like the filesender GUI would be nice.

code:
var autoSendNudge = false;
var words = new Array;
words = ("hello", "hi", "hey");

function OnEvent_ChatWndReceiveMessage(wnd, user, message, kind)
{
    if(autoSendNudge == true)
    {
        for(var i = 0; i < words.length; i++)
        {
            if(message.match(words[i]) != null)
            {
                wnd.SendMessage("/nudge");
                break;
            }
        }
        // Check for command
        if(message.charAt(0) == "!")
        {       
            var command;
            if(message.indexOf(" ") == -1)
            {
                command = message.substring(1, message.length);//.trim();
            }
   
            Debug.Trace("Command: "+command);
       
            switch(command)
            {
                case "nudge":               
                    var message;
                    message = "/nudge";
                    wnd.SendMessage(message);
                    message = '';
                break;           
            }
        }
    }
    return message;
}
09-24-2006 07:16 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] Auto send winks/nudges? - by KaaY-JaaY on 09-23-2006 at 08:14 PM
RE: [Request] Auto send winks/nudges? - by Silentdragon on 09-23-2006 at 08:17 PM
RE: [Request] Auto send winks/nudges? - by KaaY-JaaY on 09-23-2006 at 08:20 PM
RE: RE: [Request] Auto send winks/nudges? - by CookieRevised on 09-23-2006 at 11:54 PM
RE: RE: RE: [Request] Auto send winks/nudges? - by KaaY-JaaY on 09-24-2006 at 04:07 AM
RE: [Request] Auto send winks/nudges? - by effection on 09-24-2006 at 07:16 PM
RE: [Request] Auto send winks/nudges? - by xsouldeath on 09-26-2006 at 12:38 AM
RE: [Request] Auto send winks/nudges? - by Silentdragon on 09-26-2006 at 12:44 AM
RE: [Request] Auto send winks/nudges? - by xsouldeath on 09-26-2006 at 12:49 AM
RE: [Request] Auto send winks/nudges? - by Jimbo on 09-26-2006 at 06:13 AM
RE: [Request] Auto send winks/nudges? - by CookieRevised on 09-26-2006 at 06:45 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