If the command with arguments passed to the alias looks like this "/BNicks nick #channel", then inside the code the first parameter $1 = nick, and the second $2 = #channel.


In that case, try replacing ban $2 $1 $+ !*@* to mode $2 +b $+(*,$1,*!*@*)


🌐 https://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples