else:
serv.privmsg(canal,"%s: Non, je reste !"%(auteur))
log(self.serveur,canal,auteur,message+"[failed]")
- elif cmd in ["play","jeu","encore","again","partie","pendu","game","mot"]:
+ elif cmd in ["play","jeu","encore","again","partie","pendu","game","mot","go","allez"]:
if not canal in self.quiet_channels and canal in self.play_channels:
if self.play_status.has_key(canal):
if self.play_status[canal]==[[None,None]]:
self.play_status[canal][0]=listeapres
self.affiche_mot(serv, canal, begin="%s placé"%(giv_let))
if all([lettre[1] for lettre in listeapres]):
- serv.privmsg(canal,"Bravo ! C'était %s"%("".join([lettre[0] for lettre in listeapres])))
+ realword="".join([lettre[0] for lettre in self.play_status[canal][0]])
+ definition = self.play_status[canal][1]
+ serv.privmsg(canal,"Bravo ! C'était %s"%(realword))
+ serv.privmsg(canal,definition)
self.play_status[canal]=[[None,None]]