U can use it for yourself or for bot. It is a very, very simple script which u can use it:
on *:Join:#channel:{ msg #yourchannel $nick ( $+ $address $+ ) has joined $chan }