Add an $iif and check for $findfilen, like :
Quote:
var %nig = %nig <a href=" $+ gallery/ $+ $nopath($1-) $+ "><img src=" $+ gallery/ $+ $nopath($1-) $+ " width="50" height="50"></a> $+ $iif($findfilen // 5,<br>)


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