Merci d'avoir répondu, donc pour la version c'est le Eggdrop v1.6.21 et j'ai l'erreur suivante après un .set errorInfo
la proc :
Code :
<kipof> .set errorInfo
<Game> [20:34:00] #kipof# set errorInfo
<Game> Currently: no such binding
<Game> Currently: while executing
<Game> Currently: "unbind pubm -|- "$tgchan *" tgcheckanswer"
la proc :
tcl
#vérifie si n'importe qui a indiqué la réponse correcte sur le canal.
proc tgcheckanswer {nick host hand chan text} {
global tgcurrentanswer
putlog [tgstripcodes $text]
if {[strlwr [no_accent $tgcurrentanswer]] == [tgstripcodes [strlwr [string trim [no_accent $text]]]]} {
tgcorrectanswer $nick
}
}