Yes, I usually always try for simple things, sometimes I succeed and sometimes I don't, actually I realized that I'm not good at it, but that's okay.

In any case your change works, but I noticed that there is another line of code, always about the ban, that also needs to be fixed. I would have written it in the first post if I had noticed it before.


alias BNicks {
var %cNicks = 1
while (%cNicks <= $lines(badnicks.txt)) {
if ($read(badnicks.txt,%cNicks) isin $1) || ($read(badnicks.txt,%cNicks) iswm $1) {
var %cExceptions = 1
while (%cExceptions <= $lines(badnicksexc.txt)) {
if ($read(badnicksexc.txt,%cExceptions) isin $1) || ($read(badnicksexc.txt,%cExceptions) iswm $1) {
halt
}
inc %cExceptions
}
ban $2 $1 $+ !*@*
halt
}
inc %cNicks
}
}


If you could fix this -> ban $2 $1 $+ !*@*

To get this out too: *nick1*!*@*

I noticed that I could still "catch" any nick in the ban since I can wildcard nicks in the .txt file, but I think it's technically correct, and better, to output it like this: *nick1*!*@* instead of leaving it as it currently is: nick1*!*@* right?