Bind quand on bot link ce deconnecte ?
#4
De retour sur un vrai PC, voici ce que j'utilise:
tcl
set chan "#botnet"

# Perte d'un eggdrop
bind disc - * recv:disc
proc recv:disc {frm_bot} {
   if {$frm_bot == $::username} {
      putquick "PRIVMSG $::chan :I'd left the botnet"
   } else {
      putquick "PRIVMSG $::chan :*** We lose $frm_bot"
   }
   return 0
}

# Connexion d'un eggdrop
bind link - * recv:link	
proc recv:link {frm_bot via} {
   if {$frm_bot == $::username} {
      putquick "PRIVMSG $::chan :I'm back in the botnet"
   } else {
      putquick "PRIVMSG $::chan :*** $frm_bot rejoined botnet"
   }
   return 0
}



Plutôt simple à utiliser, non ?
Répondre


Messages dans ce sujet
RE: Bind quand on bot link ce deconnecte ? - par CrazyCat - 08/09/2013, 16:44

Atteindre :


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