WorldDMT commented on a Page, LogSearch  -  Nov 09, 2010

u can use $nopath into your init

on *:dialog:log_search:*:*:{
  if $devent == init {
    var %x 0
    while $findfile($logdir,*.log,%x) {
      inc %x
      did -a $dname 10 $nopath($findfile($logdir,*.log,%x))
    }
    did -c $dname 8
  }

u can remove if ($did == 6) dialog -x $dname and add "OK" in the parameter of button

button "Close", 6, 290 180 45 12, ok

$did($dname,N).text can be $did(N)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.