gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 November 23, 2024, 01:54:55 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Room Up Time by Tiny4eva, moded for FX by Max
gfx
gfxgfx
 

Author Topic: Room Up Time by Tiny4eva, moded for FX by Max  (Read 2171 times)

0 Members and 1 Guest are viewing this topic.

Offline Max™

  • MX Hosts
  • *****
  • If Im Not Back later... Wait Longer
    • Maxtech
Room Up Time by Tiny4eva, moded for FX by Max
« on: December 02, 2006, 02:04:31 am »
i dont remember who created this script originally, i did edit it and mess with colours to suit me FXS room
activate this and it shows when your room opened, then when someone enters it shows how long the room has been open
when activated
Quote
This Room Has Been open since -( 13 : May : 2006 @ 18 : 45 : 30 )-
on entry, your visitors see
Quote
This room has been open for: 4 Months 21 Days 23 Hours 56 Mins 07 Secs
you have to add your opening date at the top of the script as shown, or it will have the rong date on it
Quote
<command type="script">
<in>!uptime</in>
<out type="push" extdata="AWAYSECOND0">30</out> // the second if you want to
<out type="push" extdata="AWAYMINUTE0">45</out> // the minute you opened
<out type="push" extdata="AWAYHOUR0">18</out> // the hour you opened
<out type="push" extdata="AWAYDAYDATE0">13</out> // the day/date you opened
<out type="push" extdata="AWAYMONTH10">5</out> // the month you opened
<out type="push" extdata="AWAYYEAR0">2006</out> /the year you opened
Code: [Select]
<config>
<command type="script">
<in>!uptime</in>
<out type="push" extdata="AWAYSECOND0">30</out>
<out type="push" extdata="AWAYMINUTE0">45</out>
<out type="push" extdata="AWAYHOUR0">18</out>
<out type="push" extdata="AWAYDAYDATE0">13</out>
<out type="push" extdata="AWAYMONTH10">5</out>
<out type="push" extdata="AWAYYEAR0">2006</out>

<out type="push" extdata="AWAYSECONDlength0"><operator type="strlen" lvalue="$AWAYSECOND0$"/></out>
<out type="push" extdata="AWAYSECOND0" condition="==" lvalue="$AWAYSECONDlength0$" rvalue="1">0$AWAYSECOND0$</out>
<out type="push" extdata="AWAYMINUTElength0"><operator type="strlen" lvalue="$AWAYMINUTE0$"/></out>
<out type="push" extdata="AWAYMINUTE0" condition="==" lvalue="$AWAYMINUTElength0$" rvalue="1">0$AWAYMINUTE0$</out>
<out type="push" extdata="AWAYHOURlength0"><operator type="strlen" lvalue="$AWAYHOUR0$"/></out>
<out type="push" extdata="AWAYHOUR0" condition="==" lvalue="$AWAYHOURlength0$" rvalue="1">0$AWAYHOUR0$</out>

<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="1">January</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="2">February</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="3">March</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="4">April</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="5">May</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="6">June</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="7">July</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="8">August</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="9">September</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="10">October</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="11">November</out>
<out type="push" extdata="AWAYMONTH0" condition="==" lvalue="$AWAYMONTH10$" rvalue="12">December</out>

<out type="push" extdata="AWAYDATE10">$AWAYDAYDATE0$ : $AWAYMONTH0$ : $AWAYYEAR0$</out>
<out type="push" extdata="AWAYTIME10">$AWAYHOUR0$ : $AWAYMINUTE0$ : $AWAYSECOND0$</out>
<out type="push" extdata="SET0">1</out>
<out>This Room Has Been open since -( #c15#$AWAYDAYDATE0$ #c21#: #c15#$AWAYMONTH0$ #c21#: #c15#$AWAYYEAR0$ #c21#@ #c15#$AWAYHOUR0$ #c21#: #c15#$AWAYMINUTE0$ #c21#: #c15#$AWAYSECOND0$ #c21#)-</out>
</command>

<OnEnter type="script" condition="==" lvalue="$SET0$" rvalue="1" mode="thread" flood="7">
<out type="pop" extdata="SAMEMONTH0"></out>
<out type="pop" extdata="SAMEDAY0"></out>
<out type="pop" extdata="GONEDAY0"></out>
<out type="pop" extdata="GONEINHOURS0"></out>
<out type="pop" extdata="GONEINMINS0"></out>
<out type="pop" extdata="GONEINSECS0"></out>
<out type="pop" extdata="AWAYTIMEMINS0"></out>
<out type="pop" extdata="AWAYTIMESECS20"></out>
<out type="pop" extdata="AWAYTIMESECS0"></out>
<out type="pop" extdata="AWAYTIMEHOURS0"></out>
<out type="pop" extdata="AWAYTIMEMINS20"></out>
<out type="pop" extdata="AWAYTIMEDAYS0"></out>
<out type="pop" extdata="AWAYTIMEHOURS20"></out>

<out type="push" extdata="SAMEDAY0" condition="==" lvalue="$AWAYDAYDATE0$" rvalue="%DAY%">1</out>

<out type="push" extdata="GONEDAY0" condition="!=" lvalue="$SAMEDAY0$" rvalue="1"><operator type="-" lvalue="%DAY%" rvalue="$AWAYDAY0$"/></out>
<out type="push" extdata="GONEINHOURS0" condition=">" lvalue="$GONEDAY0$" rvalue="0"><operator type="*" lvalue="$GONEDAY0$" rvalue="24"/></out>
<out type="push" extdata="GONEINHOURS0"><operator type="+" lvalue="$GONEINHOURS0$" rvalue="%HOUR%"/></out>
<out type="push" extdata="GONEINHOURS0"><operator type="-" lvalue="$GONEINHOURS0$" rvalue="$AWAYHOUR0$"/></out>
<out type="push" extdata="GONEINMINS0" condition=">" lvalue="$GONEINHOURS0$" rvalue="0"><operator type="*" lvalue="$GONEINHOURS0$" rvalue="60"/></out>
<out type="push" extdata="GONEINMINS0"><operator type="+" lvalue="$GONEINMINS0$" rvalue="%MINUTE%"/></out>
<out type="push" extdata="GONEINMINS0"><operator type="-" lvalue="$GONEINMINS0$" rvalue="$AWAYMINUTE0$"/></out>
<out type="push" extdata="GONEINSECS0" condition=">" lvalue="$GONEINMINS0$" rvalue="0"><operator type="*" lvalue="$GONEINMINS0$" rvalue="60"/></out>
<out type="push" extdata="GONEINSECS0"><operator type="+" lvalue="$GONEINSECS0$" rvalue="%SECOND%"/></out>
<out type="push" extdata="GONEINSECS0"><operator type="-" lvalue="$GONEINSECS0$" rvalue="$AWAYSECOND0$"/></out>

<out type="push" extdata="AWAYTIMEMINS0"><operator type="/" lvalue="$GONEINSECS0$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMESECS20"><operator type="*" lvalue="$AWAYTIMEMINS0$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMESECS0"><operator type="-" lvalue="$GONEINSECS0$" rvalue="$AWAYTIMESECS20$"/></out>
<out type="push" extdata="AWAYTIMEHOURS0"><operator type="/" lvalue="$AWAYTIMEMINS0$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMEMINS20"><operator type="*" lvalue="$AWAYTIMEHOURS0$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMEMINS0"><operator type="-" lvalue="$AWAYTIMEMINS0$" rvalue="$AWAYTIMEMINS20$"/></out>
<out type="push" extdata="AWAYTIMEDAYS0"><operator type="/" lvalue="$AWAYTIMEHOURS0$" rvalue="24"/></out>
<out type="push" extdata="AWAYTIMEHOURS20"><operator type="*" lvalue="$AWAYTIMEDAYS0$" rvalue="24"/></out>
<out type="push" extdata="AWAYTIMEHOURS0"><operator type="-" lvalue="$AWAYTIMEHOURS0$" rvalue="$AWAYTIMEHOURS20$"/></out>

<out type="push" extdata="AWAYTIMEDAYS0" condition="<" lvalue="$AWAYTIMEDAYS0$" rvalue="10">0$AWAYTIMEDAYS0$</out>
<out type="push" extdata="AWAYTIMEHOURS0" condition="<" lvalue="$AWAYTIMEHOURS0$" rvalue="10">0$AWAYTIMEHOURS0$</out>
<out type="push" extdata="AWAYTIMEMINS0" condition="<" lvalue="$AWAYTIMEMINS0$" rvalue="10">0$AWAYTIMEMINS0$</out>
<out type="push" extdata="AWAYTIMESECS0" condition="<" lvalue="$AWAYTIMESECS0$" rvalue="10">0$AWAYTIMESECS0$</out>

<out type="push" extdata="AWAYTIMEDAYS0" condition=">" lvalue="$AWAYTIMEDAYS0$" rvalue="01">$AWAYTIMEDAYS0$</out>
<out type="push" extdata="AWAYTIMEDAYS0" condition="==" lvalue="$AWAYTIMEDAYS0$" rvalue="01">$AWAYTIMEDAYS0$</out>
<out type="push" extdata="AWAYTIMEDAYS0" condition="==" lvalue="$AWAYTIMEDAYS0$" rvalue="00"></out>
<out type="push" extdata="AWAYTIMEHOURS0" condition=">" lvalue="$AWAYTIMEHOURS0$" rvalue="01">$AWAYTIMEHOURS0$</out>
<out type="push" extdata="AWAYTIMEHOURS0" condition="==" lvalue="$AWAYTIMEHOURS0$" rvalue="01">$AWAYTIMEHOURS0$</out>
<out type="push" extdata="AWAYTIMEHOURS0" condition="==" lvalue="$AWAYTIMEHOURS0$" rvalue="00">00</out>
<out type="push" extdata="AWAYTIMEMINS0" condition=">" lvalue="$AWAYTIMEMINS0$" rvalue="01">$AWAYTIMEMINS0$</out>
<out type="push" extdata="AWAYTIMEMINS0" condition="==" lvalue="$AWAYTIMEMINS0$" rvalue="01">$AWAYTIMEMINS0$</out>
<out type="push" extdata="AWAYTIMEMINS0" condition="==" lvalue="$AWAYTIMEMINS0$" rvalue="00">00</out>
<out type="push" extdata="AWAYTIMESECS0" condition=">" lvalue="$AWAYTIMESECS0$" rvalue="01">$AWAYTIMESECS0$</out>
<out type="push" extdata="AWAYTIMESECS0" condition="==" lvalue="$AWAYTIMESECS0$" rvalue="01">$AWAYTIMESECS0$</out>
<out type="push" extdata="AWAYTIMESECS0" condition="==" lvalue="$AWAYTIMESECS0$" rvalue="00">00</out>

<out type="push" extdata="localtime21">%MONTH%</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="January">1</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="February">2</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="March">3</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="April">4</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="May">5</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="June">6</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="July">7</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="August">8</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="September">9</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="October">10</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="November">11</out>
<out type="push" extdata="AWAYMONTH10" condition="==" lvalue="$localtime21$" rvalue="December">12</out>
<out type="push" extdata="shortlocaltime21"><operator type="strleft" rvalue="2" lvalue="$localtime21$"/></out>
<out type="push" extdata="localminutes"><operator type="strrem" rvalue="$shortlocaltime21$" lvalue="$localtime21$"/></out>
<out type="push" extdata="MINUSMONTHS"><operator type="-" lvalue="$shortlocaltime21$" rvalue="$AWAYMONTH10$"/></out>
<out delay="1000">This room has been open for: #c2#$MINUSMONTHS$ #c21#Months #c2#$AWAYTIMEDAYS0$ #c21#Days #c2#$AWAYTIMEHOURS0$ #c21#Hours #c2#$AWAYTIMEMINS0$ #c21#Mins #c2#$AWAYTIMESECS0$ #c21#Secs</out>
</OnEnter>
</config>



Try Connecting, the attacks may let you  https://patch.winmxconex.com/

Offline Lagerlout666

  • Forum Member
Re: Room Up Time
« Reply #1 on: December 06, 2006, 11:03:33 am »
I did max and i posted it, didnt realise you had posted it before me but thats ok. glad you modified it for fx serve as i posted for my home server of wcs so maybe both versions could be merged glad you like it and use it. i modified it from the away script made by someone.
The Solution to 99% of winmx problems

nap.winmxgroup.net        -ONLINE again YAY!!!!!! :D

Praise's daily at the church of "Kopimi"

Offline Max™

  • MX Hosts
  • *****
  • If Im Not Back later... Wait Longer
    • Maxtech
Re: Room Up Time
« Reply #2 on: December 06, 2006, 01:46:09 pm »
thanks Tiny4eva, it works brill in mine, plz can admin,mod, ultimate power amend my post adding Tiny4eva as the auther for us, thanks



Try Connecting, the attacks may let you  https://patch.winmxconex.com/

Offline Me Here

  • Ret. WinMX Special Forces
  • WMW Team
  • *****
  • We came, We Saw, We definitely Kicked Ass!
Re: Room Up Time by Tiny4eva, moded for FX by Max
« Reply #3 on: December 06, 2006, 01:59:17 pm »
Yalls wishes are my command  :wink:
Changed Topic header

Offline Max™

  • MX Hosts
  • *****
  • If Im Not Back later... Wait Longer
    • Maxtech
Re: Room Up Time by Tiny4eva, moded for FX by Max
« Reply #4 on: December 06, 2006, 08:27:48 pm »
thx all powerfull & good looking boss



Try Connecting, the attacks may let you  https://patch.winmxconex.com/

WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Room Up Time by Tiny4eva, moded for FX by Max
 

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