(@Hawk-): .k musk bye
(@Hawk-): .nb musk
-USARMY- .nb <nick> <reason>
(@Hawk-): .nb musk bad
*** X sets mode: +b musk!*@*
*** [#islamabad] Banned- musk
*** musk was kicked by X ((LilleHopp) Feb 19:Bad nick, change it and rejoin)
The kick command is not working perhaps the bind for .k is missing that's why, Also I'd like to say that .nb nick (doesn't require a reason) if an op uses .nb nick syntax the nick should be automatically banned with the default reason Bad nick, change it and rejoin.
The
.b command is also not working.
((USARMY): [19:50] Tcl error [myx:ban]: wrong # args: should be "maskhost nick!user@host"
gives this error. Could you please analyze thanks.
Also I'd like to have it, that the .o (the bot doesn't use X to op a certain person, but ops it itself).
((USARMY): [09:58] Tcl error [myx:ban]: wrong # args: should be "maskhost nick!user@host"
pushmode"$chan -o $nick
also gives that .o error somewhere in that syntax
Gives this error, for .b command, otherwise it's working fine.
And could you also tell me what should I write with $reason so that the bot also displays the handle of the op who uses the .k and .b commands. in the kick/ban messages
It's weird as from what I read in tcl-commands.doc the 'getchanhost' returns user@host thus the need to add "nick!" and "maskhost" that expects a "nick!user@host" and a masktype (integer), that if is not specified will be by default 2.
As for adding the user handle in the reason, use '$hand' before $reason or after it, like "$hand $reason" or "$reason $hand".
Once the game is over, the king and the pawn go back in the same box.
Great work there, caesar, Really appreciate your help, I'd suggest you to add a few commands, and upload it as a TCL on egghelp. It's really needed by many users on IRC.