on *:TEXT:!dupe *:#: {
if ($2 == $null) {
msg $chan 10-> SEARCHING FOR SOMETHING WOULD HELP! 10<-
halt
}
else {
set %x 1
set %y 0
while (%x <= 5) {
set %var001 $read(db.txt, w, * $+ $replace($strip($2),$chr(32),*) $+ *,%y)
set %y $calc($readn+1)
inc %x
if ($gettok(%var001,1,92) == $null) {
msg $chan 10-> NOTHING More 10<-
}
else {
msg $chan 10-> $gettok(%var001,1,92) 10|07 $+ $gettok(%var001,2,32) $+ 10|07 $+ $replace($duration($calc($ctime - $gettok(%foundline,2,92))),days,d,day,d,hrs,h,mins,m,secs,s,wks,w) $+ 10|07 $+ $asctime($gettok(%var001,2,92),ddmm-yyyy $+ ) $+ 10|
}
}