Perhaps wildmatching then?
if (upp* iswm $1-) {
or
if (upp* isin $1-) {
or
if (*upp* iswm $1-) {
And otherwise I wouldn't know... :tongue:
EDIT:
Or Adding the halt command at the end of the if statement.
if (upp isin $1-) { cs deop # $nick | cs ban # $nick You should have thought twice | cs unban # | .timer 1 1 join # | halt }
else { .timer -h 1 0 .cs op # $me | halt }
}
}