I have a script like this:
on *:TEXT:*:#Mychan: {
if (*atext* iswm $1-) { msg $chan text No 1 }
elseif (*btext* iswm $1-) { msg $chan text No 2 }
elseif (*ctext* iswm $1-) { msg $chan text No 3 }
elseif (*dtext* iswm $1-) { msg $chan text No 4 }
...
...
...
elseif (*ztext* iswm $1-) { msg $chan text No 99 }
}
Thus, have limit to the number of "elseif" allowed to use?
Although it still works, but I think the syntax is not correct.
Please help me to present a more accurate script.
Thank you.