I cant wrap my head around how you'd check a list of mobs and return mobs from that list who share the same IP address in one group. Any help would be appreciated.
e.g.
var/list/Players=(PlayerA,PlayerB,PlayerC,PlayerD,PlayerE,Player)
mob/verb/DoubleIPCheck()
for(var/mob/m in Players)
//do stuff
usr<<"Player A and Player F share the same IP! (127.0.0.1)"
usr<<"Player B and Player C share the same IP! (123.4.5.6)"
NB- I know the above code is somewhat retarded but its just to demonstrate what I want.