<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://fr.prole.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ARandom</id>
	<title>Module:Random - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://fr.prole.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ARandom"/>
	<link rel="alternate" type="text/html" href="https://fr.prole.wiki/w/index.php?title=Module:Random&amp;action=history"/>
	<updated>2026-10-30T08:55:34Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://fr.prole.wiki/w/index.php?title=Module:Random&amp;diff=5244&amp;oldid=prev</id>
		<title>CriticalResist : Page créée avec « local p = {}  function p.random(frame) 	local parent = frame:getParent() 	 	local a = tonumber(parent.args[1]) or 1 	local b = tonumber(parent.args[2]) or 100 	 	local Date = os.date() 	local h = Date:match(&quot;(%d+):%d+:%d+&quot;) 	local m = Date:match(&quot;%d+:(%d+):%d+&quot;) 	local s = Date:match(&quot;%d+:%d+:(%d+)&quot;) 	local rnd = s * s * math.random(a,b) 	 	local loop = 0 	while (rnd &gt; b or rnd &lt; a) do 			loop = loop +1 			if (loop &gt; 50) then 				rnd = a 				break 			end 			if (r... »</title>
		<link rel="alternate" type="text/html" href="https://fr.prole.wiki/w/index.php?title=Module:Random&amp;diff=5244&amp;oldid=prev"/>
		<updated>2023-07-31T17:20:17Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « local p = {}  function p.random(frame) 	local parent = frame:getParent() 	 	local a = tonumber(parent.args[1]) or 1 	local b = tonumber(parent.args[2]) or 100 	 	local Date = os.date() 	local h = Date:match(&amp;quot;(%d+):%d+:%d+&amp;quot;) 	local m = Date:match(&amp;quot;%d+:(%d+):%d+&amp;quot;) 	local s = Date:match(&amp;quot;%d+:%d+:(%d+)&amp;quot;) 	local rnd = s * s * math.random(a,b) 	 	local loop = 0 	while (rnd &amp;gt; b or rnd &amp;lt; a) do 			loop = loop +1 			if (loop &amp;gt; 50) then 				rnd = a 				break 			end 			if (r... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.random(frame)&lt;br /&gt;
	local parent = frame:getParent()&lt;br /&gt;
	&lt;br /&gt;
	local a = tonumber(parent.args[1]) or 1&lt;br /&gt;
	local b = tonumber(parent.args[2]) or 100&lt;br /&gt;
	&lt;br /&gt;
	local Date = os.date()&lt;br /&gt;
	local h = Date:match(&amp;quot;(%d+):%d+:%d+&amp;quot;)&lt;br /&gt;
	local m = Date:match(&amp;quot;%d+:(%d+):%d+&amp;quot;)&lt;br /&gt;
	local s = Date:match(&amp;quot;%d+:%d+:(%d+)&amp;quot;)&lt;br /&gt;
	local rnd = s * s * math.random(a,b)&lt;br /&gt;
	&lt;br /&gt;
	local loop = 0&lt;br /&gt;
	while (rnd &amp;gt; b or rnd &amp;lt; a) do&lt;br /&gt;
			loop = loop +1&lt;br /&gt;
			if (loop &amp;gt; 50) then&lt;br /&gt;
				rnd = a&lt;br /&gt;
				break&lt;br /&gt;
			end&lt;br /&gt;
			if (rnd &amp;gt; b) then&lt;br /&gt;
				local aux = b/2&lt;br /&gt;
				if (aux &amp;lt; 1) then&lt;br /&gt;
					aux = 2.5&lt;br /&gt;
				end&lt;br /&gt;
				rnd = math.floor(rnd/aux)&lt;br /&gt;
			elseif (rnd &amp;lt; a) then&lt;br /&gt;
				local aux = b/2&lt;br /&gt;
				if (aux &amp;lt; 1) then&lt;br /&gt;
					aux = 2&lt;br /&gt;
				end&lt;br /&gt;
				rnd = math.floor(rnd*aux)&lt;br /&gt;
			end&lt;br /&gt;
			math.randomseed(rnd)&lt;br /&gt;
	end&lt;br /&gt;
	return rnd&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>CriticalResist</name></author>
	</entry>
</feed>