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, 04:03:01 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Away and back script
gfx
gfxgfx
 

Author Topic: Away and back script  (Read 1920 times)

0 Members and 1 Guest are viewing this topic.

Offline Lagerlout666

  • Forum Member
Away and back script
« on: December 03, 2006, 07:35:34 pm »
Code: [Select]
<command type="script" condition="==" lvalue="%NAME%" rvalue="G/¥\Á Deus ex machina [W/¥\W]">
<in>!away %PARAM%</in>

<out type="push" extdata="AWAYSECOND">%SECOND%</out>
<out type="push" extdata="AWAYMINUTE">%MINUTE%</out>
<out type="push" extdata="AWAYHOUR">%HOUR%</out>
<out type="push" extdata="AWAYDAYDATE">%DAY%</out>
<out type="push" extdata="AWAYMONTH1">%MONTH%</out>
<out type="push" extdata="AWAYYEAR">%YEAR%</out>

<out type="push" extdata="AWAYSECONDlength"><operator type="strlen" lvalue="$AWAYSECOND$"/></out>
<out type="push" extdata="AWAYSECOND" condition="==" lvalue="$AWAYSECONDlength$" rvalue="1">0$AWAYSECOND$</out>
<out type="push" extdata="AWAYMINUTElength"><operator type="strlen" lvalue="$AWAYMINUTE$"/></out>
<out type="push" extdata="AWAYMINUTE" condition="==" lvalue="$AWAYMINUTElength$" rvalue="1">0$AWAYMINUTE$</out>
<out type="push" extdata="AWAYHOURlength"><operator type="strlen" lvalue="$AWAYHOUR$"/></out>
<out type="push" extdata="AWAYHOUR" condition="==" lvalue="$AWAYHOURlength$" rvalue="1">0$AWAYHOUR$</out>

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

<out type="push" extdata="AWAYDATE1">[ #c51#$AWAYDAYDATE$ #c51#$AWAYMONTH$ #c51#$AWAYYEAR$ #c1#]</out>
<out type="push" extdata="AWAYTIME1">[ #c51#$AWAYHOUR$#c1#:#c51#$AWAYMINUTE$#c1#.#c51#$AWAYSECOND$ #c1#]</out>
<out type="push" extdata="SET">1</out>
<out type="push" extdata="AWAY">%PARAM%</out>
<out> G/¥\Á Deus ex machina [W/¥\W] #c62#away #c62#status #c62#has #c62#now #c62#been #c62#set #c62#to:- </out>
<out> #c9#¤#c8#·#c1#´¯`#c8#·#c9#-( #c8#$AWAY$ #c9#)-#c8#·#c1#´¯`#c8#·#c9#¤</out>
</command>

<command type="script" condition="==" lvalue="$SET$" rvalue="1" mode="thread" flood="7">
<in>*tiny*</in>
<in>*ryan*</in>
<in>*Deus*</in>
<in>*ex*</in>
<in>machina</in>
<in>*G/¥\Á Deus ex machina [W/¥\W]*</in>
<in>*Deus ex machina*</in>
<out type="pop" extdata="SAMEMONTH"></out>
<out type="pop" extdata="SAMEDAY"></out>
<out type="pop" extdata="GONEDAY"></out>
<out type="pop" extdata="GONEINHOURS"></out>
<out type="pop" extdata="GONEINMINS"></out>
<out type="pop" extdata="GONEINSECS"></out>
<out type="pop" extdata="AWAYTIMEMINS"></out>
<out type="pop" extdata="AWAYTIMESECS2"></out>
<out type="pop" extdata="AWAYTIMESECS"></out>
<out type="pop" extdata="AWAYTIMEHOURS"></out>
<out type="pop" extdata="AWAYTIMEMINS2"></out>
<out type="pop" extdata="AWAYTIMEDAYS"></out>
<out type="pop" extdata="AWAYTIMEHOURS2"></out>

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

<out type="push" extdata="GONEDAY" condition="!=" lvalue="$SAMEDAY$" rvalue="1"><operator type="-" lvalue="%DAY%" rvalue="$AWAYDAY$"/></out>
<out type="push" extdata="GONEINHOURS" condition=">" lvalue="$GONEDAY$" rvalue="0"><operator type="*" lvalue="$GONEDAY$" rvalue="24"/></out>
<out type="push" extdata="GONEINHOURS"><operator type="+" lvalue="$GONEINHOURS$" rvalue="%HOUR%"/></out>
<out type="push" extdata="GONEINHOURS"><operator type="-" lvalue="$GONEINHOURS$" rvalue="$AWAYHOUR$"/></out>
<out type="push" extdata="GONEINMINS" condition=">" lvalue="$GONEINHOURS$" rvalue="0"><operator type="*" lvalue="$GONEINHOURS$" rvalue="60"/></out>
<out type="push" extdata="GONEINMINS"><operator type="+" lvalue="$GONEINMINS$" rvalue="%MINUTE%"/></out>
<out type="push" extdata="GONEINMINS"><operator type="-" lvalue="$GONEINMINS$" rvalue="$AWAYMINUTE$"/></out>
<out type="push" extdata="GONEINSECS" condition=">" lvalue="$GONEINMINS$" rvalue="0"><operator type="*" lvalue="$GONEINMINS$" rvalue="60"/></out>
<out type="push" extdata="GONEINSECS"><operator type="+" lvalue="$GONEINSECS$" rvalue="%SECOND%"/></out>
<out type="push" extdata="GONEINSECS"><operator type="-" lvalue="$GONEINSECS$" rvalue="$AWAYSECOND$"/></out>

<out type="push" extdata="AWAYTIMEMINS"><operator type="/" lvalue="$GONEINSECS$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMESECS2"><operator type="*" lvalue="$AWAYTIMEMINS$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMESECS"><operator type="-" lvalue="$GONEINSECS$" rvalue="$AWAYTIMESECS2$"/></out>
<out type="push" extdata="AWAYTIMEHOURS"><operator type="/" lvalue="$AWAYTIMEMINS$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMEMINS2"><operator type="*" lvalue="$AWAYTIMEHOURS$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMEMINS"><operator type="-" lvalue="$AWAYTIMEMINS$" rvalue="$AWAYTIMEMINS2$"/></out>
<out type="push" extdata="AWAYTIMEDAYS"><operator type="/" lvalue="$AWAYTIMEHOURS$" rvalue="24"/></out>
<out type="push" extdata="AWAYTIMEHOURS2"><operator type="*" lvalue="$AWAYTIMEDAYS$" rvalue="24"/></out>
<out type="push" extdata="AWAYTIMEHOURS"><operator type="-" lvalue="$AWAYTIMEHOURS$" rvalue="$AWAYTIMEHOURS2$"/></out>

<out type="push" extdata="AWAYTIMEDAYS" condition="<" lvalue="$AWAYTIMEDAYS$" rvalue="10">0$AWAYTIMEDAYS$</out>
<out type="push" extdata="AWAYTIMEHOURS" condition="<" lvalue="$AWAYTIMEHOURS$" rvalue="10">0$AWAYTIMEHOURS$</out>
<out type="push" extdata="AWAYTIMEMINS" condition="<" lvalue="$AWAYTIMEMINS$" rvalue="10">0$AWAYTIMEMINS$</out>
<out type="push" extdata="AWAYTIMESECS" condition="<" lvalue="$AWAYTIMESECS$" rvalue="10">0$AWAYTIMESECS$</out>

<out type="push" extdata="AWAYTIMEDAYS" condition=">" lvalue="$AWAYTIMEDAYS$" rvalue="01">#c8#$AWAYTIMEDAYS$ days#c62#,</out>
<out type="push" extdata="AWAYTIMEDAYS" condition="==" lvalue="$AWAYTIMEDAYS$" rvalue="01">#c8#$AWAYTIMEDAYS$ day#c62#,</out>
<out type="push" extdata="AWAYTIMEDAYS" condition="==" lvalue="$AWAYTIMEDAYS$" rvalue="00"></out>
<out type="push" extdata="AWAYTIMEHOURS" condition=">" lvalue="$AWAYTIMEHOURS$" rvalue="01">#c8#$AWAYTIMEHOURS$ hours#c62#,</out>
<out type="push" extdata="AWAYTIMEHOURS" condition="==" lvalue="$AWAYTIMEHOURS$" rvalue="01">#c8#$AWAYTIMEHOURS$ hour#c62#,</out>
<out type="push" extdata="AWAYTIMEHOURS" condition="==" lvalue="$AWAYTIMEHOURS$" rvalue="00">#c8#00 hours#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS" condition=">" lvalue="$AWAYTIMEMINS$" rvalue="01">#c8#$AWAYTIMEMINS$ mins#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS" condition="==" lvalue="$AWAYTIMEMINS$" rvalue="01">#c8#$AWAYTIMEMINS$ min#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS" condition="==" lvalue="$AWAYTIMEMINS$" rvalue="00">#c8#00 mins#c62#,</out>
<out type="push" extdata="AWAYTIMESECS" condition=">" lvalue="$AWAYTIMESECS$" rvalue="01">#c8#$AWAYTIMESECS$ secs#c62#.</out>
<out type="push" extdata="AWAYTIMESECS" condition="==" lvalue="$AWAYTIMESECS$" rvalue="01">#c8#$AWAYTIMESECS$ sec#c62#.</out>
<out type="push" extdata="AWAYTIMESECS" condition="==" lvalue="$AWAYTIMESECS$" rvalue="00">#c8#00 secs#c62#,</out>


<out> G/¥\Á Deus ex machina [W/¥\W] is #c62#currently #c62#away #c62#from #c62#the #c62#keyboard</out>
<out> #c62#His #c62#status #c62#is:- #c9#¤#c8#·#c1#´¯`#c8#·#c9#-( #c8#$AWAY$ #c9#)-#c8#·#c1#´¯`#c8#·#c9#¤</out>
<out> #c62#He #c62#has #c62#been #c62#away #c62#for:- $AWAYTIMEDAYS$ $AWAYTIMEHOURS$ $AWAYTIMEMINS$ $AWAYTIMESECS$</out>
</command>

<command type="script" condition="==" lvalue="%NAME%" rvalue="G/¥\Á Deus ex machina [W/¥\W]">
<in>!imback</in>
<out type="pop" extdata="SAMEMONTH"></out>
<out type="pop" extdata="SAMEDAY"></out>
<out type="pop" extdata="GONEDAY"></out>
<out type="pop" extdata="GONEINHOURS"></out>
<out type="pop" extdata="GONEINMINS"></out>
<out type="pop" extdata="GONEINSECS"></out>
<out type="pop" extdata="AWAYTIMEMINS"></out>
<out type="pop" extdata="AWAYTIMESECS2"></out>
<out type="pop" extdata="AWAYTIMESECS"></out>
<out type="pop" extdata="AWAYTIMEHOURS"></out>
<out type="pop" extdata="AWAYTIMEMINS2"></out>
<out type="pop" extdata="AWAYTIMEDAYS"></out>
<out type="pop" extdata="AWAYTIMEHOURS2"></out>

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

<out type="push" extdata="GONEDAY" condition="!=" lvalue="$SAMEDAY$" rvalue="1"><operator type="-" lvalue="%DAY%" rvalue="$AWAYDAY$"/></out>
<out type="push" extdata="GONEINHOURS" condition=">" lvalue="$GONEDAY$" rvalue="0"><operator type="*" lvalue="$GONEDAY$" rvalue="24"/></out>
<out type="push" extdata="GONEINHOURS"><operator type="+" lvalue="$GONEINHOURS$" rvalue="%HOUR%"/></out>
<out type="push" extdata="GONEINHOURS"><operator type="-" lvalue="$GONEINHOURS$" rvalue="$AWAYHOUR$"/></out>
<out type="push" extdata="GONEINMINS" condition=">" lvalue="$GONEINHOURS$" rvalue="0"><operator type="*" lvalue="$GONEINHOURS$" rvalue="60"/></out>
<out type="push" extdata="GONEINMINS"><operator type="+" lvalue="$GONEINMINS$" rvalue="%MINUTE%"/></out>
<out type="push" extdata="GONEINMINS"><operator type="-" lvalue="$GONEINMINS$" rvalue="$AWAYMINUTE$"/></out>
<out type="push" extdata="GONEINSECS" condition=">" lvalue="$GONEINMINS$" rvalue="0"><operator type="*" lvalue="$GONEINMINS$" rvalue="60"/></out>
<out type="push" extdata="GONEINSECS"><operator type="+" lvalue="$GONEINSECS$" rvalue="%SECOND%"/></out>
<out type="push" extdata="GONEINSECS"><operator type="-" lvalue="$GONEINSECS$" rvalue="$AWAYSECOND$"/></out>

<out type="push" extdata="AWAYTIMEMINS"><operator type="/" lvalue="$GONEINSECS$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMESECS2"><operator type="*" lvalue="$AWAYTIMEMINS$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMESECS"><operator type="-" lvalue="$GONEINSECS$" rvalue="$AWAYTIMESECS2$"/></out>
<out type="push" extdata="AWAYTIMEHOURS"><operator type="/" lvalue="$AWAYTIMEMINS$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMEMINS2"><operator type="*" lvalue="$AWAYTIMEHOURS$" rvalue="60"/></out>
<out type="push" extdata="AWAYTIMEMINS"><operator type="-" lvalue="$AWAYTIMEMINS$" rvalue="$AWAYTIMEMINS2$"/></out>
<out type="push" extdata="AWAYTIMEDAYS"><operator type="/" lvalue="$AWAYTIMEHOURS$" rvalue="24"/></out>
<out type="push" extdata="AWAYTIMEHOURS2"><operator type="*" lvalue="$AWAYTIMEDAYS$" rvalue="24"/></out>
<out type="push" extdata="AWAYTIMEHOURS"><operator type="-" lvalue="$AWAYTIMEHOURS$" rvalue="$AWAYTIMEHOURS2$"/></out>

<out type="push" extdata="AWAYTIMEDAYS" condition="<" lvalue="$AWAYTIMEDAYS$" rvalue="10">0$AWAYTIMEDAYS$</out>
<out type="push" extdata="AWAYTIMEHOURS" condition="<" lvalue="$AWAYTIMEHOURS$" rvalue="10">0$AWAYTIMEHOURS$</out>
<out type="push" extdata="AWAYTIMEMINS" condition="<" lvalue="$AWAYTIMEMINS$" rvalue="10">0$AWAYTIMEMINS$</out>
<out type="push" extdata="AWAYTIMESECS" condition="<" lvalue="$AWAYTIMESECS$" rvalue="10">0$AWAYTIMESECS$</out>

<out type="push" extdata="AWAYTIMEDAYS" condition=">" lvalue="$AWAYTIMEDAYS$" rvalue="01">#c8#$AWAYTIMEDAYS$ days#c62#,</out>
<out type="push" extdata="AWAYTIMEDAYS" condition="==" lvalue="$AWAYTIMEDAYS$" rvalue="01">#c8#$AWAYTIMEDAYS$ day#c62#,</out>
<out type="push" extdata="AWAYTIMEDAYS" condition="==" lvalue="$AWAYTIMEDAYS$" rvalue="00"></out>
<out type="push" extdata="AWAYTIMEHOURS" condition=">" lvalue="$AWAYTIMEHOURS$" rvalue="01">#c8#$AWAYTIMEHOURS$ hours#c62#,</out>
<out type="push" extdata="AWAYTIMEHOURS" condition="==" lvalue="$AWAYTIMEHOURS$" rvalue="01">#c8#$AWAYTIMEHOURS$ hour#c62#,</out>
<out type="push" extdata="AWAYTIMEHOURS" condition="==" lvalue="$AWAYTIMEHOURS$" rvalue="00">#c8#00 hours#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS" condition=">" lvalue="$AWAYTIMEMINS$" rvalue="01">#c8#$AWAYTIMEMINS$ mins#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS" condition="==" lvalue="$AWAYTIMEMINS$" rvalue="01">#c8#$AWAYTIMEMINS$ min#c62#,</out>
<out type="push" extdata="AWAYTIMEMINS" condition="==" lvalue="$AWAYTIMEMINS$" rvalue="00">#c8#00 mins#c62#,</out>
<out type="push" extdata="AWAYTIMESECS" condition=">" lvalue="$AWAYTIMESECS$" rvalue="01">#c8#$AWAYTIMESECS$ secs#c62#.</out>
<out type="push" extdata="AWAYTIMESECS" condition="==" lvalue="$AWAYTIMESECS$" rvalue="01">#c8#$AWAYTIMESECS$ sec#c62#.</out>
<out type="push" extdata="AWAYTIMESECS" condition="==" lvalue="$AWAYTIMESECS$" rvalue="00">#c8#00 secs#c62#,</out>

<out> #c62#Away #c62#message #c62#has #c62#now #c62#been #c62#turned #c62#off. #c62#Welcome #c62#back G/¥\Á Deus ex machina [W/¥\W]</out>
<out> #c62#You #c62#have #c62#been #c62#away #c62#since:- #c8#$AWAYTIME1$ #c62#on #c8#$AWAYDATE1$</out>
<out> #c62#You were:- #c8#$AWAY$</out>
<out> #c62#You #c62#were #c62#away #c62#for:- $AWAYTIMEDAYS$ $AWAYTIMEHOURS$ $AWAYTIMEMINS$ $AWAYTIMESECS$</out>
<out type="push" extdata="SET">0</out>
</command>
The Solution to 99% of winmx problems

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

Praise's daily at the church of "Kopimi"

WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Away and back 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.008 seconds with 22 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!