PC Help And Information Easy Maintenance And Free Software
 
HomePortalFAQSearchRegisterLog in

Share | 
 

 Partial IP Ban : By Zenar

View previous topic View next topic Go down 
AuthorMessage
Steve™
Management

Management
avatar

Male
Number of posts : 2447
Home : At Home
Humor : If Im Not Back Later... Wait Longer
Registration date : 2007-07-30

PostSubject: Partial IP Ban : By Zenar   Sat Aug 22, 2009 4:07 pm

this was made by Zenar, it will ban by the first & second parts of an IP, also its best to add safe users to a usergroup that share a partial IP with unwanted visitors.
Code:
//Put all partial IP here to ban ((It will kick the first 2 numbers of the IP)).
<OnEnter type="script" usergroup="!NOban">
<out type="push" extdata="1302"><operator type="strrfind" lvalue="%USERVAR[1301]%" rvalue="."/></out>
<out type="push" extdata="1303"><operator type="strleft" lvalue="%IP%" rvalue="%USERVAR[1302]%"/></out>
<out type="script" condition="==" lvalue="%USERVAR[1303]%" rvalue="172.159">/kickban %NAME%</out>
</OnEnter>

<usergroup name="NOban" case="1">
*stars*
</usergroup>



Back to top Go down
http://maxtech.youneed.us
 
Partial IP Ban : By Zenar
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» OMG.. a cure.. a partial cure..at least an answer for sure!
» Forumactif Edge - Romanian Translation (Partial)

Permissions in this forum:You cannot reply to topics in this forum
MaxTech ::  The World Of WinMX Chat :: Metis Working Scripts Centre-
Jump to: