First Thank you Horstl for the script
I would like to chang a thing or 2 about the script (well prob not change the script but mor like have a aliases) I tried but failed many times to do it.
Here is how I would like to change or have an aliases for I want to be able to right click on status(or anywhere) and click searchlogs a prompt will come up and i type name ie peter and it will automatically make the file name peter too so i don't need to type peter as the name and peter as the file name right now I type /logsearch peter peter I did ask for this cause i may need a different File name at some point but for now i just need the name i put in to be the file name.


I hope i explained it right


Thank you

Code:
alias logsearch {
  if (!$2) { echo -a Insufficient parameters. Syntax: /logsearch matchword filename(without .txt) }
  else {
    var %matchword = $1, %lognum = $findfile($logdir,*.*,0)
    echo -ga Looking up %lognum logfiles for $qt($1) ....
    window -h @logfilter
    window -h @logbuffer
    noop $findfile($logdir,*.*,0,logfilter $shortfn($1-) %matchword)
    window -c @logbuffer
    if ($line(@logfilter,1)) {
      if (!$isdir($qt($+($mircdir,logsearch)))) { mkdir $qt($+($mircdir,logsearch))) }
      filter -wfc @logfilter $qt($+($mircdir,logsearch\,$2,.txt))
      run $qt($+($mircdir,logsearch\,$2,.txt))
    }
    else { echo -ga Sorry, found no matches of $qt(%matchword) in your %lognum logfiles. }
    window -c @logfilter
  }
}

alias -l logfilter {
  filter -fwn $1 @logbuffer $+(*,$2 ,*)
  if ($filtered) {
    aline @logfilter $str(-,20) File $longfn($1) : $v1 $iif(($v1 == 1),match,matches) of $qt($2) $+ : $str(-,20)
    filter -ww @logbuffer @logfilter
    aline @logfilter $chr(9)
    clear @logbuffer
  }
}