it turns out that thing doesn't work, both methods. i tested this today and it considers every ip as a lan, even public ips.
edit: i have an idea that might help with this situation, which is to put the 4 parts of a player's ip into arrays so that way we can compare them.
Code:
mems(0) IP(my public ip here) is a LAN type, therefore able to enter the server.
edit: i have an idea that might help with this situation, which is to put the 4 parts of a player's ip into arrays so that way we can compare them.