|
It is FORBIDDEN to copy these written contents (and screenshots/images) to other websites, without my permission and without crediting me and putting a link to this page (WITHOUT nofollow). Wouldn't it be nice if just by issuing the command /uptime you could send to the window you have currently open a test like this? ![]()
It is much more complete than any simple uptime script which tells only your current uptime... I mean, it records you highest time! Obviously, it requires scripting. Then, as usual, let's see how the code works, and then let's comment it. Open your Aliases Panel, pressing the
Now, we need to access the Remote Panel, by pressing the on 1:START:/timeruptime 0 40 /checkuptime or if you already have an on START in there, followed by { and some lines, insert "/timeruptime 0 40 /checkuptime" without quotes just before the } at the end. You need to add a line also to the Variable Panel, accessible by reaching the Remote or Aliases Panels, and then clicking on the Variables tab. Here add this line: %UptimeRecord 0 Now press OK and restart mIRC. This script will check for you every 40 seconds if the current uptime is higher than the stored one, and if it is, updates the record, and stores also the current date. You can change the frequency the script checks the uptime by putting a different value in "/timeruptime 0 40 /checkuptime", for example use 60 instead of 40 if you want to check every minute. Needless to say, you can, or better you must change the message as well, since as you can see it fits my being italian This is all, type /uptime and press Enter to see the result. If you liked this page, if you feel it added something to your life, then leave a comment below, it will be appreciated
comments :: write ::
No comments yet
|
|
|
©ephestione photo: ephestione@flickr 1024x768, mozilla firefox Questo sito non rappresenta una testata giornalistica in quanto viene aggiornato senza alcuna periodicità. Non può quindi considerarsi un prodotto editoriale, ai sensi della legge 62 del 7/3/2001. credits |
|