What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] "user offline" notice

[Request] "user offline" notice
Author: Message:
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: [Request]
Make a new script and add this:
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
var Contacts = ChatWnd.Contacts;
var e = new Enumerator(Contacts);
for(; !e.atEnd(); e.moveNext())
{
    var Contact = e.item();
        if(Contact.Status == 1) {
            MsgPlus.DisplayToastContact("Offline Notification","[b]Your message has been blocked[/b]","because the contact is offline.","Sounds\\notify.mp3");
            return "";
        }
}
return Message;
}
It'll show a toast if the contact is offline. This stops you from offline messaging though so you'll have to turn it off if you want it to work :P Might package it later with an option. Thanks to Stigmata for the help :)

This post was edited on 06-28-2006 at 05:56 PM by hmaster.
[Image: sig.png]
06-28-2006 05:47 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] "user offline" notice - by djnerve on 06-28-2006 at 04:51 PM
RE: [Request] - by qgroessl on 06-28-2006 at 04:52 PM
RE: [Request] - by absorbation on 06-28-2006 at 04:54 PM
RE: [Request] - by djnerve on 06-28-2006 at 05:05 PM
RE: [Request] - by hmaster on 06-28-2006 at 05:47 PM
RE: [Request] - by Three6Mafia on 06-28-2006 at 06:06 PM
RE: [Request] "user offline" notice - by djnerve on 06-28-2006 at 11:32 PM
RE: [Request] "user offline" notice - by Mr. Bougo on 06-29-2006 at 07:12 AM
RE: [Request] "user offline" notice - by Three6Mafia on 07-02-2006 at 07:34 AM
RE: [Request] "user offline" notice - by wlmcrap on 07-06-2006 at 11:57 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