I tried this /msg BOTName ban add #chan USER 2n just a reason
But the duration wont work and i dont get it, from the syntax, what i have to enter, to ban a user just for this certain period? Thanks for some help.
Followed is the syntax help from the script wich can be found @ http://www.xs4all.nl/~wiebeson/newtcl/ban.tcl
Code: Select all
proc ban:help { t } {
set c [string tolower [lindex [split $t] 1]]
if {$c == "add"} {
lappend o "ban: ban \[<chan>\] add <mask> \[\[<mask> .. <mask>\] \[%<duration> :\]\]\[@\]<reason>"
lappend o "ban: adds bans to the ban list, multiple masks can be specified. use #<account> for mask to ban *!*@<account>.users.quakenet.org. if mask is a nick and on a channel with the bot, the user is banned on *!user@host or *!*@host, else nick!*@* is banned. prefix mask with @ to make the ban hidden, targets are banned on *!*@host (example @*!*baduser@*.isp.tld). for quick removal of users, use the 'out' or 'chanout' command."
lappend o "ban: the ':' prefixing the reason is required when using multiple masks or duration. duration supports the following: s=second, n=minute, h=hour, d=day, w=week, m=month, y=year, example %1d2h. default is 4 hours, use %0 for perm bans. only +m or higher can set perm bans and bans longer than 4 weeks."
lappend o "ban: the reason can be a custom reason, one predefined from the rule command or a term from the term database (use ?? \[<chan>\] <term>). prefix the reason with a '@' to hide it, targets get kicked with 'You are banned'."