View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-31-2021 , 00:57   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1491

The "ip valid" check uses RegEx so it should work reliably. However, you may need to make sure that you put it in quotes, I can't remember if the default parsing mechanism handles a decimal point as a valid character or a delimiter.

It uses the following pattern:

Code:
\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b
And you can test it on a site like this to see if what you're typing is valid.

If you can't get it to work, please paste exactly what you were typing and put it between [code][/code] tags. If you want to anonymize the IP address, change a couple of the numbers but don't change the number of characters that are in the IP.
__________________
fysiks is offline