05.03.2009, 13:01
Hello
I made a custom ban command so it can be edited script-wise. When an admin uses /ban [playerid], it would write, like 192.168.0.1=1 in, example, banlist.ini into scriptfiles. If he is rangebanned it will write 192.168.*.*=1
The thing is that when a player connects, I can't figure out how to check if the player's IP has been rangebanned. Like if he connects with IP:192.168.23.102.
How can I check if his IP's rangebanned? (PS : I use different ranges at time)
Thanks alot for your time.
- X_Cutter
I made a custom ban command so it can be edited script-wise. When an admin uses /ban [playerid], it would write, like 192.168.0.1=1 in, example, banlist.ini into scriptfiles. If he is rangebanned it will write 192.168.*.*=1
The thing is that when a player connects, I can't figure out how to check if the player's IP has been rangebanned. Like if he connects with IP:192.168.23.102.
How can I check if his IP's rangebanned? (PS : I use different ranges at time)
Thanks alot for your time.
- X_Cutter