hola buenas,
pregunto si alguien me puede ayudar, necesito una tcl para mi bot que cuando algun @ de la sala baje al bot a + o a user normal , el bot revierta y sea el bot quien baje al @ y le deje un mensaje
Can you please use english, because I have to use a translator to read you and it may occure mistakes.
If the translation is good, you want to deop an operator who has deopped the bot, and the bot must retake its @ ?
This is the revengebot mode (.chanset #channel +revengebot).
Note that your eggdrop must be identified to services and you have to well set the need-op and revenge-mode.
Try using that, and if it doesn't do as you want, I can create you a short script.
Hi CrazyCat, first of all thank you for replying,
I am sorry as I am Spanish I wrote in my language I will use the translator if something is wrongly said or interpreted I apologize but I don't know English.
I did what you told me and the result is negative, I show you what happened:
me ¦ .chanset #misala +revengebot
bot ¦ Successfully set modes { +revengebot } on #misala.
a @ from the room using ircap:
soy@ set mode [-o bot ]
soy@ set mode [+o bot ]
soy@ set mode [+b *!*@ipvirtual ]
Banned: bot
bot has been banned by soy@ [testing].
I think it doesn't do what I need it to do, or I don't know if I did something wrong.
again thank you very much in advance and sorry if the translator messes it up
hello caesar
what I need:
pepe set mode [+v bot]
pepe set mode [-o bot]
bot set mode [-o pepe] message "what you are doing is not helping the smooth running of the channel".
and for the bot to keep its @
ok, no es lo que esperaba ya que me quedo igual que cuando formule la primera pregunta , pero se agradece de igual manera vuestros comentarios. mil gracias.
en principio el único que tiene acceso al eggdrop soy yo como dueño de el, ya que aun se esta configurando a la sala con las necesidades que van surgiendo
ive checked for that network chatzona and i found it and checked for what services it uses and it turns out they use chanserv only they changed the nick of chanserv and nickserv to CHAN and NICK wich is common for latin america origin IRC networks
bind mode - "*-*o*" protect:autoreop
proc protect:autoreop {nick uhost hand chan mode target} {
global botnick
if {($target == $botnick) && ($nick != $botnick)} {
putnow "privmsg chan op $chan $botnick"
putnow "mode $chan -o $nick"
putnow "privmsg $nick :$nick \002what you are doing is not helping the smooth running of the channel\002"
putnow "privmsg $chan :$nick \002what you are doing is not helping the smooth running of the channel\002"
}
}
bind mode - "* +b" prot_banX
proc prot_banX {nick uhost hand chan mc ban} {
global botnick botname
if {[string match "$ban" "$botname"]} {
putnow "privmsg chan unban $chan $botnick"
putnow "privmsg $chan :$nick \002what you are doing is not helping the smooth running of the channel\002"
putnow "privmsg $nick :\002what you are doing is not helping the smooth running of the channel\002"
putnow "mode $chan -o $nick"
}
}
ofcourse your eggdrop nickname must be registered with NICK and be added in access list of channel as chanop @