PC Help And Information Easy Maintenance And Free Software
 
HomePortalFAQSearchRegisterLog in

Share | 
 

 Client On Entery For WCS : Author Unknown

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: Client On Entery For WCS : Author Unknown   Thu Jun 24, 2010 1:13 am

this is something i found, it will show an admin message if the user enters on a client,
it does have a few seconds delay, to give server time to read the info,
i added a 0 files admin message, bacuse some rooms are strictly share or kick,

Code:
<OnEnter type="script">
<out>Put Your Normal Hello/Hi/Welcome %NAME% Etc Here</out>
<out condition="1" lvalue="%FILES%" rvalue="0">/opmsg %NAME% has 0 files</out>
<out type="push" extdata="CLIENTCHECK">1</out>
<out type="push" extdata="USERNAME">%NAME%</out>
<out type="push" extdata="USERRAWNAME">%RAWNAME%</out>
<out type="push" extdata="USERIP">%IP%</out>
<out type="push" extdata="USERHOSTNAME">%HOSTNAME%</out>
<out delay="4000">/hidecmd /stats %USERVAR[USERNAME]%</out>
</OnEnter>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[CLIENTCHECK]%" rvalue="1">
<in>Client: %PARAM%</in>
<out type="push" extdata="USERCLIENT">%PARAM%</out>
<out type="push" extdata="USERCLIENT" condition="?" lvalue="$TRANSTATUS$" rvalue="WPCC">1</out>
<out type="push" extdata="CLIENT_CHECK" condition="?" lvalue="$USERCLIENT$" rvalue="RoboMx">1</out>
<out type="push" extdata="CLIENT_CHECK" condition="?" lvalue="$USERCLIENT$" rvalue="Rabbit">1</out>
<out type="push" extdata="CLIENT_CHECK" condition="?" lvalue="$USERCLIENT$" rvalue="WPCC">1</out>
<out type="push" extdata="CLIENT_CHECK" condition="?" lvalue="$USERCLIENT$" rvalue="WinmxPeer">1</out>
<out type="push" extdata="CLIENT_CHECK" condition="?" lvalue="$USERCLIENT$" rvalue="Chat.Net">1</out>
<out type="push" extdata="CLIENT_CHECK" condition="?" lvalue="$USERCLIENT$" rvalue="WCB">1</out>
<out type="push" extdata="CLIENT_CHECK" condition="?" lvalue="$USERCLIENT$" rvalue="Metis">1</out>
<out condition="==" lvalue="$CLIENT_CHECK$" rvalue="1">/opmsg $USERNAME$ is using Client: $USERCLIENT$</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="USERRAWNAME"/>
<out type="pop" extdata="USERHOSTNAME"/>
<out type="pop" extdata="TRANSTATUS"/>
<out type="pop" extdata="CLIENT_CHECK"/>
</command>





Last edited by Max™ on Fri Jul 30, 2010 3:09 pm; edited 4 times in total (Reason for editing : better designed output's fixed a small error)
Back to top Go down
http://maxtech.youneed.us
 
Client On Entery For WCS : Author Unknown
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» VoIP SIP client for Blackberry, works over WIFI and 3G- $350
» unknown command "if"?!
» browser runs minimized at startup in selenium RC
» VoIP SIP softphone for Blackberry, works over WIFI and 3G- $
» Selenium is not identifying iframes

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