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 25, 2024, 12:04:02 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  How long your room has been open
gfx
gfxgfx
 

Author Topic: How long your room has been open  (Read 2920 times)

0 Members and 1 Guest are viewing this topic.

Offline Lagerlout666

  • Forum Member
How long your room has been open
« on: December 03, 2006, 07:32:45 pm »
Code: [Select]
<OnEnter type="script">
<out type="push" extdata="AWAYSECOND0">1</out>
<out type="push" extdata="AWAYMINUTE0">1</out>
<out type="push" extdata="AWAYHOUR0">1</out>
<out type="push" extdata="AWAYDAYDATE0">1</out>
<out type="push" extdata="AWAYMONTH10">6</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="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">#c2#$AWAYTIMEDAYS0$ days#c62#,</out>
<out type="push" extdata="AWAYTIMEDAYS0" condition="==" lvalue="$AWAYTIMEDAYS0$" rvalue="01">#c2#$AWAYTIMEDAYS0$ day#c62#,</out>
<out type="push" extdata="AWAYTIMEDAYS0" condition="==" lvalue="$AWAYTIMEDAYS0$" rvalue="00"></out>
<out type="push" extdata="AWAYTIMEHOURS0" condition=">" lvalue="$AWAYTIMEHOURS0$" rvalue="01">#c2#$AWAYTIMEHOURS0$ hours#c62#,</out>
<out type="push" extdata="AWAYTIMEHOURS0" condition="==" lvalue="$AWAYTIMEHOURS0$" rvalue="01">#c2#$AWAYTIMEHOURS0$ hour#c62#,</out>
<out type="push" extdata="AWAYTIMEHOURS0" condition="==" lvalue="$AWAYTIMEHOURS0$" rvalue="00">#c2#00 hours#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS0" condition=">" lvalue="$AWAYTIMEMINS0$" rvalue="01">#c2#$AWAYTIMEMINS0$ mins#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS0" condition="==" lvalue="$AWAYTIMEMINS0$" rvalue="01">#c2#$AWAYTIMEMINS0$ min#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS0" condition="==" lvalue="$AWAYTIMEMINS0$" rvalue="00">#c2#00 mins#c62#,</out>
<out type="push" extdata="AWAYTIMESECS0" condition=">" lvalue="$AWAYTIMESECS0$" rvalue="01">#c2#$AWAYTIMESECS0$ secs#c62#.</out>
<out type="push" extdata="AWAYTIMESECS0" condition="==" lvalue="$AWAYTIMESECS0$" rvalue="01">#c2#$AWAYTIMESECS0$ sec#c62#.</out>
<out type="push" extdata="AWAYTIMESECS0" condition="==" lvalue="$AWAYTIMESECS0$" rvalue="00">#c2#00 secs#c62#,</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>/message %NAME% #c62#This Room Has Been Open For:#c2# $MINUSMONTHS$ Months#c62#, $AWAYTIMEDAYS0$ $AWAYTIMEHOURS0$ $AWAYTIMEMINS0$ $AWAYTIMESECS0$</out>
</OnEnter>

You need to change the
Code: [Select]
<out type="push" extdata="AWAYSECOND0">1</out>
<out type="push" extdata="AWAYMINUTE0">1</out>
<out type="push" extdata="AWAYHOUR0">1</out>
<out type="push" extdata="AWAYDAYDATE0">1</out>
<out type="push" extdata="AWAYMONTH10">6</out>
<out type="push" extdata="AWAYYEAR0">2006</out>

to the date when you room opened, it will display how long it has been open to the second when a user enters
The Solution to 99% of winmx problems

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

Praise's daily at the church of "Kopimi"

Jos

  • Guest
Re: How long your room has been open
« Reply #1 on: April 08, 2007, 12:29:34 am »
Hello There.. this code  wont work : <out type="push" extdata="AWAYDAYDATE0">1</out>
If  chance to 2 or 3 or 4 its stays telling 7 days....can you help me
Greetings from holland
Jos

Offline J a M e S

  • Forum Member
  • www.lovehosts.com
    • Great Web Hosting
Re: How long your room has been open
« Reply #2 on: April 08, 2007, 12:58:50 pm »
uh.. UHH

you make music?
Learn From Yesterday, Live For Today, Hope For Tomorow!
www.lovehosts.com

Offline Jos

  • Forum Member
Re: How long your room has been open
« Reply #3 on: April 08, 2007, 02:22:13 pm »
uh.. UHH

you make music?
No..I dont understand your answer...I ask about The Code in mi Metis  mxc file..<out type="push" extdata="AWAYDAYDATE0">1</out>  the 1  chanche in 4 but stil count from the first day of the month..so the wrong date of opening of my room come in vieuw for the roomies..
Greetings From Holland...Jos

Offline J a M e S

  • Forum Member
  • www.lovehosts.com
    • Great Web Hosting
Re: How long your room has been open
« Reply #4 on: April 08, 2007, 06:08:22 pm »
sorry, kinda got exited there, lol

i know nothing about this script and was kinda off topic, i just saw the name "Jos"  from "Holand" 

i know a DJ from holland named Jos

sorry,

James
Learn From Yesterday, Live For Today, Hope For Tomorow!
www.lovehosts.com

WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  How long your room has been open
 

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!