egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

create except users -- channel ban error

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Thib
Voice


Joined: 11 Jan 2010
Posts: 9

PostPosted: Mon Jan 25, 2010 5:41 am    Post subject: create except users -- channel ban error Reply with quote

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:4Cool (Eva) [10:11] Lea`Services kicked from #eggs by Eva: test.
(10:12:4Cool (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
View user's profile Send private message
while
Voice


Joined: 11 Jul 2009
Posts: 34
Location: beat mort

PostPosted: Mon Jan 25, 2010 7:05 am    Post subject: Reply with quote

.chanset #eggs ban-time 2
where 2 is in minutes
if you want 2 hours it's .chanset #eggs ban-time 120
_________________
Smile
Back to top
View user's profile Send private message
Thib
Voice


Joined: 11 Jan 2010
Posts: 9

PostPosted: Mon Jan 25, 2010 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Mon Jan 25, 2010 9:37 pm    Post subject: Reply with quote

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
                }
Idea
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Thib
Voice


Joined: 11 Jan 2010
Posts: 9

PostPosted: Fri Jan 29, 2010 6:10 am    Post subject: Reply with quote

thanks Smile

I'm gonna post in the other topic, to request my script, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber