| View previous topic :: View next topic |
| Author |
Message |
Thib Voice
Joined: 11 Jan 2010 Posts: 9
|
Posted: Mon Jan 25, 2010 5:41 am Post subject: create except users -- channel ban error |
|
|
Hey,
I have two problems.
I've been helped to make a script right here :
http://forum.egghelp.org/viewtopic.php?t=17508
It's working fine. Now, is it possible to include a script, in order to excepts specified hosts from the bot's script ? (for example, other eggdrops joining the channel cannot confirm..)
I've an other problem i dont understand. Eva is configured to remove the ban after 2 minutes.
| Code: |
(10:08:04) <ZaideCay> .chanset #eggs ban-time 2
(10:08:04) (Eva) Successfully set modes { ban-time { 2 } } on #eggs.
(10:08:05) (Eva) [10:06] #ZeroCool# chanset #eggs ban-time { 2 }
|
and ..
| Quote: |
(10:12:27) (Eva) [10:11] Lea`Services (Bot@Lea.Services) joined #eggs.
(10:12:4 (Eva) [10:11] Lea`Services kicked from #eggs by Eva: test.
(10:12:4 (Eva) [10:11] #eggs: mode change '+b *!Bot@Lea.Services' by Eva!Eva@hide-5C319B05.hiwit.net
(10:14:25) (Eva) [10:13] Annulation du ban Bot!*@Lea.Services sur #eggs (a expiré)
|
.. wat ? o_O |
|
| Back to top |
|
 |
while Voice
Joined: 11 Jul 2009 Posts: 34 Location: beat mort
|
Posted: Mon Jan 25, 2010 7:05 am Post subject: |
|
|
.chanset #eggs ban-time 2
where 2 is in minutes
if you want 2 hours it's .chanset #eggs ban-time 120 _________________
 |
|
| Back to top |
|
 |
Thib Voice
Joined: 11 Jan 2010 Posts: 9
|
Posted: Mon Jan 25, 2010 8:10 am Post subject: |
|
|
yep okay but the problem is not here,
[10:11] #eggs: mode change '+b *!Bot@Lea.Services'
[10:13] Annulation du ban Bot!*@Lea.Services sur #eggs (a expiré)
the banmask is not the same |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Mon Jan 25, 2010 9:37 pm Post subject: |
|
|
The setting you are posting about, has no impact on the ban mask eggdrop uses.
The script you are using is causing this ban mask, you should look at your code more. | Code: | } else {
newchanban $salon $uhost Eva "test test" 120
} | $uhost is always user@host in this case, Bot@Lea.Services. If you want it to be *!*@Lea.Services Use the following: | Code: | } else {
set banmask "*!*@[lindex [split $uhost @] 1]"
newchanban $salon $banmask Eva "test test" 120
} |  _________________ TCL the misunderstood |
|
| Back to top |
|
 |
Thib Voice
Joined: 11 Jan 2010 Posts: 9
|
Posted: Fri Jan 29, 2010 6:10 am Post subject: |
|
|
thanks
I'm gonna post in the other topic, to request my script, thanks. |
|
| Back to top |
|
 |
|