yes .. that would be better ..
sorry for the long time between replys ..

I still have not figured out how to get this working ..

But as Riamus2 Knows .. I am Not that great at this ..
but learning ... the hole check something store it .. loop
thing .. is beyound me lol

Format is ..

Fred
4 years 6 months 28 days 7 hours 44 minutes 50 seconds

[greeg]
28 days 7 hours 44 minutes 50 seconds

-mark-
44 minutes 50 seconds

This is what I can up with .. But it dont work lol

alias uptest {
//write -c high.txt
//write -c temptest.txt
var %i = 1
var %ii = 2
while (%ii <= $lines(Best-up-times-#channel.txt)) {
//write temptest.txt $read(test.txt,%i) $duration($replace($read(Best-up-times-#channel.txt,%ii), weeks,wks, week,wk, hours,hrs, hour,hr, minutes,mins, minute,min, seconds,secs, second,sec))
inc %i
inc %i
inc %ii
inc %ii
}
upfilter
}
alias upfilter {
var %o = 1
while (%o <= 5) {
var %high = 0
var %i = $lines(temptest.txt)
while (%i >= 1) {
if ($gettok($read(temptest.txt,%i),2,32) > %high) {
set %high.line %i
set %high $gettok($read(temptest.txt,%i),2,32)
}
dec %i
}
.write high.txt $read(temptest.txt,%high.line)
echo $active %high -- $read(temptest.txt,%high.line)
.write [ -dl $+ [ %high.line ] ] temptest.txt
inc %o
}
echo $me Top Five Highest Online Uptimes ...
echo $me 1. $gettok($read(high.txt,1),1,32) $duration($gettok($read(high.txt,1),2,32))
echo $me 2. $gettok($read(high.txt,2),1,32) $duration($gettok($read(high.txt,2),2,32))
echo $me 3. $gettok($read(high.txt,3),1,32) $duration($gettok($read(high.txt,3),2,32))
echo $me 4. $gettok($read(high.txt,4),1,32) $duration($gettok($read(high.txt,4),2,32))
echo $me 5. $gettok($read(high.txt,5),1,32) $duration($gettok($read(high.txt,5),2,32))
}


dso