0 Members and 1 Guest are viewing this topic.
<OnJoinRoom type="script"><out type="push" extdata="ClientCheck">0</out></OnJoinRoom><OnEnter type="script"><out type="push" extdata="ClientCheck">1</out><out type="push" extdata="ClientName">%NAME%</out><out>/hidecmd /stats %USERVAR[ClientName]%</out></OnEnter><command type="script" condition="==" lvalue="%USERVAR[ClientCheck]%" rvalue="1"><in>Client: %PARAM%</in><out condition="_?" lvalue="%PARAM%" rvalue="RoboMX">/kick %USERVAR[ClientName]%</out><out type="push" extdata="ClientCheck">0</out></command>
Something alo the lines of:Code: [Select]<OnJoinRoom type="script"><out type="push" extdata="ClientCheck">0</out></OnJoinRoom><OnEnter type="script"><out type="push" extdata="ClientCheck">1</out><out type="push" extdata="ClientName">%NAME%</out><out>/hidecmd /stats %USERVAR[ClientName]%</out></OnEnter><command type="script" condition="==" lvalue="%USERVAR[ClientCheck]%" rvalue="1"><in>Client: %PARAM%</in><out condition="_?" lvalue="%PARAM%" rvalue="RoboMX">/kick %USERVAR[ClientName]%</out><out type="push" extdata="ClientCheck">0</out></command>Should work on RSWCS may need adapting for other servers.
As we do not support Richy or his hacked up version of KM's wcs I will respectfully ask that it not be named again in this thread or any other. I will personally lock the topic myself and further steps may be taken to ensure that we do not refference it in this thread or any other except for the threads warning of its backdoor capabilities. I personally thank you for posting but I again ask that you do not refference it again.
Don't you think this stance is a bit heavy handed. I personally wouldn't use it but I think banning the naming of it is a step to far. Also I just wanted to note that the script posted above will work fine on the vanilla WCS.
<command><in>Name has entered with %PARAM%</in><out>client %PARAM%</out></command>
<config><OnEnter type="script"><out type="sleep" extdata="10000"/><out type="push" extdata="CLIENTCHECK">1</out><out type="push" extdata="USERNAME">%NAME%</out><out type="push" extdata="USERIP">%IP%</out><out>/hidecmd /stats %USERVAR[USERNAME]%</out></OnEnter><command mode="thread" type="script" condition="==" lvalue="%USERVAR[CLIENTCHECK]%" rvalue="1"><in>Transfer Status: %PARAM%</in><out type="push" extdata="TRANSTATUS">%PARAM%</out></command><command mode="thread" type="script" condition="==" lvalue="%USERVAR[CLIENTCHECK]%" rvalue="1"><in>Client: %PARAM%</in><out type="push" extdata="USERCLIENT">%PARAM%</out><out>/hidecmd /gnotice @ #c7#User Name: #c3#$USERNAME$ #c7#Client: #c3#$USERCLIENT$</out><out delay="100" condition="?" lvalue="$USERCLIENT$" rvalue="WPCC">/hidecmd /gnotice @ #c9#Illegal Client Detected: #c3#$USERCLIENT$</out><out delay="100" condition="?" lvalue="$USERCLIENT$" rvalue="WPCC">/hidecmd /gnotice @ #c8#$USERNAME$ #c1#Banned For Illegal Client</out><out delay="100" condition="?" lvalue="$USERCLIENT$" rvalue="WPCC">/hidecmd /kickban $USERNAME$</out><out type="goto" extdata="6" condition="?" lvalue="$USERCLIENT$" rvalue="WPCC"></out><out>/hidecmd /gnotice @ #c7#User Name: #c3#$USERNAME$ #c7#Transfer Status: #c3#$TRANSTATUS$</out><out delay="100" condition="?" lvalue="$TRANSTATUS$" rvalue="WPCC">/hidecmd /gnotice @ #c9#Illegal Client Detected: #c3#WPCC #c1#(#c8#Manipulated To Report as #c3#$USERCLIENT$#c1#)</out><out delay="100" condition="?" lvalue="$TRANSTATUS$" rvalue="WPCC">/hidecmd /gnotice @ #c8#$USERNAME$ #c1#Banned For Illegal Client</out><out delay="100" condition="?" lvalue="$TRANSTATUS$" rvalue="WPCC">/hidecmd /kickban $USERNAME$</out><out type="pop" extdata="USERIP"/><out type="pop" extdata="USERCLIENT"/><out type="pop" extdata="CLIENTCHECK"/><out type="pop" extdata="USERNAME"/><out type="pop" extdata="TRANSTATUS"/></command></config>