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:
DennisMartijn
Full Member
***


Posts: 119
Joined: Jul 2006
O.P. Undecided  To The Pro's: please correct this cool script
--------------------------------------------------------------------------------------------
function OnEvent_MyStatusChange( [4] NewStatus );

{
This is a read/write property.
[boolean] Blocked(
    [xxxx@xxxx.nl] Email
);


    [boolean] DisplayToast(
        ["Sander"] Title,
        ["Sander heeft je geblokkeerd."] Message,
        [C:\Program Files\MSN Messenger\online.wma] SoundFile,

}
-------------------------------------------------------------------------------------------
(made red, CUZ IT DOENST WORK)

now this is a code i made, it doesnt work. i hope someone can change it for me.
a simple explanation: a script, wich makes a toast popup, with the message ''sander has blokked you'', sander as title, and online.wma as a soundfile. i want to enter a email adres in the script, to specifie the user where you want the block information from, if he blokked you or not. i want this toast to appear when you change your status to Busy.
so, please correct this if you can. when corrected, post on this topic and feel free to use it everyone!

PS: please keep the idea to enter a email adres (and a message and title for that adres)  in the script by yourself, by the editing button in the plus menu. also if this script is corrected, is it possible to copy and past this script a few times, each script part a different email adres and message, but still in the same script js file?
Thanks already.
07-17-2006 09:35 AM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: To The Pro's: please correct this cool script
All that needs to be said is that you need to actually learn the language before you write code for it.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
07-17-2006 09:39 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
thats a fast reply... but youre right. i do know the language, but not that much. but please help me, im only a simple beginner scripter, and i want the code finished...
07-17-2006 09:43 AM
Profile E-Mail PM Find Quote Report
NiteMare
Veteran Member
*****

Avatar
Giga-Byte me

Posts: 2497
Reputation: 37
37 / Male / Flag
Joined: Aug 2003
RE: To The Pro's: please correct this cool script
you've left in too much of the eplination stuff in there, try this:
code:
function OnEvent_MyStatusChange(NewStatus){
     If (NewStatus == "4"){
           Messenger.Blocked("xxxx@xxxx.nl");
           MsgPlus.DisplayToast("Sander", "Sander heeft je geblokkeerd." ," C:\Program Files\MSN Messenger\online.wma");
     }
}


Secondly, the DIsplay Toast does not support wma files

This post was edited on 07-17-2006 at 09:46 AM by NiteMare.
[Image: sig/]
I'll never forget what she said 6864 days, 20 hours, 27 minutes, 57 seconds ago
Need hosting? Check
out my website. we can help you out :)
07-17-2006 09:44 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
THANK YOU SO MUCH ill try it:P
it doesnt really matter that the wma doesnt work. al that cares is the script:P

PS: when someone is online:(

This post was edited on 07-17-2006 at 09:50 AM by DennisMartijn.
07-17-2006 09:45 AM
Profile E-Mail PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: RE: To The Pro's: please correct this cool script
quote:
Originally posted by NiteMare
you've left in too much of the eplination stuff in there, try this:
code:
function OnEvent_MyStatusChange(NewStatus){
     If (NewStatus == "4"){
           Messenger.Blocked("xxxx@xxxx.nl");
           MsgPlus.DisplayToast("Sander", "Sander heeft je geblokkeerd." ," C:\Program Files\MSN Messenger\online.wma");
     }
}


Secondly, the DIsplay Toast does not support wma files


"Messenger.Blocked("xxxx@xxxx.nl");"

What's that supposed to do? It's never gonna work...
The previous sentence is false. The following sentence is true.
07-17-2006 09:50 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
in the xxxx you fill in the adres:P like mike@hotmail.com. this is just an example.

oh and the .nl is for the dutch people:P

This post was edited on 07-17-2006 at 09:52 AM by DennisMartijn.
07-17-2006 09:52 AM
Profile E-Mail PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: RE: To The Pro's: please correct this cool script
quote:
Originally posted by DennisMartijn
in the xxxx you fill in the adres:P like mike@hotmail.com. this is just an example.

oh and the .nl is for the dutch people:P


Look, I know that, but that code will not work, with or without a valid e-mail address.

If you're trying to make a block checker, it's not possible. Otherwise, I really don't understand what you want this script to do.
The previous sentence is false. The following sentence is true.
07-17-2006 09:55 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
oh? can you tell me why it doesnt work then? is it because the script still think the person is offline?
and is there a fix for that?
07-17-2006 09:57 AM
Profile E-Mail PM Find Quote Report
NiteMare
Veteran Member
*****

Avatar
Giga-Byte me

Posts: 2497
Reputation: 37
37 / Male / Flag
Joined: Aug 2003
RE: To The Pro's: please correct this cool script
Try Contact.Blocked instead of Messenger.Blocked

i never looked it up, just took a guess, i was really going to lay out and format, give show him how its done

its probualy won't work, i'm still too grogy to code

This post was edited on 07-17-2006 at 10:03 AM by NiteMare.
[Image: sig/]
I'll never forget what she said 6864 days, 20 hours, 27 minutes, 57 seconds ago
Need hosting? Check
out my website. we can help you out :)
07-17-2006 10:02 AM
Profile PM Web 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