[Request] Check Contact Status - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request] Check Contact Status (/showthread.php?tid=66616)
[Request] Check Contact Status by Chris4 on 09-24-2006 at 08:53 PM
People say to me 'Is <person> online?'
It would be cool if you could type a command, followed by the contacts e-mail address and it tells you if they are online or not, instead of having to go to the contact list.
quote: /check contact@hotmail.com
Sounds easy enough to make
Thanks to anyone who does try it mile:
RE: [Request] Check Contact Status by Panachiba on 09-24-2006 at 09:19 PM
mm..blah!, for some reason the prople use the mode "offline", so..create a script what can see if she/he is online or not, is how a violation to the privacity , i think -_-.
but is a good idea
RE: [Request] Check Contact Status by Silentdragon on 09-24-2006 at 09:23 PM
Toasts you saying if they're online, offline, or unknown status.
code: function OnEvent_ChatWndSendMessage(Wnd, Message) {
if(Message.match(/\/check .+@.+/i) != null) {
var Contact = Messenger.MyContacts.GetContact(Message.substr(7));
if(Contact != null) {
var Status = Contact.Status;
if(Status > 2)
MsgPlus.DisplayToastContact('Status',Contact.Name,'Is Online');
else if(Status == 1)
MsgPlus.DisplayToastcontact('Status',Contact.Name,'Is Offline');
else
MsgPlus.DisplayToastContact('Error',Contact.Name,'Has unknown status');
} else {
MsgPlus.DisplayToast('Contact','Not found.');
}
return '';
}
}
function OnGetScriptCommands()
{
var ScriptCommands = "<ScriptCommands>";
ScriptCommands += "<Command>";
ScriptCommands += "<Name>check</Name>";
ScriptCommands += "<Description>Checks status of email</Description>";
ScriptCommands += "<Parameters><email address></Parameters>";
ScriptCommands += "</Command>";
ScriptCommands += "</ScriptCommands>";
return ScriptCommands;
}
RE: [Request] Check Contact Status by Chris4 on 09-24-2006 at 10:06 PM
Thank you very much Silentdragon!
|