on *:join:#: { notice $nick welcome to $chan! }
that is the auto greet. it notices a user who joins any chan ur in.