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 

Blacklist Script
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Tue Jun 17, 2008 2:07 pm    Post subject: Blacklist Script Reply with quote

Does anybody know a blacklist script in witch the eggdrop use X Undernet to ban users witch are blacklisted?

I searched the forum and tcl archive ... but with no results ...
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
ztian299
Halfop


Joined: 19 Apr 2008
Posts: 59
Location: *.no

PostPosted: Tue Jun 17, 2008 3:49 pm    Post subject: Reply with quote

try Allprotection:

http://forum.egghelp.org/viewtopic.php?t=9721
Back to top
View user's profile Send private message
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Tue Jun 17, 2008 3:52 pm    Post subject: Reply with quote

ztian299 wrote:
try Allprotection:

http://forum.egghelp.org/viewtopic.php?t=9721


this is not a blacklist script ... and it doesnt use X Undernet to ban users
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Tue Jun 17, 2008 4:02 pm    Post subject: Reply with quote

http://forum.egghelp.org/viewtopic.php?t=13664&highlight=blacklist

and add the line that ur need.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Tue Jun 17, 2008 4:07 pm    Post subject: Reply with quote

Nor7on wrote:
http://forum.egghelp.org/viewtopic.php?t=13664&highlight=blacklist

and add the line that ur need.


Once again ... I need the eggdrop to use its access to X Undernet to ban users that are in the blacklist
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Tue Jun 17, 2008 4:35 pm    Post subject: Reply with quote

http://forum.egghelp.org/viewtopic.php?t=12577&highlight=autoban
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Tue Jun 17, 2008 5:17 pm    Post subject: Reply with quote

Nor7on wrote:
http://forum.egghelp.org/viewtopic.php?t=12577&highlight=autoban


I added the script to the eggdrop but I can't figure out how to insert bans in it
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Tue Jun 17, 2008 6:24 pm    Post subject: Reply with quote

use lol.tcl

!ban *!*@host.domain time reason - !banmask *!*@host.domain time reason

0 = perm

when un user join and have ban, ur eggdrop put ban via X.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Wed Jun 18, 2008 2:29 am    Post subject: Reply with quote

Nor7on wrote:
use lol.tcl

!ban *!*@host.domain time reason - !banmask *!*@host.domain time reason

0 = perm

when un user join and have ban, ur eggdrop put ban via X.


Does this work even if the eggdrop doesn't have op (@) on the chan ?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
ztian299
Halfop


Joined: 19 Apr 2008
Posts: 59
Location: *.no

PostPosted: Wed Jun 18, 2008 8:34 am    Post subject: Reply with quote

Don't think so, if so.. the bot need to have access to add bans in X
Back to top
View user's profile Send private message
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Wed Jun 18, 2008 9:02 am    Post subject: Reply with quote

ztian299 wrote:
Don't think so, if so.. the bot need to have access to add bans in X



the egg has access to X Undernet but it doesn't have OP (@)

NOOP flag is active on the channel
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Wed Jun 18, 2008 9:51 am    Post subject: Reply with quote

Paste the code.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Fri Jun 27, 2008 4:10 pm    Post subject: Reply with quote

Code:
bind KICK - * CService:kick:by:X:revenge

proc CService:kick:by:X:revenge { nick host hand chan target reason } {
  global botnick
  if {$hand == "X" && ([isbotnick $target] || [matchattr [nick2hand $target $chan] mo|mo $chan])} {
   set temp1 [lindex [split [lindex [split $reason] 0] "("] 1]
   set username [lindex [split [lindex [split $temp1] 0] ")"] 0]
   putserv "PRIVMSG X :SUSPEND $chan $username 5 D"
   putserv "PRIVMSG X :UNBAN $chan $botnick"
   puthelp "PRIVMSG X :INVITE $chan"
  }
}


the blacklist witch use X undernet to ban works now perfectly Smile
But does anybody know a public command, to add and remove bans from this list ?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Fri Jun 27, 2008 4:56 pm    Post subject: Reply with quote

http://forum.egghelp.org/viewtopic.php?t=15076&highlight=unban

U should search in the forum before send a post.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Danik
Halfop


Joined: 15 Jun 2008
Posts: 49
Location: Moldova

PostPosted: Fri Jun 27, 2008 5:06 pm    Post subject: Reply with quote

I couldn't find the script I need on this link
I need (ban & unban public command script))
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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