July 5, 20178 yr Pretty basic question, just wanted to know how to retrieve the current players display name. So if I'm logged in with the account "Frogmaster", how do I retrieve this information. Edited July 6, 20178 yr by frogmaster
July 5, 20178 yr 17 minutes ago, frogmaster said: Pretty basic question, new to osbot development and just wanted to know how to retrieve the current players display name. So if I'm logged in with the account "Frogmaster", how do I retrieve this information. myPlayer().getName()
July 5, 20178 yr Author Thanks all, if(!current_players.containsKey(player.getName()) && !player.getName().equalsIgnoreCase(myPlayer().getName())) Works like a charm now to determine if the user is alone and nobody is around them. Recon I could've counted the size of the list as well, but I like this implementation more.