Jump to content

Module:Random: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 March 2025

  • curprev 02:0402:04, 13 March 2025 Thehighwayman talk contribs m 753 bytes 0 Protected "Module:Random" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
  • curprev 02:0302:03, 13 March 2025 Thehighwayman talk contribs 753 bytes +753 Created page with "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("(%d+):%d+:%d+") local m = Date:match("%d+:(%d+):%d+") local s = Date:match("%d+:%d+:(%d+)") local rnd = s * s * math.random(a,b) local loop = 0 while (rnd > b or rnd < a) do loop = loop +1 if (loop > 50) then rnd = a break end if (rnd > b)..."