before the echo put if ($readini(nick.ini,nicks,$nick)) echo -a $v1 @ $chan $+ : $1- else echo -a $nick @ $chan $+ : $1-