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

Reminder
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Reminder
Not too sure what you mean, but:

If you wanted to alert your client when the reminder timer activates, you can try using ChatWnd.SendMessage.


example:
jscript code:
var chatwnds=[];

function OnEvent_Timer(TimerId){
    chatwnds[TimerId].SendMessage("time's up!"); // Sends a message to contact..
    delete chatwnds[TimerId];
    }
   
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 "";
            }
    /* usage: /reminder <minutes> */
    }

This post was edited on 12-17-2008 at 11:02 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
12-17-2008 10:13 PM
Profile PM Web 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