proxycheck performs RBL lookups on people joining your channel and bans people who are listed. Per-channel toggle, configurable ban duration, configurable RBL usage.
Configuration instructions are contained in the script.