<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://sls.wiki/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ARandom</id>
	<title>模块:Random - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://sls.wiki/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ARandom"/>
	<link rel="alternate" type="text/html" href="https://sls.wiki/index.php?title=%E6%A8%A1%E5%9D%97:Random&amp;action=history"/>
	<updated>2026-05-03T20:49:06Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://sls.wiki/index.php?title=%E6%A8%A1%E5%9D%97:Random&amp;diff=1051&amp;oldid=prev</id>
		<title>Kesager：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://sls.wiki/index.php?title=%E6%A8%A1%E5%9D%97:Random&amp;diff=1051&amp;oldid=prev"/>
		<updated>2022-10-06T08:18:45Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2022年10月6日 (四) 16:18的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki:diff:1.41:old-1050:rev-1051 --&gt;
&lt;/table&gt;</summary>
		<author><name>Kesager</name></author>
	</entry>
	<entry>
		<id>https://sls.wiki/index.php?title=%E6%A8%A1%E5%9D%97:Random&amp;diff=1050&amp;oldid=prev</id>
		<title>SJMC&gt;ART1st：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://sls.wiki/index.php?title=%E6%A8%A1%E5%9D%97:Random&amp;diff=1050&amp;oldid=prev"/>
		<updated>2022-05-10T06:32:09Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
local seeded&lt;br /&gt;
local randomseed = math.randomseed&lt;br /&gt;
local random = math.random&lt;br /&gt;
&lt;br /&gt;
function p.random( m, n )&lt;br /&gt;
	if not seeded then&lt;br /&gt;
		p.seed()&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return random( n and m or m and 1 or 0, n or m or 1 )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.seed( seed )&lt;br /&gt;
	randomseed( seed or ( os.time() + os.clock() * 1000000000 ) )&lt;br /&gt;
	&lt;br /&gt;
	-- First few values of seed is not guaranteed to be random on some platforms&lt;br /&gt;
	random()&lt;br /&gt;
	random()&lt;br /&gt;
	&lt;br /&gt;
	seeded = true&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>SJMC&gt;ART1st</name></author>
	</entry>
</feed>