Code:
if (connectedFrom = allipsonline()...?) {

Can someone write a String array or something that gets ips added to it when someone logs in, and removed when logged out?

I also need it to be checked each time someone to logs in so... I need the most efficient way, and nothing comes to my mind that wouldn't cause lag