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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
-
Danik
- Halfop
- Posts: 49
- Joined: Sun Jun 15, 2008 12:59 pm
- Location: Moldova
-
Contact:
Post
by Danik »
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 ...
-
ztian299
- Halfop
- Posts: 59
- Joined: Sat Apr 19, 2008 4:57 pm
- Location: *.no
Post
by ztian299 »
-
Danik
- Halfop
- Posts: 49
- Joined: Sun Jun 15, 2008 12:59 pm
- Location: Moldova
-
Contact:
Post
by Danik »
this is not a blacklist script ... and it doesnt use X Undernet to ban users
-
Nor7on
- Op
- Posts: 185
- Joined: Sat Mar 03, 2007 8:05 am
- Location: Spain - Barcelona
-
Contact:
Post
by Nor7on »
-
Danik
- Halfop
- Posts: 49
- Joined: Sun Jun 15, 2008 12:59 pm
- Location: Moldova
-
Contact:
Post
by Danik »
Once again ... I need the eggdrop to use its access to X Undernet to ban users that are in the blacklist
-
Nor7on
- Op
- Posts: 185
- Joined: Sat Mar 03, 2007 8:05 am
- Location: Spain - Barcelona
-
Contact:
Post
by Nor7on »
-
Danik
- Halfop
- Posts: 49
- Joined: Sun Jun 15, 2008 12:59 pm
- Location: Moldova
-
Contact:
Post
by Danik »
I added the script to the eggdrop but I can't figure out how to insert bans in it
-
Nor7on
- Op
- Posts: 185
- Joined: Sat Mar 03, 2007 8:05 am
- Location: Spain - Barcelona
-
Contact:
Post
by Nor7on »
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.
-
Danik
- Halfop
- Posts: 49
- Joined: Sun Jun 15, 2008 12:59 pm
- Location: Moldova
-
Contact:
Post
by Danik »
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 ?
-
ztian299
- Halfop
- Posts: 59
- Joined: Sat Apr 19, 2008 4:57 pm
- Location: *.no
Post
by ztian299 »
Don't think so, if so.. the bot need to have access to add bans in X
-
Danik
- Halfop
- Posts: 49
- Joined: Sun Jun 15, 2008 12:59 pm
- Location: Moldova
-
Contact:
Post
by Danik »
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
-
Nor7on
- Op
- Posts: 185
- Joined: Sat Mar 03, 2007 8:05 am
- Location: Spain - Barcelona
-
Contact:
Post
by Nor7on »
Paste the code.
-
Danik
- Halfop
- Posts: 49
- Joined: Sun Jun 15, 2008 12:59 pm
- Location: Moldova
-
Contact:
Post
by Danik »
Code: Select all
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 ?
-
Nor7on
- Op
- Posts: 185
- Joined: Sat Mar 03, 2007 8:05 am
- Location: Spain - Barcelona
-
Contact:
Post
by Nor7on »
-
Danik
- Halfop
- Posts: 49
- Joined: Sun Jun 15, 2008 12:59 pm
- Location: Moldova
-
Contact:
Post
by Danik »
I couldn't find the script I need on this link
I need (ban & unban public command script))