í need something for snotice. snotice is:
XXXXXX.XXXXX.server- *** Notice -- Client connecting on port 6667: badguy (war@69.163.85.3).

can anyone help me with a code so that if there is anything before @, bot will kline the ip address or mask for example, 69.163.85.* for 150 sec?