on me:JOIN:#: { command }

on *:JOIN:#: {
if ($nick == $me) { command }
}

Here you have two examples.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }