08/09/2013, 16:44
De retour sur un vrai PC, voici ce que j'utilise:
Plutôt simple à utiliser, non ?
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 ?