? my ($app, $msg) = @_;
  • {timestamp} ?>
    ? if ($msg->{event} eq "topic") { Topic changed to "{body} ?>" ? if ($msg->{nick}) { by {nick} ?> ? } ? } elsif ($msg->{event} eq "invite") { {nick} ?> has invited you to join {body} ?> ? } elsif ($msg->{event} eq "joined" or $msg->{event} eq "left") { {nick} ?> {event} ?> the chat room. ? if ($msg->{body}) { ({body} ?>) ? } ? } elsif ($msg->{event} eq "nick") { {nick} ?> is now known as {body} ?>. ? } elsif ($msg->{event} eq "disconnect") { You have been disconnected {body}) { ?> ({body} ?>) ? }