Steve™ Management
Number of posts : 2447 Home : At Home Humor : If Im Not Back Later... Wait Longer Registration date : 2007-07-30
| Subject: Multiple OnRename Kick : Author Unknown Tue Jul 31, 2007 5:29 pm | |
| yes its annoying when all someone does is rename without talking in room, because they are in another room, this kicks after 5 straight renames. - Code:
-
<config>
<OnRename type="script" usergroup="!admins"> <out type="push" extdata="ip5">$ip4$</out> <out type="push" extdata="ip4">$ip3$</out> <out type="push" extdata="ip3">$ip2$</out> <out type="push" extdata="ip2">$ip1$</out> <out type="push" extdata="ip1">%IP%</out> <out type="goto" extdata="10" condition="!=" lvalue=$ip5$ rvalue=$ip4$></out> <out type="goto" extdata="9" condition="!=" lvalue=$ip4$ rvalue=$ip3$></out> <out type="goto" extdata="8" condition="!=" lvalue=$ip3$ rvalue=$ip2$></out> <out type="goto" extdata="7" condition="!=" lvalue=$ip2$ rvalue=$ip1$></out> <out type="goto" extdata="6" condition="!=" lvalue=$ip1$ rvalue=$ip2$></out> <out>/kick %NEWRAWNAME%</out> <out type="pop" extdata="ip1"></out> <out type="pop" extdata="ip2"></out> <out type="pop" extdata="ip3"></out> <out type="pop" extdata="ip4"></out> <out type="pop" extdata="ip5"></out> <out type="break"></out> </OnRename>
</config> | |
|