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

Reminder
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Reminder
JScript code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
    if(/^\/(\S*)\s*(.*)/.exec(Message))
        if(RegExp.$1.toLowerCase()=="reminder"){
            var m=RegExp.$2*60000;
            chatwnds[m]=ChatWnd;
            MsgPlus.AddTimer(m,m);
            Debug.Trace("Done and done. Reminding in "+m/60000+" minute(s)");
            return "/me has added a reminder for "+m/60000+"minute(s)";
            }
    /* usage: /reminder <minutes> */
    }

<Eljay> "Problems encountered: shit blew up" :zippy:
12-17-2008 11:35 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Reminder - by mrfireman on 12-16-2008 at 10:18 PM
RE: Reminder - by roflmao456 on 12-17-2008 at 10:13 PM
RE: Reminder - by mrfireman on 12-17-2008 at 10:53 PM
RE: Reminder - by roflmao456 on 12-17-2008 at 11:02 PM
RE: Reminder - by mrfireman on 12-17-2008 at 11:07 PM
RE: Reminder - by roflmao456 on 12-17-2008 at 11:08 PM
RE: Reminder - by mrfireman on 12-17-2008 at 11:11 PM
RE: Reminder - by Spunky on 12-17-2008 at 11:35 PM
RE: Reminder - by mrfireman on 12-17-2008 at 11:40 PM
RE: Reminder - by roflmao456 on 12-18-2008 at 12:00 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