To The Pro's: please correct this cool script |
Author: |
Message: |
andrey
elite shoutboxer
Posts: 795 Reputation: 48
– / /
Joined: Aug 2004
|
RE: To The Pro's: please correct this cool script
quote: Originally posted by -!Felu!-
code: function OnEvent_MyStatusChange(NewStatus)
{
if (NewStatus == "4")
{
var Contacts = Messenger.MyContacts;
var Contact = Contacts.GetContact("smarterchild@hotmail.com");
if (Contact.Blocked == false)
{
Contact.Blocked = true;
}
MsgPlus.DisplayToast("Sander", "Sander heeft je geblokkeerd." ," C:\Program Files\MSN Messenger\online.wma");
}
}
Again, this shows a pop-up if you blocked this contact, not if he has blocked you.
Btw, "Sander heeft je geblokkeerd." means afaik "Sander has blocked you."
What DennisMartijn wants is quote: Originally posted by DennisMartijn
a script, wich makes a toast popup, with the message ''sander has blokked you'
which will never work, because you can't see if someone has blocked you. Block checkers DO NOT work
|
|
07-17-2006 10:32 AM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: To The Pro's: please correct this cool script
quote: Originally posted by -!Felu!-
Here's the code
code: function OnEvent_MyStatusChange(NewStatus)
{
if (NewStatus == "4")
{
var Contacts = Messenger.MyContacts;
var Contact = Contacts.GetContact("smarterchild@hotmail.com");
if (Contact.Blocked == false)
{
Contact.Blocked = true;
}
MsgPlus.DisplayToast("Sander", "Sander heeft je geblokkeerd." ," C:\Program Files\MSN Messenger\online.wma");
}
}
quote: Originally posted by Eljay
- Sound file names need to be escaped properly (e.g. "C:\\blah.txt" instead of "C:\blah.txt")
and anyway, as people have already said .wma isnt supported
edit: filenames also need a \ before them if theyre not in the currents script's directory
This post was edited on 07-17-2006 at 10:34 AM by Eljay.
|
|
07-17-2006 10:32 AM |
|
|
DennisMartijn
Full Member
Posts: 119
Joined: Jul 2006
|
O.P. RE: To The Pro's: please correct this cool script
i dont get it anymore is there a working code, or doesnt al codes in wich you want to see if anyone specified blokked you?
This post was edited on 07-17-2006 at 10:37 AM by DennisMartijn.
|
|
07-17-2006 10:35 AM |
|
|
Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: To The Pro's: please correct this cool script
quote: Originally posted by DennisMartijn
alricht. the email you entered, smarterchild@hotmail.com, is that the email of the person who you want to know if he or she blokked you?
Well the code i gave blocks the email and shows a toast.
|
|
07-17-2006 10:36 AM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: To The Pro's: please correct this cool script
quote: Originally posted by DennisMartijn
alricht. the email you entered, smarterchild@hotmail.com, is that the email of the person who you want to know if he or she blokked you?
You can't see if anyone else has blocked you. That's an invasion of privacy.
|
|
07-17-2006 10:37 AM |
|
|
DennisMartijn
Full Member
Posts: 119
Joined: Jul 2006
|
O.P. RE: To The Pro's: please correct this cool script
that isnt the code i want. check the earlier editted post..
|
|
07-17-2006 10:38 AM |
|
|
andrey
elite shoutboxer
Posts: 795 Reputation: 48
– / /
Joined: Aug 2004
|
RE: To The Pro's: please correct this cool script
quote: Originally posted by DennisMartijn
i dont get it anymore is there a working code, or doesnt al codes in wich you want to see if anyone specified blokked you?
there is no way to see if someone has blocked you.
|
|
07-17-2006 10:40 AM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: To The Pro's: please correct this cool script
Basically, if what i said was correct and you want this script to check if someone has blocked you, this isnt possible. As i already said Contact.Blocked is if YOU have blocked THEM, not the other way around. Block checkers DO NOT work.
|
|
07-17-2006 10:40 AM |
|
|
John Anderton
Elite Member
Posts: 3908 Reputation: 80
37 / /
Joined: Nov 2004
Status: Away
|
RE: To The Pro's: please correct this cool script
quote: Originally posted by DennisMartijn
alricht. the email you entered, smarterchild@hotmail.com, is that the email of the person who you want to know if he or she blokked you?
thats not possible
What the script posted earlier does is when you change your status to busy, it checks if the contact (with email mentioned in the script) is already blocked. If not then he/she is blocked.
Then you get a toast saying that the person has been blocked.
[
KarunAB.com]
[img]http://gamercards.exophase.com/459422.png[
/img]
|
|
07-17-2006 10:40 AM |
|
|
DennisMartijn
Full Member
Posts: 119
Joined: Jul 2006
|
O.P. RE: To The Pro's: please correct this cool script
alright then i know that im now working on a prank code, ill tell it later. i think this topic may be locked right now.
|
|
07-17-2006 10:42 AM |
|
|
Pages: (4):
« First
«
1
2
[ 3 ]
4
»
Last »
|
|