Sir_Fz wrote:Read about [newban] and [newchanban] in Tcl-commands.doc (in your eggdrop's /doc directory). One is for global bans and the other is for channel-specific bans.
Ok...so here is are the commands.
newchanban <channel> <ban> <creator> <comment> [lifetime] [options]
Description: adds a ban to the ban list of a channel; creator is given
credit for the ban in the ban list. lifetime is specified in
minutes. If lifetime is not specified, ban-time (usually 60) is
used. Setting the lifetime to 0 makes it a permanent ban.
Options:
sticky: forces the ban to be always active on a channel, even
with dynamicbans on
none: no effect
Returns: nothing
Module: channels
newban <ban> <creator> <comment> [lifetime] [options]
Description: adds a ban to the global ban list (which takes effect on
all channels); creator is given credit for the ban in the ban list.
lifetime is specified in minutes. If lifetime is not specified,
global-ban-time (usually 60) is used. Setting the lifetime to 0 makes
it a permanent ban.
Options:
sticky: forces the ban to be always active on a channel, even
with dynamicbans on
none: no effect
Returns: nothing
Module: channels
--------------
iamdeath wrote:I don't know who wrote this tcl and when did he write it.. But I have modified this TCL and giving it you not under my name. The owner is different I simply modified it to be used on my purposes. Anyway it is a nice blacklisting TCL, you may change it on your way.
Thanks
iamdeath
interesting script....I`ll give it a try but ..
# How long (in minutes) do you want to ban offender(s)
# (default 2)
set lmrbt "2880"
newchanban $chan $banmask $nick $lmrrsn $lmrbt
It has a bantime in the command...and this means that after 48 hours that ban will expire...so not what I`m looking for ...
OK... so now let`s try to make the command work..