on @*:JOIN:#yourchannel:{ if ($fulladdress isban $chan) { msg $chan WARNING $nick is banned but invited anyways! } }