Probleme de commande quizz
#7
j'ai bien ajouté comme ceci

tcl
proc rot:rotation {} {
global rotation
global fname
set f [open "$fname" "a"] 
puts $f "KAOSFile=scripts/[lindex $rotation(msgs) [rand [llength $rotation(msgs)]]]" 
close $f
foreach channel $rotation(chans) {
   rehash
   puthelp "PRIVMSG $channel :Rotation de la base de donnée"
   puthelp "privmsg $channel :Mise à jour du quizz Veuillez patienter. Redemarrage en cours :)."
   utimer 20 KAOS_Start $::botnick [getchanhost $::botnick $channel] $::botnick $channel ""
}
 
if {(($rotation(time) != 0) && (![string match "*rot:rotation*" [timers]]))} {
   timer $rotation(time) rot:rotation
}
return 1
}



toujours une erreur en PL
Code :
[22:36:00] Tcl error in script for 'timer101358':
[22:36:00] wrong # args: should be "utimer seconds command"
Répondre Avertir


Messages dans ce sujet
Probleme de commande quizz - par loulou7593 - 31/12/2011, 15:57
RE: Probleme de commande quizz - par CrazyCat - 31/12/2011, 19:18
RE: Probleme de commande quizz - par loulou7593 - 01/01/2012, 03:59
RE: Probleme de commande quizz - par CrazyCat - 01/01/2012, 16:52
RE: Probleme de commande quizz - par loulou7593 - 01/01/2012, 17:49
RE: Probleme de commande quizz - par CrazyCat - 01/01/2012, 22:55
RE: Probleme de commande quizz - par loulou7593 - 01/01/2012, 23:51
RE: Probleme de commande quizz - par CrazyCat - 02/01/2012, 12:35
RE: Probleme de commande quizz - par loulou7593 - 02/01/2012, 16:17
RE: Probleme de commande quizz - par CrazyCat - 02/01/2012, 22:04
RE: Probleme de commande quizz - par loulou7593 - 02/01/2012, 22:11
RE: Probleme de commande quizz - par loulou7593 - 03/01/2012, 20:35
RE: Probleme de commande quizz - par CrazyCat - 03/01/2012, 22:20
RE: Probleme de commande quizz - par loulou7593 - 03/01/2012, 22:31

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté