Sorry, I did not remember the /clear command. Easy after all - holding me up for hours wink. This is the working code:
Code:
[color:red]  clear %qam_nick
  echo $color(info2) -t %qam_nick * %qam_nick is on %qam_chan_tok_new
  echo %qam_nick $asctime( $timestampfmt ) $+( <, %qam_nick, > ) %qam_msg[/color]