proc/PeopleCheck()
var/people
var/mob/M
if(M.Login())
people +=1
else
return
if(M.Logout())
people -=1
else
return
Then I have the statpanel. Which, should increase how many people are online.
stat("People Online:",people)
Then when they login it is just blank.
mob/Login()
players += 1
..()
mob/Logout()
players -= 1
..()
Or
var/tempplayers
for(var/mob/Player/M in world)
tempplayers += 1