- Home»
- Cod sursa: Channel Administration Script Part2
Channel Administration Script Part2
Channel Administration Script Part2
Base for TCL CASP.tcl - The channel(s) your bot will monitor (eg "#lamers #mychan #LokiRules #antilame)
| Postat de | Copyright | Categorie | Review user | Vizualizari | Data |
|---|---|---|---|---|---|
| ircfan | Loki | chanops | Cod testat | 240 | 2026-02-28 00:48:59 |
# Complete Channel Administration Script (Written by Loki` #FTP4Warez)
#--------------------------------------------------------------------------------------
# BEGIN CONFIGURATION * BEGIN CONFIGURATION * BEGIN CONFIGURATION * BEGIN CONFIGURATION
#--------------------------------------------------------------------------------------
# ************ Be sure to edit EVERYTHING ***********
# ************ Be sure to edit EVERYTHING ***********
# Edit for each bot (if you run these on multiple bots)
# I recommend running Netbots and the Netbots Edition of this script for multiple bots
#---------------------------------------------------------------------------------------
# The channel(s) your bot will monitor (eg "#lamers #mychan #LokiRules #antilame"
set approved_chans "#Lamer #FTP4Warez #TCL #Egghelp"
# The channel(s) your bot will monitor for onjoins
set spamcheck_chans "#Lamer"
# The channel that auto-perm ban announcements will be made in
set pbannounce "#ftp4warezopchat"
# If you know the numbers of diffr colors, put them here (for messages and stuff)
set color1loki 5
set color2loki 4
#---------------------------------------------------------------------------------------
# REQUIRED!! DO NOT REMOVE THIS LINE!!
source scripts/ccasbase.tcl
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
# Enable OP Channel Triggers (!kb, !perm, !addserv, !adduser...)
# Set the channels that advanced op triggers are NOT allowed in (!addop, !chattr, !deluser,..)
set noadvtriggers "#Lamer #FTP4Warez"
# '#' The following line if you don't want to run this option
source scripts/optriggers.tcl
#---------------------------------------------------------------------------------------
# Auto-Kicking of people using annoying script ads in the channel
# Set the amount of warnings here (0 - 10) (0 for instant perm ban)
set adwarnings 2
# Set number of minutes for warning bans (1 - 99999999) (0 for kick only)
set adbantime 2
# No spaces are allowed in the triggers!!!
set annoytriggers {
po?aris?irc
jpolaris
is*away*duration
—*i*-*n*-*v*-*i*-*s*-*i*-*o*-*n*—
polaris??e
polaris?2k
\003*\003*\003
\0032*\003
\0033*\003
\0034*\003
\0035*\003
\0036*\003
\0037*\003
\0038*\003
\0039*\003
\00310*\003
\00311*\003
\00312*\003
\002*\002*\002*\002
}
set publicscriptadmsg "Hint: Colors are NOT cool, Nor are script ads"
# No spaces are allowed in the triggers!!!
set annoyactiontriggers {
\003*\003*\003*\003
\0032*\003
\0033*\003
\0036*\003
\0037*\003
\0038*\003
\0039*\003
\00310*\003
\00311*\003
\00312*\003
}
set ctcpscriptadmsg "Hint: Colors are NOT cool, Nor are script ads"
# '#' The following line if you don't want to run this option
source scripts/noscriptads.tcl
#---------------------------------------------------------------------------------------
# Auto-Kicking of people using ! or @ triggers
set triggerkickmsg "No !/@ triggers here! '/CTCP M0r0n Rules' for Rules"
# Set the amount of warnings here (0 - 10) (0 for instant perm ban)
set triggerwarnings 3
# Set number of minutes for warning bans (1 - 99999999) (0 for kick only)
set triggerbantime 0
set triggertriggers {
!find
@find
!list
@list
@ftp
!search
@search
@@
!locate
@locate
\\?locate
\\?rules
!rules
@rules
}
# '#' The following line if you don't want to run this option
source scripts/notriggers.tcl
#---------------------------------------------------------------------------------------
# Auto-Kicking of people using excessive !!!!!!!!!!!'s and/or ??????????'s
# Set the amount of warnings here (0 - 10) (0 for instant perm ban)
set annoywarnings 3
# Set number of minutes for warning bans (1 - 99999999) (0 for kick only)
set annoybantime 0
# '#' The following line if you don't want to run this option
source scripts/noannoy.tcl
#---------------------------------------------------------------------------------------
# Auto-Kicking for Begging with 30 seconds on Joining
set sendbeggermsg "Check the sites first! THEN \(if you can't find it\) ask"
# Set the amount of warnings here (0 - 10) (0 for instant perm ban)
set begwarnings 2
# Set number of minutes for warning bans (1 - 99999999) (0 for kick only)
set begbantime 0
# No spaces are allowed in the triggers!!!
set begtriggers {
anyone?have
looking?for
who?has
where?can?i?find
where?can?i?get
anyone?got
anybody?got
if?you?can?help
ne1?have
ne1?got
any1?have
who?has
help?me?find
any1?got
i?need
need?to?find
msg?me
where?can?i
}
# '#' The following line if you don't want to run this option
source scripts/nobeg.tcl
#---------------------------------------------------------------------------------------
# Auto-Banning for 'Revolving Door' (Join/Part with 5 seconds)
set jpmsg "Revolving Door - If ur gunna join, join!"
# Set the amount of warnings here (0 - 10) (0 for instant perm ban)
set jpwarnings 4
# Set number of minutes for warning bans (1 - 99999999) (0 for kick only)
set jpbantime 2
# Set exempt channels here (bans will not be placed)
set nojpchannels "#Lamer #TCL"
# '#' The following line if you don't want to run this option
source scripts/nojoinpart.tcl
#---------------------------------------------------------------------------------------
# Auto-Banning XDCC/TDCC Bots
set xdccbanmsg "Should have read the rules! GO AWAY!!"
# Set the amount of warnings here (0 - 10) (0 for instant perm ban)
set xdccwarnings 2
# Set number of minutes for warning bans (1 - 99999999) (0 for kick only)
set xdccbantime 60
# No spaces are allowed in the triggers!!!
set xdcctriggers {
xdcc?send
dcc?server*trigger
dcc?server*ctcp
file?server?online
file?server*no?ratio
\(ftp?online\)
ftp*no?ratio
server*online*trigger
xxx*trigger
tdcc
fserve*online
fserve*ctcp
fserve*xdcc
join*xxx
napster?running?on*servers
file?server*allowed*note
file?server*address*note
file?server*trigger
}
# '#' The following line if you don't want to run this option
source scripts/noxdcc.tcl
#---------------------------------------------------------------------------------------
# Monitoring and Auto-Banning Onjoins/Onparts (same as noSPAM, but with onjoin support)
# No spaces are allowed in the triggers!!!
set invitekickmsg "Take your invite shit and GO AWAY!!"
# Set the amount of warnings here (0 - 10) (0 for instant perm ban)
set spamwarnings 0
# Set number of minutes for warning bans (1 - 99999999) (0 for kick only)
set spambantime 1
set spamtriggers {
guest
xxx
porn
www.
.com
.net
.org
.cc
i*n*v*i*t*e
h*t*t*p
h*t*t*p*w*w*w
ftp
free
join
}
# '#' The following line if you don't want to run this option
source scripts/noonjoin.tcl
#---------------------------------------------------------------------------------------
# Monitoring and Auto-Banning of Mass DCC's (virus spreading)
# '#' The following line if you don't want to run this option
source scripts/novirii.tcl
#---------------------------------------------------------------------------------------
# Monitoring for SPAM and Mass MSG'ing and Auto-Banning (triggers are same as noonjoin)
# '#' The following line if you don't want to run this option
source scripts/nospam.tcl
#---------------------------------------------------------------------------------------
# Auto-Banning of SPAM-type recruiters
set recruitkickmsg "Recruiters are Not allowed here! GO AWAY!!"
# Set the amount of warnings here (0 - 10) (0 for instant perm ban)
set recruitwarnings 0
# Set number of minutes for warning bans (1 - 99999999) (0 for kick only)
set recruitbantime 1
# No spaces are allowed in the triggers!!!
set recruittriggers {
T3*upload*divx
T3*upload*vcd
cable*upload*vcd
looking*for*connection
http*xxx
http*fuck
http*porn
http*sex
http*cheap
http*check
http*free
www.*cheap
www.*check
www.*free
www.*xxx
www.*fuck
www.*porn
www.*sex
looking*for*T3*contact
looking*for*cable*contact
looking*for*join
looking*for*cable*me
looking*for*cable*want
}
# '#' The following line if you don't want to run this option
source scripts/norecruit.tcl
#---------------------------------------------------------------------------------------
# Auto-Sending of customizable text on a timer (repeating) (message 1) (0 for disable)
# (Delay is in minutes)
set timedmsg1active 1 ;# (0 for disabled)
set timed_msg1 "I am lame for not being setup correctly by my owner!!"
set timer_chan1 "#Lamer"
set timedmsgdelay1 "11"
# Auto-Sending of customizable text on a timer (repeating) (message 2) (0 for disable)
# (Delay is in minutes)
set timedmsg2active 1 ;# (0 for disabled)
set timed_msg2 "I am lame for not being setup correctly by my owner!!"
set timer_chan2 "#Lamer"
set timedmsgdelay2 "8"
# '#' The following line if you don't want to run this option
source scripts/timedmsg.tcl
#---------------------------------------------------------------------------------------
# Auto-Sending of customizable advertisement on a timer (repeating) (REMMED out by default to stop annoyances)
# (Delay is in minutes)
# Delay in minutes for advertising message to be displayed in the channels
set timed_advdelay 2
# Set the message here
set timed_adv "My owner is running Complete Channel Admin Script (CCAS) v1.15 by Loki of #FTP4Warez Download me for your channel @ ftp://ftp.eggheads.org/pub/eggdrop/scripts/1.6/complete_channel_admin1.15.zip"
# Set channels the bot will NOT advertise in
set noadchannels "#FTP4Warez #Egghelp"
# Set the topic to be placed in the advertising channels (assuming the bot gets ops there)
set adv_topic "CCAS - Get it @ ftp://ftp.eggheads.org/pub/eggdrop/scripts/1.6/complete_channel_admin1.15.zip"
# UnREM this line to activate.. BE SURE to set this up correctly, or you will be VERY annoyed
#source scripts/timedadv.tcl
#---------------------------------------------------------------------------------------
# Auto-Sending of RULES (or whatever) on a trigger
# Auto-Sending of channel rules upon CTCP request (0 for disable)
set autosendrules 1
#the trigger below MUST BE CAPS TO WORK
set rulestrigger "RULES"
# Auto-Sending of customizable text upon CTCP request (0 for disable)
set autosendmisctext 1
#the trigger below MUST BE CAPS TO WORK
set misctexttrigger "SERVING"
# '#' The following line if you don't want to run this option
source scripts/rulesend.tcl
#---------------------------------------------------------------------------------------
IRC Snippets