Toggle menu
15
242
112
28K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:NUMBEROFSECTIONS/sandbox: Revision history

From Kenshi Wiki

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.

10 March 2025

  • curprev 00:4100:41, 10 March 2025 Prd talk contribs 1,469 bytes +1,469 Created page with "local p = {} -- Counting function accepting a string haystack and table of needles local function count(haystack, needles) local number = 0 -- While we have needles to look for for index, needle in ipairs(needles) do -- find them all in our haystack for m in string.gmatch(haystack, needle) do number = number + 1 end end return number end -- Function takes any number of # delimited page names and section level numbers function p.sections(frame) local tota..."