What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » To The Pro's: please correct this cool script

Pages: (4): « First « 1 2 [ 3 ] 4 » Last »
To The Pro's: please correct this cool script
Author: Message:
andrey
elite shoutboxer
****

Avatar

Posts: 795
Reputation: 48
– / Male / Flag
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
[Image: w2kzw8qp-sq2_dz_b_xmas.png]
07-17-2006 10:32 AM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: To The Pro's: please correct this cool script
quote:
Originally posted by -!Felu!-
Here's the code :cheesy:
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
Profile PM Find Quote Report
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:P 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
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
29 / Male / Flag
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
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
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.
[Image: 1-0.png]
             
07-17-2006 10:37 AM
Profile PM Web Find Quote Report
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
Profile E-Mail PM Find Quote Report
andrey
elite shoutboxer
****

Avatar

Posts: 795
Reputation: 48
– / Male / Flag
Joined: Aug 2004
RE: To The Pro's: please correct this cool script
quote:
Originally posted by DennisMartijn
i dont get it anymore:P 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.
[Image: w2kzw8qp-sq2_dz_b_xmas.png]
07-17-2006 10:40 AM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
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
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
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
Profile E-Mail PM Web Find Quote Report
DennisMartijn
Full Member
***


Posts: 119
Joined: Jul 2006
O.P. RE: To The Pro's: please correct this cool script
alright:P then i know that:P 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
Profile E-Mail PM Find Quote Report
Pages: (4): « First « 1 2 [ 3 ] 4 » 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