To get the banlist on join you can use this code:
Code:
on *:JOIN:#: { if ($nick == $me) { mode $chan +b } }