What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [reguest] log out script??

Pages: (2): « First « 1 [ 2 ] Last »
[reguest] log out script??
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [reguest] log out script??
quote:
Originally posted by Ezra
code:
var Message = "Bye Bye";

function OnEvent_Signout(Email)
{
  for(e = new Enumerator(Messenger.CurrentChats); !e.atEnd(); e.moveNext())
  {
   if (e.item().EditChangeAllowed)
    {
      ChatWnd.SendMessage(Message);
    }
  }
}

You Phail!

code:
var Message = "Bye Bye";

function OnEvent_Signout(Email) {
  for(e = new Enumerator(Messenger.CurrentChats); !e.atEnd(); e.moveNext()) {
   if (e.item().EditChangeAllowed) {
      e.item().SendMessage(Message);
    }
  }
}

quote:
Originally posted by jamiewarne123
just before u log out then
quote:
Originally posted by jamiewarne123
im am very suprised to how active this forum is, u are all very helpfull and quik at making scripts

Don't double post, if you need to make changes or add something use the edit button.

quote:
Originally posted by foaly
how can you send a message when you just signed out?

or do you stay signed in untill OnEvent_Signout is parsed?
This isn't going to work.
quote:
Originally posted by Excert from: [url
http://mpscripts.net/docs.php?p=ref-msgevents-signout.htm]The[/url] OnEvent_Signout event is fired when the current Messenger user signs-out.

Syntax
OnEvent_Signout(
    [string] Email
);
[/code]

This post was edited on 11-06-2006 at 07:28 PM by matty.
11-06-2006 07:22 PM
Profile E-Mail PM Find Quote Report
jamiewarne123
New Member
*


Posts: 8
Joined: Nov 2006
O.P. RE: [reguest] log out script??
i dont understand what one do i copy into a new script

would you be able to make it so i can import it please, make it an upload it, then i downlaod it and import

This post was edited on 11-06-2006 at 07:25 PM by jamiewarne123.
11-06-2006 07:24 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: [reguest] log out script??
quote:
Originally posted by Matty
quote:
Originally posted by Ezra
code:
var Message = "Bye Bye";

function OnEvent_Signout(Email)
{
  for(e = new Enumerator(Messenger.CurrentChats); !e.atEnd(); e.moveNext())
  {
   if (e.item().EditChangeAllowed)
    {
      ChatWnd.SendMessage(Message);
    }
  }
}

You Phail!

code:
var Message = "Bye Bye";

function OnEvent_Signout(Email) {
  for(e = new Enumerator(Messenger.CurrentChats); !e.atEnd(); e.moveNext()) {
   if (e.item().EditChangeAllowed) {
      e.item().SendMessage(Message);
    }
  }
}


LOL

Anyway, as foaly said, it doesn't send the message anyway, OnEvent_Signout only gets triggered after msn is signed out...
[Image: 1-0.png]
             
11-06-2006 07:25 PM
Profile PM Web Find Quote Report
jamiewarne123
New Member
*


Posts: 8
Joined: Nov 2006
O.P. RE: [reguest] log out script??
so this isnt posible??

couldnt u make it so when i click sign out it is delyed by 5 seconds so the message can be sent, then log you out

This post was edited on 11-06-2006 at 07:27 PM by jamiewarne123.
11-06-2006 07:26 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [reguest] log out script??
quote:
Originally posted by jamiewarne123
so this isnt posible??

couldnt u make it so when i click sign out it is delyed by 5 seconds so the message can be sent, then log you out
Easiest thing to do in this case is to make a QuickText. The first message sent would be to /all Bye Bye, the second message would be /signout

That is the only way possible.
11-06-2006 07:29 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: [reguest] log out script??
This will be like the QuickText only fancier :P

code:
var ByeMessage = "Bye Bye";

function OnEvent_ChatWndSendMessage(ChatWnd, Message)

  if (Message.match(/^\/signmeout$/i) != null)
  {
    for(e = new Enumerator(Messenger.CurrentChats); !e.atEnd(); e.moveNext())
    {
      if (e.item().EditChangeAllowed)
      {
        e.item().SendMessage(ByeMessage);
        Messenger.Signout();
        return "";
      }
    }
  }
}
[Image: 1-0.png]
             
11-06-2006 07:31 PM
Profile PM Web Find Quote Report
EBFL
Full Member
***

Avatar
;o

Posts: 486
Reputation: 67
31 / Male / Flag
Joined: Oct 2006
RE: [reguest] log out script??
Lol?
You dont need a script,
Just Type, /all [text]
I'm awesome

11-06-2006 07:33 PM
Profile PM Find Quote Report
jamiewarne123
New Member
*


Posts: 8
Joined: Nov 2006
O.P. RE: [reguest] log out script??
really is that /all [text]

wikid
11-06-2006 07:45 PM
Profile E-Mail PM Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: [reguest] log out script??
Meh, it's just a suggestion but if a script were made, then one possible idea is everytime you speak to a contact, add their email to an array (assuming they don't already exist in it of course.) You could then use whatever method to call a function that sends the message to all the users (still online) in that array before signing out.

This way at least you aren't sending messages to people you haven't spoken to, yet you can still close chat windows and be assured that those contacts will get your goodbye message...
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
11-06-2006 08:05 PM
Profile PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


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