Shoutbox

[help] Window Close script - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [help] Window Close script (/showthread.php?tid=61591)

[help] Window Close script by djnerve on 06-26-2006 at 04:00 PM

Hi guys i have never ever coded anything inmy life i followd a little and kindo f built myself this but it dont work can anybody explain why? and possibly the answer iwould be very greatfull

code:
function OnEvent_Initialize(MessengerStart)
{
}
OnEvent_ContactListWndDestroyed(var Message = "Fine! Leave Then" + "!"; Message = MsgPlus.RemoveFormatCodes(Message); wnd.SendMessage("", Message);
function OnEvent_Uninitialize(MessengerExit)
{
}


RE: [help] Window Close script by Lou on 06-26-2006 at 04:05 PM

try:

code:
OnEvent_ContactListWndDestroyed(){
var Message = "Fine! Leave Then!";
Message = MsgPlus.RemoveFormatCodes(Message);
wnd.SendMessage("" + Message);
}

RE: [help] Window Close script by djnerve on 06-26-2006 at 04:11 PM

hi thanks alot for the fast reply!! but it says the script is defective? or i donothave theproper privilages


RE: [help] Window Close script by Lou on 06-26-2006 at 04:11 PM

quote:
Originally posted by djnerve
hi thanks alot for the fast reply!! but it says the script is defective? or i donothave theproper privilages
try with the latest one and then see if it works.
RE: [help] Window Close script by djnerve on 06-26-2006 at 04:16 PM

ok i lost the errors now. sorry for the bad typing this is a very bad keyboard. i tested it but it diodnt send the message when they left.


RE: [help] Window Close script by Lou on 06-26-2006 at 04:17 PM

quote:
Originally posted by djnerve
ok i lost the errors now. sorry for the bad typing this is a very bad keyboard. i tested it but it diodnt send the message when they left.
When they left? That event is when you close your contact list:S
RE: [help] Window Close script by qgroessl on 06-26-2006 at 04:19 PM

:p yay! Like I said before... but then I saw .Lou had recoded something and it still said the same thing so I deleted my post cause I didn't wanna feel stupid...

quote:
Originally posted by .Lou
ContactListWndDestroyed

That's contact list window destroyed.... This is the same as a window close notifier, which I believe doesn't really work.
RE: [help] Window Close script by djnerve on 06-26-2006 at 04:25 PM

i just noticed sorry im usch anoob still tryingt o fix it if i dontmanage in a minuite i will post back. thanks guys


RE: [help] Window Close script by luisillo on 06-26-2006 at 04:27 PM

quote:
Originally posted by djnerve
i tested it but it diodnt send the message when they left.

I guess by that post, that the whole purpose of your script is wrong, I mean, you want that message to be sent when somebody you are talking to closes your conv, is't that??

that's not possible, or at least that's what I heard from Patchou, the protocol of msn doesn't send any type or info when this happens... in a not so far past, it did, but now, it doesn't
RE: [help] Window Close script by djnerve on 06-26-2006 at 04:34 PM

damn! bloomin ek! ok i will dream up anougher script. will no doubt be back soon. thanks guys!:)