Module:Autocat

local AC = {}

function AC.username(frame) local iusername = frame.args[1] or frame.args["iusername"] test = frame.args["test"] if test == "" then if string.lower(iusername) == "npc" or iusername == "" then ousername = "" else ousername = "" ousername2 = "Owned by "..iusername.."" end end return ousername, ousername2 end

function AC.age(frame) local iage = frame.args[1] or frame.args["iage"] local oage = string.match( iage, "%d?%d%d") test = frame.args["test"] if test == "" then oage2 = "" oage3 = " "..iage.."" end return oage2, oage3 end

return AC