Raised This Month: $ Target: $400
 0% 

Block IP Pattern (With Spaces)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 08-04-2019 , 18:38   Block IP Pattern (With Spaces)
Reply With Quote #1

Is there any way to block ips shared like this.

91 87 88 92
OR
91 87 88 92 27015

I saw this in Alka Code, will this be helpful?

PHP Code:
if(digits && periods 2)
 {
  
server_cmd("amx_kick ^"%s^" %s"szNamereason); 
By the way this is just idea, I would like, Replace Text instead of kick, Replace Text: Stop Advertising !! or plugin made by any means, protects server from such kind of ip sharing, like: Regex if it helps, etc, anything, would be appreciated.

Last edited by Alber9091; 08-04-2019 at 18:55.
Alber9091 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode