Delete the red part, # has no meaning in a private notice, there is no channel. You could replace # with #Battle, but it's already tested on earlier.
if (%rob [ $+ [ $nick ] ] != on)
&& ($2 ison #) && (%account [ $+ [ $2 ] ] == on) {
I'm not sure what you mean about multiple else's, so here's an answer to what I think you mean.
An //if can have only one else part, that is correct
BUT in the else part you can have another //if and another else, so
If (test1) echo test1
else if (test2) echo test2
else if (test3) echo test3
else echo no test succeeded
can be written (and is parsed by mIRC as)
if (test1) echo test1
else {
if (test2) echo test2
else {
if (test3) echo test2
else {
echo no test succeeded
}
}
}
} The first notation is ofcourse best, since the indentation doesn't keep growing...