botlending forum  

Go Back   botlending forum > Eggdrop & TCL > a&a light script

a&a light script a&a light script support, suggestions & discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 28-10-2006, 16:48   #1 (permalink)
Junior Member
 
Join Date: Oct 2006
Posts: 2
Rep Power: 0
DukeN is an unknown quantity at this point
Default anticolour

Need anticolour, not to ban, but only kick, where should i edit?
DukeN is offline   Reply With Quote
Old 28-10-2006, 17:11   #2 (permalink)
Junior Member
 
ReaL|DoG's Avatar
 
Join Date: Jul 2005
Location: Italy
Age: 21
Posts: 63
Rep Power: 0
ReaL|DoG is an unknown quantity at this point
Send a message via Yahoo to ReaL|DoG
Default

Quote:
Originally Posted by DukeN View Post
Need anticolour, not to ban, but only kick, where should i edit?
You want to kick a person only at anticolur, or to all anti* protections?
ie: antirepeat, antinotice, antipub, antiurl ..etc..


If you wanna set kick (and not Ban) for any anti*, then you must to edit a&a_light_core.tcl and go to the line ( 42 ). At this process you need to look for this line
Code:
newchanban $chan [a:maskhost -host $uhost] $username "channel $why protection enabled" [chanset -get $chan ban-time] sticky
and change that line with this line:
Code:
putkick $chan $nick "channel $why protection enabled"
At this point, on IRC type !rehash .. and that's all.
Atention, this change will work for all anti* commands. Not only for anticolour.
ReaL|DoG is offline   Reply With Quote
Old 29-10-2006, 16:54   #3 (permalink)
Junior Member
 
Join Date: Oct 2006
Posts: 2
Rep Power: 0
DukeN is an unknown quantity at this point
Default

dont want only kick for anti* just for anticolour
DukeN is offline   Reply With Quote
Old 30-10-2006, 10:24   #4 (permalink)
lsn
Member
 
lsn's Avatar
 
Join Date: Jun 2004
Location: In the NeXuS
Posts: 160
Rep Power: 37
lsn will become famous soon enough
Default

Code:
if {[string equal $why anticolour]} {putkick $chan $nick "channel $why protection enabled"} {newchanban $chan [a:maskhost -host $uhost] $username "channel $why protection enabled" [channel get $chan ban-time] sticky}
Use this one
__________________
RESTRICTED AREA
lsn is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +3. The time now is 16:16.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.