Steve™ Management
Number of posts : 2447 Home : At Home Humor : If Im Not Back Later... Wait Longer Registration date : 2007-07-30
| Subject: 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> | |
|