Tech, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Administrators
12,451
edits
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
if #releases < 5 then numToReturn = #releases else numToReturn = 5 end | if #releases < 5 then numToReturn = #releases else numToReturn = 5 end | ||
local usedNumbers = {} | local usedNumbers = {} | ||
for count | for count=1, numToReturn do | ||
local ranNum = math.random(1, #release) | local ranNum = math.random(1, #release) | ||
while not usedNumbers[ranNum] do | while not usedNumbers[ranNum] do |
edits