Module:Sandbox

local p = {}

local function getArgs(frame) local args = {} for key, value in pairs(frame:getParent.args) do       args[key] = value end for key, value in pairs(frame.args) do       args[key] = value end return args end

function p.main(frame) local args     = getArgs(frame) local user     = args[1] or args.user or '' return p.activityStatus(user) end

function p.activityStatus(user) local function isEmpty(s) return s == nil or s == '' end local function tableEmpty(s) return next(s) == nil end local data = { ["Jake"] = "Active", ["SuperHamster"] = "Active", ["Mario"] = "Active", ["Drago"] = "Around", ["BladeofEvilsBane"] = "Around", ["Sunmarsh"] = "Around", ["sunmarsh"] = "Around", ["ZCJigglypuff"] = "Around", ["PoizonMushro0m"] = "Around", ["WeatherGeek"] = "Active", ["Vmario97"] = "Around", ["Froyo"] = "Active", ["Senor Mexicano"] = "Active", ["Decomposer"] = "Around", ["Ocre"] = "Active", ["Dorsal Axe"] = "Active", ["Lampshade59276"] = "Active", ["Akuhime-sama"] = "Active", ["AlexBot2004"] = "Active", ["AgentParadox"] = "Active", ["Ruthless Cutie"] = "Inactive", ["HylianAngel"] = "Active", ["The Jacketed Terrapin"] = "Active", ["Chubby Bub"] = "Active", ["PanchamBro"] = "Active", ["Vivian"] = "Around", ["Kalina70"] = "Active", }	if not isEmpty(user) then if not isEmpty(data[user]) then return data[user] end else return "Inactive" end end

return p