Salut Babytigrou16
Ton code est comme cela:
?
Ton code est comme cela:
tcl
proc aidle:punish { channel nick idletime } {
global pmethod aidlereason bantime
regsub -all "%idletime" $aidlereason $idletime aidlereason
switch $pmethod {
1 { putserv "sapart $nick $channel" }
2 { newchanban $channel "*![getchanhost $nick]" "Anti-Idle" "Too idle" $bantime }
}
}
?