To The Pro's: please correct this cool script |
Author: |
Message: |
DennisMartijn
Full Member
Posts: 119
Joined: Jul 2006
|
O.P. 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 |
|
|
ShawnZ
Veteran Member
Posts: 3146 Reputation: 43
32 / /
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 |
|
|
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 |
|
|
NiteMare
Veteran Member
Giga-Byte me
Posts: 2497 Reputation: 37
37 / /
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.
|
|
07-17-2006 09:44 AM |
|
|
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
it doesnt really matter that the wma doesnt work. al that cares is the script
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 |
|
|
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 |
|
|
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 like mike@hotmail.com. this is just an example.
oh and the .nl is for the dutch people
This post was edited on 07-17-2006 at 09:52 AM by DennisMartijn.
|
|
07-17-2006 09:52 AM |
|
|
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 like mike@hotmail.com. this is just an example.
oh and the .nl is for the dutch people
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 |
|
|
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 |
|
|
NiteMare
Veteran Member
Giga-Byte me
Posts: 2497 Reputation: 37
37 / /
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.
|
|
07-17-2006 10:02 AM |
|
|
Pages: (4):
« First
[ 1 ]
2
3
4
»
Last »
|
|