« Module:Aléa » : différence entre les versions
Contenu supprimé Contenu ajouté
création ou initialisation |
mise à jour |
||
Ligne 6 :
nombre = nombre + 1
end
▲ t = os.clock()
▲ if frame.args[1] == nil then return end
temps = temps*100000000
▲ t = os.clock() - t
math.randomseed(temps)
pointe = math.random(nombre)
return frame.args[pointe]
end
|