I solved it with this part "if (b isincs $chanmodes)", but thanx anyway smile i had the rest of the code, just that i got a error when i joined a channel and the +e or +I mode wasn't supported