| View previous topic :: View next topic |
| Author |
Message |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Tue Jun 17, 2008 2:07 pm Post subject: Blacklist Script |
|
|
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 |
|
 |
ztian299 Halfop
Joined: 19 Apr 2008 Posts: 59 Location: *.no
|
|
| Back to top |
|
 |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Tue Jun 17, 2008 3:52 pm Post subject: |
|
|
this is not a blacklist script ... and it doesnt use X Undernet to ban users |
|
| Back to top |
|
 |
Nor7on Op

Joined: 03 Mar 2007 Posts: 185 Location: Spain - Barcelona
|
|
| Back to top |
|
 |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Tue Jun 17, 2008 4:07 pm Post subject: |
|
|
| 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 |
|
 |
Nor7on Op

Joined: 03 Mar 2007 Posts: 185 Location: Spain - Barcelona
|
|
| Back to top |
|
 |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Tue Jun 17, 2008 5:17 pm Post subject: |
|
|
| 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 |
|
 |
Nor7on Op

Joined: 03 Mar 2007 Posts: 185 Location: Spain - Barcelona
|
Posted: Tue Jun 17, 2008 6:24 pm Post subject: |
|
|
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 |
|
 |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Wed Jun 18, 2008 2:29 am Post subject: |
|
|
| 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 |
|
 |
ztian299 Halfop
Joined: 19 Apr 2008 Posts: 59 Location: *.no
|
Posted: Wed Jun 18, 2008 8:34 am Post subject: |
|
|
| Don't think so, if so.. the bot need to have access to add bans in X |
|
| Back to top |
|
 |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Wed Jun 18, 2008 9:02 am Post subject: |
|
|
| 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 |
|
 |
Nor7on Op

Joined: 03 Mar 2007 Posts: 185 Location: Spain - Barcelona
|
Posted: Wed Jun 18, 2008 9:51 am Post subject: |
|
|
| Paste the code. |
|
| Back to top |
|
 |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Fri Jun 27, 2008 4:10 pm Post subject: |
|
|
| 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
But does anybody know a public command, to add and remove bans from this list ? |
|
| Back to top |
|
 |
Nor7on Op

Joined: 03 Mar 2007 Posts: 185 Location: Spain - Barcelona
|
|
| Back to top |
|
 |
Danik Halfop
Joined: 15 Jun 2008 Posts: 49 Location: Moldova
|
Posted: Fri Jun 27, 2008 5:06 pm Post subject: |
|
|
I couldn't find the script I need on this link
I need (ban & unban public command script)) |
|
| Back to top |
|
 |
|