alias devine { var %a = $lines(fichier.txt) var %b = $rand(1,%a) msg $chan $gettok($read(fichier.txt,%b),1,124)) .timer 1 2 msg $chan $gettok($read(fichier.txt,%b),2,124)) }
.timer 1 1 say Coucou
.timer 2 1 say Pouet =)
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionvar %i = 1 var %j = $lines(phrases1.txt) while %j <= %i { .timer 1 2 .msg $chan $read(phrases1.txt,%i) .timer 1 2 .msg $chan $read(phrases2.txt,%i) inc %i }