gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76794 Posts in 13503 Topics by 1651 Members - Latest Member: Arnold99 December 09, 2024, 10:28:13 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Accurate Room Stats Script
gfx
gfxgfx
 

Author Topic: Accurate Room Stats Script  (Read 2415 times)

0 Members and 1 Guest are viewing this topic.

Offline HolocausticReign

  • Forum Member
Accurate Room Stats Script
« on: November 28, 2007, 07:42:47 am »
So yeah, I kinda ganked omega's script, but threw it to work for the room and not an user, its more accurate because it uses the actually "/stats" cmd ;/

<command type="script">
<in>!roomstats</in>
<out type="push" extdata="STATS">1</out>
<out>/hidecmd /stats</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Channel Name: %PARAM%</in>
<out>/hidecmd /notice #c1#Channel #c1#name#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Host Uptime: %PARAM%</in>
<out>/hidecmd /notice #c1#Host #c1#Uptime#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Channel Uptime: %PARAM%</in>
<out>/hidecmd /notice #c1#Channel #c1#Uptime#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Current Users: %PARAM%</in>
<out>/hidecmd /notice #c1#Current #c1#Users#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Total Joins: %PARAM%</in>
<out>/hidecmd /notice #c1#Total #c1#Joins#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>WCS Version: %PARAM%</in>
<out>/hidecmd /notice #c1#WCS #c1#Version#c58#: #c1#%PARAM%</out>
<out type="self">!advanced</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_" mode="thread">
<in>!advanced*</in>
<out>/hidecmd /notice #c1#Time#c58#: #c1#%TIME% #c58#[#c1#-#c58#5#c1#GMT#c58#]</out>
<out>/hidecmd /notice #c1#Date#c58#: #c1#%DATE% #c58#[#c1#U#c58#.#c1#S#c58#]</out>
</command>
I hate everyone, I don't need a reason to hate them, I just hate them because they breathe.

Offline Snick512

  • Forum Member
Re: Accurate Room Stats Script
« Reply #1 on: December 07, 2007, 09:08:04 am »
NIce but erm..

Code: [Select]
<command type="script">
<in>!roomstats</in>
<out type="push" extdata="STATS">1</out>
<out>/hidecmd /stats</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Channel Name: %PARAM%</in>
<out>/hidecmd /notice #c1#Channel #c1#name#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Host Uptime: %PARAM%</in>
<out>/hidecmd /notice #c1#Host #c1#Uptime#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Channel Uptime: %PARAM%</in>
<out>/hidecmd /notice #c1#Channel #c1#Uptime#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Current Users: %PARAM%</in>
<out>/hidecmd /notice #c1#Current #c1#Users#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>Total Joins: %PARAM%</in>
<out>/hidecmd /notice #c1#Total #c1#Joins#c58#: #c1#%PARAM%</out>
</command>

<command mode="thread" type="script" condition="==" lvalue="%USERVAR[STATS]%" rvalue="1">
<in>WCS Version: %PARAM%</in>
<out>/hidecmd /notice #c1#WCS #c1#Version#c58#: #c1#%PARAM%</out>
<out type="self">!advanced</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_" mode="thread">
<in>!advanced*</in>
<out>/hidecmd /notice #c1#Time#c58#: #c1#%TIME% #c58#[#c1#-#c58#5#c1#GMT#c58#]</out>
<out>/hidecmd /notice #c1#Date#c58#: #c1#%DATE% #c58#[#c1#U#c58#.#c1#S#c58#]</out>
</command>

:)

WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Accurate Room Stats Script
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.011 seconds with 22 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!