[reguest] log out script?? |
Author: |
Message: |
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
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 |
|
|
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 |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
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...
|
|
11-06-2006 07:25 PM |
|
|
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 |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
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 |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: [reguest] log out script??
This will be like the QuickText only fancier
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 "";
}
}
}
}
|
|
11-06-2006 07:31 PM |
|
|
EBFL
Full Member
;o
Posts: 486 Reputation: 67
32 / /
Joined: Oct 2006
|
RE: [reguest] log out script??
Lol?
You dont need a script,
Just Type, /all [text]
|
|
11-06-2006 07:33 PM |
|
|
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 |
|
|
pollolibredegrasa
Full Member
formerly fatfreechicken
Posts: 483 Reputation: 34
35 / /
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
Vaccy is my thin twin!
|
|
11-06-2006 08:05 PM |
|
|
Pages: (2):
« First
«
1
[ 2 ]
Last »
|
|