did you used the /loadbuf or the /noop ? in the /loadbuf, I've missed a $qt(), looks like it's the problem here, updated code :


Code:

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-))
    ;or you can use this : loadbuf -ro $dname 4 $qt($findfile($mircdirnotes,*.txt,$did(3).sel)) 
    }
  }
}


Edit : maybe you are on a version prior to mirc 6.17 and you don't have the $qt, either use $shortfn or make a basic $qt alias like this
Code:
alias qt return $+(",$1-,")


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

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