Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Title ID: Revision history

From Hacks Guide 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.

15 December 2022

  • curprev 22:2022:20, 15 December 2022Ihaveahax talk contribsm 521 bytes 0 I forgot Lua indexes tables starting with 1
  • curprev 22:1522:15, 15 December 2022Ihaveahax talk contribs 521 bytes +521 Created page with "local p = {} local function uniqueIdToTitleId(uidstr) local uniqueId if type(uidstr) == 'number' then uniqueId = uidstr else -- check if it starts with 0x local start = string.sub(uidstr, 0, 2) if start == '0x' then uniqueId = tonumber(uidstr) else uniqueId = tonumber(uidstr, 16) end end -- maybe this should allow for stuff like choosing content category? return string.format('00040000%06x00', uniqueId) end function p.makeTitleId(frame) return..."