PC Help And Information Easy Maintenance And Free Software
 
HomePortalFAQSearchRegisterLog in

Share | 
 

 Room Up Time : By Tiny4eva

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: Room Up Time : By Tiny4eva   Tue Jul 31, 2007 5:35 pm

Code:
<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>



Back to top Go down
http://maxtech.youneed.us
 
Room Up Time : By Tiny4eva
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Entering a time stamp in comment / text box?
» It's Time to Tab(TM) Video Contest
» How to set Wait time for the command(ClickandWait)
» Steps duration time in IDE
» Wiggle Time Photo Contest *Australia only*

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