Comandos de Orbita (BOT)
Thursday, January 27, 2011 8:38:25 PM

Espacio dedicado a mis Bots
Orbita es un eggdrop que se ejecuta en una shell, su funcion es la proteccion de Canales de IRC y Operadores
Lo Nuevo:
20 / 02 / 2011
Visualizacion de titulos de paginas web
se activa con !chanset +links, se desactiva con !chanset -links
mejora de visualizacion de videos youtube
16 / 02 / 2011
Mejora del comando !chanset. Ahora con este comando se pueden editar "Flags" por ejemplo !chanset +voiceall (el bot dara voz a todos cuando ingresen al canal)
11 / 02 / 2011
Proteccion de Kick / BanKick / ShitList a Masters OPs
Reconocimiento de Operadores por cambios de IP / Ident
Comandos para Operadores de Canales sin ser Operadores del BOT
- OP / DeOP / Voice / DeVoice / Kick / KB /
27 / 01 / 2011
NoobSaiBOT: una mejora de iBot, se mantiene activo en Forma "silenciosa" y trabaja en equipo con Orbita, abandonara el modo silencioso cuando el Bot principal se ausente.
Youtube: al compartir un video en el canal Orbita brinda el titulo
ShitList: una simple mejora que banea la ip y almacena en el shitlist el nick
!kb: mejorado el kickban, banea IP y nick
All Protection: actualizado el script de proteccion, permite una configuracion mas detallada del comportamiento del bot
Nota: es importante que al realizar cambios en el canal (!chanset, !addop, !shit - !deshit) esten ambos bots para que ambos tomen la configuracion y se comporten de igual forma, en caso de que solo este presente uno, repetir el comando cuando el otro se presente en el canal lo antes posible.
a continuacion un listado completo de sus comandos
************************************************* ---------- Comandos del BOT ---------------- *************************************************
!say <texto>
muestra un texto en el canal
Nivel Requerido: usuario del Canal
!google <informacion>
busca informacion en el buscador y muestra el resultado
Nivel Requerido: Usuario de Canal
!kick <usuario> <motivo>
patea a un usuario
Nivel Requerido: Operador de Canal
!kb <usuario> <motivo>
patea y banea a un usuario
Nivel Requerido: Operador de Canal
!op <usuario>
da OP a un usuario
Nivel Requerido: Operador de Canal
!deop <operador>
quita OP a un operador
Nivel Requerido: Operador de Canal
!voice <usuario>
da voz a un usuario
Nivel Requerido: Operador de Canal
!devoice <usuario>
quita voz a un usuario
Nivel Requerido: Operador de Canal
!mvoice
da voz a todos
Nivel Requerido: Operador de Canal
!invite <usuario>
invita a la sala a un usuario
Nivel Requerido: Operador de Canal
!fvoice <usuario>
da y quita voz a un usuario
Nivel Requerido: Operador de Canal
!fop <usuario>
da y quita op a un usuario
Nivel Requerido: Operador de Canal
!voice
te da voz
Nivel Requerido: Operador de Canal / BOT
!topic <titulo>
pone un titulo en el canal
Nivel Requerido: Operador de Bot
!mode <modo>
cambia el modo del canal (ejemplo !mode +N)
Nivel Requerido: Operador de Bot
!unban <mascara>
Quita un ban (ejemplo: !unban nick!*@*)
Nivel Requerido: Operador de Bot
!op
te da OP
Nivel Requerido: Operador de BOT
!mop
da Op a todos
Nivel Requerido: Operador de BOT
!shit <usuario>
aplica autobankick a un usuario
Nivel Requerido: Operador de BOT
!deshit <usuario>
remueve un usuario del listado de autobankick
Nivel Requerido: Operador de BOT
!addop <usuario>
agrega a un usuario como operador del canal y del bot
nota: el operador tendra acceso a las funciones y protecciones del bot, tenga o no Access
utilice esta funcion con cuidado
Nivel Requerido: MasterOP del Canal
!chanset +/-<Flag>
Activa (+Flag) o Desactiva (-Flag) una Opcion del BOT
ejemplo: !chanset +voiceall
voiceall Brinda +v a todos al ingresar al canal
links muestra titulos de las paginas publicadas en el canal
!chanset <Opcion> {<parametros de Opcion>}
cambia las Opciones del BOT
Nivel Requerido: MasterOP del Canal
a Continuacion, la diferentes Opciones de Proteccion y sus respectivos parametros
########################
# SETTINGS & iNFO #
########################
## Metodos de Sanciones Disponibles:
# v : No hace nada
# w : Advierte (en el canal)
# k : Expulsa
# b : Banea
# kb : Patea y Banea
## Tipos de Bans Disponibles:
# 0 : *!user@full.host.tld
# 1 : *!*user@full.host.tld
# 2 : *!*@full.host.tld
# 3 : *!*user@*.host.tld
# 4 : *!*@*.host.tld
# 5 : nick!user@full.host.tld
# 6 : nick!*user@full.host.tld
# 7 : nick!*@full.host.tld
# 8 : nick!*user@*.host.tld
# 9 : nick!*@*.host.tld
# 10: *!user@*
# 11: nick!*@*
##########################
# TEXT FLOOD #
##########################
#
## 1 ## Text flood (lines)
#
# Sintaxis de Comando !chanset textl <lines>:<seconds> <Duracion del Ban> <Sancion> <Tipo de Ban>}
Configuracion Inicial: !chanset ap:textl {8:2 60 w:k:kb 2}
Mensaje al Expulsar: : "Flood de Texto. "
Aviso de Advertencia: "Aviso: Flood de Texto."
#
## 2 ## Text flood (chars)
#
Configuracion Inicial: !chanset ap:textc {500:3 120 a:w:k:b 2}
Mensaje al Expulsar: : "Exceso de Caracteres. "
Aviso de Advertencia: "Aviso: Flood de Caracteres."
##
#
## 3 ## Notice flood (lines)
#
Configuracion Inicial: !chanset ap:notcl {2:3 120 w:k:kb 2}
Mensaje al Expulsar: : "Flood de Notice. "
Aviso de Advertencia: "Aviso: Flood de Notice."
## #
## 4 ## Notice flood (chars)
#
Configuracion Inicial: !chanset ap:notcc {200:3 180 W:k:kb 2}
Mensaje al Expulsar: : "Exceso de Caracteres (Notice). "
Aviso de Advertencia: "Aviso: Flood de Caracteres (Notice)."
##
###################
# TEXT #
###################
#
## 5 ## Caps flood.
#
# Sintaxis de Comando !chanset caps <percent>:<line-length> <Duracion del Ban> <Sancion> <Tipo de Ban>}
Configuracion Inicial: !chanset ap:caps {60:90 120 W:k:kb 2}
Mensaje al Expulsar: : "Uso Excesivo de Mayusculas. "
Aviso de Advertencia: "Aviso: Desactive la Mayuscula."
##
#
## 6 ## Text repeating.
#
Configuracion Inicial: !chanset ap:repeatl {3:10 60 w:k:kb 2}
## Text repeating Kick on how many consecutive repeated letters?
## Example: if this is set to 5 then the bot will kick any user who types (example):
# Hellooooo (5 consecutive o's)
# Hello!!!!!!!!! (5 and more consecutive ! marks)
## Sintaxis de Comando !chanset repeatc <number-of-letters> <Duracion del Ban> <Sancion> <Tipo de Ban>}
Configuracion Inicial: !chanset ap:repeatc {50 30 w:k:kb 2}
Mensaje al Expulsar: : "Repeticiones de Texto. "
"Repeticiones de Caracteres. "
Aviso de Advertencia: "Aviso: Repeticiones de Texto o Caracteres."
##
#
## 7 ## Control codes.
#
# Sintaxis de Comando !chanset codes r:<n> b:<n> u:<n> c:<n> <Duracion del Ban> <Sancion> <Tipo de Ban>}
# Example: If you set ap:codes to: r:35 b:35 u:35 c:35
# Then 35 (or more) characters affected by Reverse or Bold or Underline or Color
# will be considered an offence.
Configuracion Inicial: !chanset ap:codes {r:0 b:0 u:0 c:0 90 a 2}
Mensaje al Expulsar: : "Exceso de codigo de Colores o Formatos (Adornos). "
Aviso de Advertencia: "Aviso: Exceso de Codigo de Colores o Formatos (Adornos)."
##
#
## 8 ## Advertising.
#
********** Inactivo ***********
##
#
## 9 ## Swearing.
#
Configuracion Inicial: !chanset ap:swear {- 120 w:k:kb 2}
Mensaje al Expulsar: : "Vocabulario. "
Aviso de Advertencia: "Aviso: Vocabulario."
##
#
## 8-9 ## Swearing/Advertising in part/quit messages
#
# Exampl: "s:1 a:1" Enables banning of users with part/quit msgs containing swear/advertisement
Configuracion Inicial: !chanset ap:pqsadv {s:0 a:0}
###################
# CTCP #
###################
#
## 10 ## CTCP/CTCR flood
#
Configuracion Inicial: !chanset ap:ctcps {5:30 180 W:k:kb 2}
Mensaje al Expulsar: : "CTCP Flood. "
Aviso de Advertencia: "Aviso: CTCP/CTCR Flood."
##
###################
# TAKEOVER #
###################
#
## 11 ## Mass deop.
#
Configuracion Inicial: !chanset ap:massd {0:0 30 a 2}
# Mass deop: deop abuser ? (0: no , 1: yes)
set massdeop(deop) 0
Mensaje al Expulsar: : "DEOP Masivo. "
Aviso de Advertencia: "Aviso: DEOP Masivo."
##
#
## 12 ## Mass kick.
#
Configuracion Inicial: !chanset ap:massk {0:0 30 a 2}
# Mass kick: deop abuser ? (0: no , 1: yes)
set masskick(deop) 0
Mensaje al Expulsar: : "Expulsiones Masivas. "
Aviso de Advertencia: "Aviso: Expulsiones Masivas."
##
#
## 13 ## Mass ban (bans).
#
Configuracion Inicial: !chanset ap:massb {0:0 30 a 2}
# Mass ban (bans) deop abuser ? (1: yes , 0: no)
set massb(deop) 1
Mensaje al Expulsar: : "Ban Masivo. "
Aviso de Advertencia: "Aviso: Ban Masivo."
##
#
## 14 ## Channel limit.
#
# Sintaxis de Comando !chanset limit <limit>}
# Note: this be the number that will be added to the channel's limit.
Configuracion Inicial: !chanset ap:limit 8}
###################
# MISCELLANEOUS #
###################
#
## 15 ## Join flood.
#
Configuracion Inicial: !chanset ap:cjoin {4:1 120 k 2}
# Join flood: Check for join flood from same idents as well? (0: no, 1: yes)
set joinflood(checkident) 0
# Join flood: Lock channel when triggered ? (1: yes , 0: no)
set joinflood(lockchan) 1
# Join flood: If lock channel is enable, what modes ?
set joinflood(lockmode) "mRi clone.join.flood"
# Join flood: lock time in seconds.
set joinflood(locktime) 30
Mensaje al Expulsar: : "Join Flood. "
Aviso de Advertencia: "Aviso: Join Flood."
##
#
## 16 ## Part msg flood.
#
# Sintaxis de Comando !chanset partmsgs <message-length> <Duracion del Ban> <Sancion> <Tipo de Ban>}
Configuracion Inicial: !chanset ap:partmsgs {0 120 a 2}
# Also, you can ban if excess codes are used in a part msg:
# Sintaxis de Comando !chanset partmsgc r:<n> b:<n> u:<n> c:<n> <Duracion del Ban> <Sancion> <Tipo de Ban>}
# Note: check codes protection to understand how codes checking work.
# r = reverse, b = bold, u = underline and c = colors.
Configuracion Inicial: !chanset ap:partmsgc {r:0 b:0 u:0 c:0 30 a 2}
Mensaje al Expulsar: : "Flood mensaje Part. "
Aviso de Advertencia: "Aviso: Flood Mensaje Part."
##
#
## 17 ## Revolving door.
#
# Sintaxis de Comando !chanset revdoor <seconds> <Duracion del Ban> <Sancion> <Tipo de Ban>}
# example: setting this to 3 will make the bot ban whoever joins and parts/quits in 3 or less seconds.
Configuracion Inicial: !chanset ap:revdoor {1 30 kb 2}
Mensaje al Expulsar: : "Join-Part Flood. "
set revdoor(exempt) {Read *" "Killed *}
set revdoor Aviso de Advertencia: "Aviso: join-part Flood."
##
#
## 18 ## Nick flood.
#
Configuracion Inicial: !chanset ap:nickf {5:10 60 a:w:k:kb 2}
Mensaje al Expulsar: : "Nick Flood. "
Aviso de Advertencia: "Aviso: Nick Flood."
##
#
## 19 ## Clones.
#
# Sintaxis de Comando !chanset clones <clones-number> <Duracion del Ban> <Sancion> <Tipo de Ban>}
# Note: This will be the number of clones that triggers punishment.
Configuracion Inicial: !chanset ap:clones {3 120 W:k:kb 2}
Mensaje al Expulsar: : "Esceso de Clones. "
Aviso de Advertencia: "Aviso: Exceso de Clones."
# Do you want to check if the clones are still excess after warn?
# if yes then set this to the number of seconds to wait before checking again. (0 means no)
# NOTE: This should be less than <pwait> (at the beginning of the configuration).
set eclones(caw) 120
##
#
## 20 ## Bad nick.
#
# Sintaxis de Comando !chanset bnicks + <Duracion del Ban> <Sancion> <Tipo de Ban>}
Configuracion Inicial: !chanset ap:bnicks {- 120 w:k:kb 2}
Mensaje al Expulsar: : "Nick Inadecuado. "
Aviso de Advertencia: "Aviso: Nick Inadecuado. Utilice /nick <nick> para modificarlo."
set bnick(caw) 80
##
#
## 21 ## Random drones.
#
# Sintaxis de Comando !chanset drones + <Duracion del Ban> <Sancion> <Tipo de Ban>}
# If you set <Sancion> to a positive-integer then the bot will only kick the drone once.
# So if the drone rejoins within this amount of seconds it won't be kicked again.
Configuracion Inicial: !chanset ap:drones {- 60 60 2}
# Random drones: What masks to exempt? (remember to change these or remoce them)
set droneexempts(global) *example1*!*@* *!*example2*@* *!*@example3.net }
Mensaje al Expulsar: : "Posible Random Drone. "
Aviso de Advertencia: "Aviso: Fuiste Detectado como Posible Drone, por favor Cambia tu nick de Inmediato."
##
#
## 22 ## Bad ident.
#
# Sintaxis de Comando !chanset bidents + <Duracion del Ban> <Sancion> <Tipo de Ban>}
Configuracion Inicial: !chanset ap:bidents {- 120 kb 2}
Mensaje al Expulsar: : "Intentd Inadecuado. "
Aviso de Advertencia: "Aviso: Identd Inadecuado. Desconecte, modifiquelo y Reconecte."
set bident(caw) 60
##
#
## 23 ## Bad chans/Excess chans.
#
# Sintaxis de Comando !chanset bchans + <Duracion del Ban> <Sancion> <Tipo de Ban> <scan-time>}
# <scan-time> is the time in minutes in which the bot will scan the channel for users in bad chans. (0 disable)
Configuracion Inicial: !chanset ap:bchans {- 90 kb 2 0}
# For excess channels use:
# !chanset echans <excess-chan-number> <Duracion del Ban> <Sancion> <Tipo de Ban> <scan-time>}
# if <excess-chan-number> is 0, then it is disabled.
Configuracion Inicial: !chanset ap:echans {0 60 a 2 0}
set bchans(global) #sexo #lc-sexo }
# Bad chans flood protect, stop whois/ctcp incase of x joins in y seconds: (applies on bad versions too)
set bchan(floodprot) 4:10
# Bad chans kick message:
Mensaje al Expulsar: : "Estas en un Canal Incompatible o Inadecuado. "
"Exceso de Canales. "
Aviso de Advertencia: "Aviso: estas en un Canal Incompatible o Inadecuado, tienes $bchan(caw) segundos para salir de %bchan."
set bchan(ewmsg) "Aviso: Estas en Demasiados Canales, por favor reduce el numero de Canales."
##
#
## 24 ## Bad CTCP reply
#
# Sintaxis de Comando !chanset bctcrs + <Duracion del Ban> <Sancion> <Tipo de Ban> <scan-time>}
Configuracion Inicial: !chanset ap:bctcrs {- 120 a 2 0}
# Sintaxis de Comando !chanset ctcpchecks <ctcp-types>}
Configuracion Inicial: !chanset ap:ctcpchecks {VERSION}
set bctcrs(global)
"*exploitation script*"
}
# %rtype is the CTCP reply type.
Mensaje al Expulsar: : "Respuesta CTCP %rtype Desaprobada. "
Aviso de Advertencia: "Aviso: Respuesta **** para la peticion de *****, Tienes **** segundos para Cambiar de Cliente o Script."
##
#########################################
# BOTNET FLOOD PROTECTION (MASS FLOODS) #
#########################################
#
## 1 ## Botnet Text flood (lines).
#
# Sintaxis de Comando !chanset btextl <lines>:<seconds> <lockmode> <locktime>}
Configuracion Inicial: !chanset ap:btextl {15:7 mR lines.flood 60}
#
## 2 ## Botnet Text flood (chars).
#
Configuracion Inicial: !chanset ap:btextc {550:3 mR chars.flood 60}
#
## 3 ## Botnet Notice flood (lines).
#
Configuracion Inicial: !chanset ap:bnotcl {4:2 mR lines.flood 60}
#
## 4 ## Botnet Notice flood (chars).
#
Configuracion Inicial: !chanset ap:bnotcc {500:3 mR chars.flood 60}
#
## 5 ## Botnet CTCP/CTCR flood.
#
Configuracion Inicial: !chanset ap:bctcp {4:60 mR ctcp.flood 60}
#
## 6 ## Botnet join flood.
#
Configuracion Inicial: !chanset ap:massjoin {9:3 mR join.flood 60}
#
## 7 ## Botnet revolving door flood.
#
## Note: ap:revdoor must be set for this to work.
Configuracion Inicial: !chanset ap:brevdoor {5:3 mR revdoor.flood 60}
#
## 8 ## Botnet part msg flood.
#
## Note: ap:partmsgs or ap:partmsgc (or both) must be enabled for this to work.
Configuracion Inicial: !chanset ap:bpartmsg {5:3 mR partmsg.flood 60}
#
## 9 ## Botnet Nick flood.
#
Configuracion Inicial: !chanset ap:bnickf {5:30 mR nick.flood 60}
#
## 10 ## Botnet Codes flood.
#
Configuracion Inicial: !chanset ap:bcodes {0:0 mR codes.flood 60}
###########################
# PRIVATE PROTECTIONS #
###########################
# Set here if you want the bot to set a restriction mode on itself when flooded.
# example: +R is used on DALnet so only registered users can send to the bot.
# set this to "" if you don't wish to change your bot's modes during a flood.
# NOTE: Maximum 1 mode, less or more means it's disabled.
set apfp(rmode) R
# Set here the time you want to keep the restriction mode in seconds.
set apfp(rtime) 30
# How many seconds do you want to stop answering data from server?
set apfp(itime) 30
#
## 1 ## Private text floods.
#
# Private text (lines) flood <lines>:<seconds>. (0:0 to disable)
set ptextl(punish) 12:6
# Private text (chars) flood <chars>:<seconds>. (0:0 to disable)
set ptextc(punish) 300:6
#
## 2 ## Private notice floods.
#
set pnotil(punish) 6:3
set pnotic(punish) 300:4
#
## 3 ## Private CTCP/CTCR flood.
#
set pctcpf(punish) 5:20
# Configurations end here. #
*****************************
** Configuraciones Rapidas **
*****************************
** Configuracion Inicial **
*****************************
!chanset ap:textl {8:2 60 w:k:kb 2}
!chanset ap:textc {500:3 120 a:w:k:b 2}
!chanset ap:notcl {2:3 120 w:k:kb 2}
!chanset ap:notcc {200:3 180 W:k:kb 2}
!chanset ap:caps {60:90 120 W:k:kb 2}
!chanset ap:repeatl {3:10 60 w:k:kb 2}
!chanset ap:repeatc {50 30 w:k:kb 2}
!chanset ap:codes {r:0 b:0 u:0 c:0 90 a 2}
!chanset ap:adv {- 180 K:kb 2}
!chanset ap:swear {- 120 w:k:kb 2}
!chanset ap:pqsadv {s:0 a:0}
!chanset ap:ctcps {5:30 180 W:k:kb 2}
!chanset ap:massd {0:0 30 a 2}
!chanset ap:massk {0:0 30 a 2}
!chanset ap:massb {0:0 30 a 2}
!chanset ap:limit 8}
!chanset ap:cjoin {4:1 120 k 2}
!chanset ap:partmsgs {0 120 a 2}
!chanset ap:partmsgc {r:0 b:0 u:0 c:0 30 a 2}
!chanset ap:revdoor {1 30 kb 2}
!chanset ap:nickf {5:10 60 a:w:k:kb 2}
!chanset ap:clones {3 120 W:k:kb 2}
!chanset ap:bnicks {- 120 w:k:kb 2}
!chanset ap:drones {- 60 60 2}
!chanset ap:bidents {- 120 kb 2}
!chanset ap:bchans {- 90 kb 2 0}
!chanset ap:echans {0 60 a 2 0}
!chanset ap:bctcrs {- 120 a 2 0}
!chanset ap:ctcpchecks {VERSION}
!chanset ap:btextl {15:7 mR lines.flood 60}
!chanset ap:btextc {550:3 mR chars.flood 60}
!chanset ap:bnotcl {4:2 mR lines.flood 60}
!chanset ap:bnotcc {500:3 mR chars.flood 60}
!chanset ap:bctcp {4:60 mR ctcp.flood 60}
!chanset ap:massjoin {9:3 mR join.flood 60}
!chanset ap:brevdoor {5:3 mR revdoor.flood 60}
!chanset ap:bpartmsg {5:3 mR partmsg.flood 60}
!chanset ap:bnickf {5:30 mR nick.flood 60}
!chanset ap:bcodes {0:0 mR codes.flood 60}
************************************
** Configuraciones Personalizadas **
************************************
Sala sin AntiFloods de Texto
!chanset ap:textl {0:0 1 a 2}
!chanset ap:textc {0:0 1 a 2}
Sala sin AntiFloods de Notice
!chanset ap:notcl {0:0 1 a 2}
!chanset ap:notcc {0:0 1 a 2}
Sala sin AntiFloods de CTCP
!chanset ap:ctcps {0:0 1 a 2}
Sala sin AntiRepeticiones
!chanset ap:repeatl {0:0 1 a 2}
!chanset ap:repeatc {0 1 a 2}
Sala sin AntiMayusculas
!chanset ap:caps {0:0 1 a 2}
Sala sin AntiColores
!chanset ap:codes {r:0 b:0 u:0 c:0 90 a 2}
Sala sin AntiModerador de Vocabulario
!chanset ap:swear {- 1 a 2}
!chanset ap:pqsadv {s:0 a:0}
Sala sin AntiBotnets
!chanset ap:btextl {0:0 mR lines.flood 1}
!chanset ap:btextc {0:0 mR chars.flood 1}
!chanset ap:bnotcl {0:0 mR lines.flood 1}
!chanset ap:bnotcc {0:0 mR chars.flood 1}
-------------------------------
Nivles Bajos de Protecciones
Nivel Bajo de Proteccion AntiFloods de Texto
!chanset ap:textl {30:3 1 a 2}
!chanset ap:textc {0:0 1 a 2}
Nivel Bajo de Proteccion AntiFloods de Notice
!chanset ap:notcl {30:3 1 a 2}
!chanset ap:notcc {0:0 1 a 2}
Nivel Bajo de Proteccion AntiFloods de CTCP
!chanset ap:ctcps {30:3 1 a 2}
Nivel Bajo de Proteccion AntiRepeticion
!chanset ap:repeatl {20:10 1 a 2}
!chanset ap:repeatc {0 1 a 2}
Lo que falta por hacer:
!addop: mejorarlo para ser reconocidos en un cambio de ip
!delop: brindar un comando de borrado de operadores y usuarios
los creditos de los scripts instalados corresponden a
ALL PROTECTION 4.7 de Opposing z_Egg@yahoo.com http://Sir-Fz.blogspot.com
Bazman`s SuPeRsCrIpT v1.1 de Bazman bazman@loveconnections4all.com
google.tcl v0.2.1 de aNa|0Gue - analogue@glop.org http://www.glop.org/
Youtube Title de jotham.read@gmail.com
todos modificados por mi, para adaptarlos al bot.







