MaxTech
Would you like to react to this message? Create an account in a few clicks or log in to continue.


PC Help And Information Easy Maintenance And Free Software
 
HomePortalSearchLatest imagesRegisterLog in

 

 Partial IP Ban : By Zenar

Go down 
AuthorMessage
Steve™
Management

Management
Steve™


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

Partial IP Ban : By Zenar Empty
PostSubject: Partial IP Ban : By Zenar   Partial IP Ban : By Zenar EmptySat 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
https://maxtech.forumotion.com
 
Partial IP Ban : By Zenar
Back to top 
Page 1 of 1
 Similar topics
-
» Talk Or Be Kicked : By Zenar
» HangMan : By Zenar
» Mastermind : By Zenar
» Zenar Says GoodBye
» ZCS Zenar's Chat Sever

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