local function mystatus( Source, Args) if (exists("scripts/plugins/RPGPlugin/profiles/"..Source.Nick..".lua") == false) then return "You are not registered, to register type -register name race", Source.Channel, MESSAGE_NORMAL end if (RPG.Enable == false) then return "RPG Mod is not currently running please try again later", Source.Channel, MESSAGE_NORMAL end if (RPG.Enable == true) then local profilename = "scripts/plugins/RPGPlugin/profiles/"..Source.Nick..".lua" local templayer = table.load(profilename) local temsleep if templayer.sleep == "0" then temsleep = "Awake" end if templayer.sleep == "1" then temsleep = "Sleeping" end if templayer.curhp == "0" then temsleep = "Dead" end local tempstring = "Name: "..templayer.name.." HP: "..templayer.curhp.."/"..templayer.maxhp.." MP: "..templayer.curmp.."/"..templayer.maxmp.. " Status: "..temsleep return tempstring , Source.Channel, MESSAGE_NORMAL end end