18.06.2012, 14:52
It should do the trick, he gave a string/levelname depending on the variable's value, and it returns the string, also i replied to this to notify you about something, is "loggedin" a variable or some stock? because if it's a variable, it's not set for a specific player, it will be set to all players, so all will be logged in, or all are not.