| View previous topic :: View next topic |
| Author |
Message |
Merky Voice
Joined: 21 Jan 2007 Posts: 17
|
Posted: Sun Jan 14, 2018 4:08 pm Post subject: ban-time |
|
|
hi..
how to i set ban-time in tcl?
like /msg botnick bantime 10
and bot auto auban every 10 minute
tq for help me |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Mon Jan 15, 2018 2:14 am Post subject: |
|
|
hi,
to auto-ban what? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Merky Voice
Joined: 21 Jan 2007 Posts: 17
|
Posted: Mon Jan 15, 2018 5:39 am Post subject: |
|
|
ehh sorry
i mean auto unban.... |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Mon Jan 15, 2018 7:54 am Post subject: |
|
|
You will have to be more specific on what's the result you are looking for. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Merky Voice
Joined: 21 Jan 2007 Posts: 17
|
Posted: Tue Jan 16, 2018 12:08 am Post subject: |
|
|
ops ban in channel
| Quote: | | * Me sets mode: +b *!*timE@*.190.47.* |
and if set ban-time to 10 minute, bot unban this ban in 10 minute
if set 15 minute bot check if ban list 15 minute and unban
if set /msg botnick bantime 10
bot auto unban every 10 minute
if set /msg botnick bantime 15
bot auto unban every 15 minute
sorry for my speling |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Jan 16, 2018 2:27 am Post subject: |
|
|
There's this:
| Quote: |
# Set this setting to 1 if you want your bot to expire bans/exempts/invites set
# by other opped bots on the channel.
set force-expire 0
|
inside eggdrop.conf (or used to be in 1.6.21 last time I checked). I never used this and sounds like would do what you are looking for. Since the duration is set into the configuration this means you would need to make a piece of code to alter the time. Keep in mind this is a global setting, meaning it would lift bans from all channels it has channel operator status on.
Safest option would be a separate script with a channel based setting. I could help you with this but will take a bit cos I'm a bit busy with stuff at work.  _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Merky Voice
Joined: 21 Jan 2007 Posts: 17
|
Posted: Tue Jan 16, 2018 9:34 am Post subject: |
|
|
| ty for you help caesar |
|
| Back to top |
|
 |
|