use :

Code:
on *:dialog:notes:sclick:*:{ 
  if ($did == 3) { 
    if ($did($did).sel == 0) { return }
    else { 
noop $findfile($mircdirnotes,*.txt,$did(3).sel,loadbuf -ro $dname 4 $qt($1-))
    }
  }
}
/loadbuf -ro $dname 4 $findfile($mircdirnotes,*.txt,$did(3).sel) instead of the /noop will work too

Last edited by Wims; 12/07/09 04:05 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel