Shoutbox

msn block countdown - 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: msn block countdown (/showthread.php?tid=67349)

msn block countdown by Jimbo on 10-15-2006 at 04:07 PM

is it possible to create a script that counts down in a little timer at the top left hand corner of the WLM screen and if the person signed in is xx@xx.com it logs them off when the timer gets to 0.


RE: msn block countdown by user27089 on 10-15-2006 at 04:11 PM

It should be possible seeing as you can use the #1# countdown to use the /signout feature. So yeah, definitely possible and it really should be amazingly hard to make.


RE: msn block countdown by Jimbo on 10-15-2006 at 04:16 PM

oh ok, so you reckon no one will make it?


RE: msn block countdown by Spunky on 10-15-2006 at 05:47 PM

Wouldn't be too hard... Use the same method as the Timezone script to create a Child Window that can display information (in this case a countdown timer). Set the timer to xx seconds/minutes/hours andget it to update the child window. If time left == 0 and Messenger.MyEmail == "blah@msn.com", signout...


RE: msn block countdown by Jimbo on 10-15-2006 at 05:49 PM

you reckon you could do it?


RE: msn block countdown by Spunky on 10-15-2006 at 05:52 PM

I think I COULD do it, with time, but I'm swamped right now building a web page for someone and got work and other stuff ^o) Someone will do it though, I'm sure ;)

PS: If it's not done within a week or two, I'll give it a bash


RE: msn block countdown by Jimbo on 10-15-2006 at 05:58 PM

ok thanks spunky.


RE: msn block countdown by Spunky on 10-16-2006 at 09:41 PM

Ok. Before I start I want to point out that this is just a bastardized version of Shondoit's Timezone script. It has been modified to display the time remaining rather than the current time. This means the commands to move the counter are still available and still work.

There are 2 variables that may be openly edited by the user inside the script file.

1) The email address of the "banned" user
2) How many minutes they are allowed to be online

When the time remaining gets down to one minute, it is displayed in seconds. The user will be logged out when the seconds remaining reaches zero. However, they can obviously still just log back in. What I might add in a later version is a function that keeps signing them out until another user has logged in.

The best part of this script is that, unless you are the banned user, you will not have the little window open and it will not start any timers etc.


RE: msn block countdown by CookieRevised on 10-16-2006 at 10:02 PM

JimboDude, instead of trying to find ways to keep your sister of your MSN Messenger (how many threads have you already created with such related requests? :p), why don't you make her her own Windows account? Or even password protect the whole computer (password on startup, see bios settings)... ;)


RE: RE: msn block countdown by Jimbo on 10-17-2006 at 06:44 PM

quote:
Originally posted by CookieRevised
JimboDude, instead of trying to find ways to keep your sister of your MSN Messenger (how many threads have you already created with such related requests? :p), why don't you make her her own Windows account? Or even password protect the whole computer (password on startup, see bios settings)... ;)

lol, ok



Thanks spunky for the script.
maybe you could add this in somewhere so it made a 24 hour gap between signins
code:
MsgPlus.AddTimer("Gap", 24*60*60*1000);
}
if (TimerId == "Gap"){
allowed = true;
}
}

Also is the timer meant to be here?

[Image: attachment.php?pid=743321]
RE: msn block countdown by Spunky on 10-18-2006 at 04:11 PM

The anti-login timer thing would need to check to see if it was them who logged in, but I can work on it for you later. The position of the countdown should be where the Time is shown in that pic. Thats where it shows on mine ^o) I could try moving it above your DP though