Petit système à améliorer
#4
Très bien, ça fonctionne très bien DnS !
Dis moi, il y aurait un moyen pour que le eggdrop detecte le pseudo du botserv pour ensuite le !xoff, pour rétablir le BotServ?

Code PHP :
bind pub - !xoff xoff
proc xoff 
{nick host hand chan arg} {
global 
ID botnick
putserv 
"PRIVMSG $chan :Processus en cours de désactivation sur le salon $chan."
putserv "PRIVMSG $chan :Activation du BotServ de $chan."
putserv "PRIVMSG $::ID  :ASSIGN $chan $::BOT"
putserv "PRIVMSG $chan :Désactivation des modes de sécurités."
putserv "PRIVMSG $chan : ..."
putserv "MODE $chan  -smi "
putserv "PRIVMSG $chan :Les protections sont désactivées."

Répondre Avertir


Messages dans ce sujet
Petit système à améliorer - par alanfollow - 08/12/2010, 23:34
RE: Petit système à améliorer - par DnS - 09/12/2010, 10:24
RE: Petit système à améliorer - par alanfollow - 09/12/2010, 11:25
RE: Petit système à améliorer - par DnS - 09/12/2010, 21:44

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté