26/03/2010, 11:48
Bonjour à tous
j'ai recupéré un TCL pour éviter les mass invites et le probleme que je rencontre il ne dit pas sur le salon log quel chan le bot à était inviter.Quelqu'un aurais une idée svp ?
voici ce qu'il me dit sur le chan log
merci de votre aide
j'ai recupéré un TCL pour éviter les mass invites et le probleme que je rencontre il ne dit pas sur le salon log quel chan le bot à était inviter.Quelqu'un aurais une idée svp ?
TCL
bind raw - INVITE show:invite
proc show:invite { nick host key args } {
global botnick si
set nik [lindex [split $nick !] 0]
set host [lindex [split $nick !] 1]
set ban [lindex [split $nick @] 1]
set text [lindex [split $args] 1 end]
foreach ehost $si(except) {
if {[string match $ehost "$nik!$host"]} { return 0 }
}
putserv "PRIVMSG $::SalonLog :INVITE SPAM by\0032 $nik \003\[$host\]: invited to $text"
}
voici ce qu'il me dit sur le chan log
Citation :Morice: INVITE SPAM by boulet [boulet@45566756724.net]: invited to
merci de votre aide