on @*:text:*op me*:#:{ set %chan $chan .enable #bot.check .whois $nick } #bot.check off raw 311:*:{ if $4 == whatever.users.undernet.org { .mode %chan +o $nick } halt } raw 318:*:{ .disable #bot.check haltdef } #bot.check end