This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

create except users -- channel ban error

Help for those learning Tcl or writing their own scripts.
Post Reply
T
Thib
Voice
Posts: 9
Joined: Mon Jan 11, 2010 11:45 am

create except users -- channel ban error

Post by Thib »

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: Select all

(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 ..
(10:12:27) (Eva) [10:11] Lea`Services (Bot@Lea.Services) joined #eggs.
(10:12:48) (Eva) [10:11] Lea`Services kicked from #eggs by Eva: test.
(10:12:48) (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
w
while
Voice
Posts: 34
Joined: Sat Jul 11, 2009 9:05 am
Location: beat mort

Post by while »

.chanset #eggs ban-time 2
where 2 is in minutes
if you want 2 hours it's .chanset #eggs ban-time 120
:)
T
Thib
Voice
Posts: 9
Joined: Mon Jan 11, 2010 11:45 am

Post by Thib »

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
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

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: Select all

                } 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: Select all

                } else {
                  set banmask "*!*@[lindex [split $uhost @] 1]"
                  newchanban $salon $banmask Eva "test test" 120
                } 
:idea:
T
Thib
Voice
Posts: 9
Joined: Mon Jan 11, 2010 11:45 am

Post by Thib »

thanks :)

I'm gonna post in the other topic, to request my script, thanks.
Post Reply