View Full Version : ioUptime
mr_F_2
02-20-2004, 11:59 AM
[10:58:35] site uptime
[10:58:35] 200-ioFTPd has been running for 0 days, 0 hours, 17 minutes, 19 seconds.
[10:58:35] 200 Command successful.
...useful? i dont' know, i wanted it so maybe someone else does
get it @
http://www.ioftpd.com/scripts/script.php?id=40
(C source is included)
peace ;)
Isn't the name "ioUptime" already in use ? I think ADDiCT's uptime script is called like that.
mr_F_2
02-20-2004, 12:25 PM
hrmm i didn't know that existed ... it seems that's only included with dZS bot or if you dig for it ... i'll change the name if it's a problem
ADDiCT
02-20-2004, 12:36 PM
i don't care about the name, not a problem for me
(what else can u call an io script that shows uptime)
mr_F_2
02-20-2004, 12:54 PM
:P
i screwed up and wasn't thinking (due to midterms coming up)... used a % where i should have used a / ... get updated exe from the scripts page metioned above ^^^
sorry to everyoen who had -23 hours instead of 1 hour :D
DR. GiGa BYTe
02-20-2004, 01:36 PM
Hi,
is it possible to add a parameter to display only the values? Would be nice to have a cookie for the welcome.msg :)
e.g.
uptime : %[execute(EXEC ..\scripts\iouptime\iouptime.exe)(cookie)]
Output = "uptime : x days, x hours, x minutes, x seconds."
(without the \n at the end :) )
That would be nice :)
cu
DR.GB
mr_F_2
02-20-2004, 02:16 PM
all my scripts have source code included, so you can edit or manipulate and compile whatever modifications you want.
but i assume because you asked that you either didn't know this or didn't want to, so here's your modified version
http://nrscripts.staghosting.com/customuptime.zip
DR. GiGa BYTe
02-20-2004, 05:06 PM
Thanx for the fast help...
My programming knowledge is very basically...
Faiden
05-25-2004, 06:37 AM
how do i change the ! command to a ? command
instead of !uptime i want ?uptime
does anybody know?
EwarWoo
05-25-2004, 06:19 PM
just change the command pre in dzsbot config.
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.