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 21, 2024, 01:25:17 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  script help
gfx
gfxgfx
 

Author Topic: script help  (Read 2414 times)

0 Members and 1 Guest are viewing this topic.

Offline sharing sarah

  • Forum Member
  • A Music & Movie Spectrum_F135E44219F6
script help
« on: May 08, 2006, 03:54:49 pm »
Hi, We use the below script in our metis bot, in the room I Co-Host. Is there away to make line 6 an opmsg for a cleaner screen image to users in the room? Each time it resets it post to chat box (Starting script. Interval 1200 seconds.) I dont know programming but have played with it and cant get it. Thank You

//if no one talks

<command type="script" mode="thread" condition="0" lvalue="1" rvalue="$sil scr$">
<in>!run sil scri</in>
<out type="push" extdata="sil scr">1</out>
//exchange the 20 for the amount of minuites you wish to leave as idle time
<out type="push" extdata="simp mult"><operator type="*" lvalue="20" rvalue="60"/></out>
<out condition="-1">Starting script. Interval #c2#$simp mult$#c1# seconds.</out>        // [can this line be made "opmsg"]
<out type="push" extdata="timedown">$simp mult$</out>
<out type="sleep" extdata="1000"condition="-1"> </out>
<out type="goto" extdata="5" condition=">" lvalue="0" rvalue="$timedown$"> </out>
<out type="push" extdata="timedown2">$timedown$</out>
<out type="push" extdata="timedown"><operator type="-" lvalue="$timedown2$" rvalue="1"/></out> 
<out type="goto" extdata="-4" condition="0" lvalue="$timedown$" rvalue="0"> </out>
<out type="goto" extdata="3"> </out>
<out condition="-1">#c8##ERROR -0178</out>
<out type="goto" extdata="3"> </out>
<out>#c13#come on people. if i dont see some mouths blabbing soon im gunna get #c8#lonley!</out>
<out type="goto" extdata="-11"> </out>
<out type="push" extdata="sil scr">0</out>
<out type="break"></out>
</command>

<command type="script" mode="thread" condition="1" lvalue="1" rvalue="$sil scr$">
<in>*</in>
//place idle time in secconds here
<out type="push" extdata="timedown">1200</out>
</command>

RoboMx 2.06 Extreme
Metis 2.70test 6

Offline sharing sarah

  • Forum Member
  • A Music & Movie Spectrum_F135E44219F6
Re: script help
« Reply #1 on: May 08, 2006, 04:02:12 pm »
Sorry just realized i forgot to go to bot section to Post :( Will pay better attention next time :)

Offline nylly444

  • The /root of all evil ;-)
  • WMW Team
  • *****
    • WinMX World
Re: script help
« Reply #2 on: May 08, 2006, 05:17:06 pm »
Quote
<out condition="-1">Starting script. Interval #c2#$simp mult$#c1# seconds.</out>        // [can this line be made "opmsg"]

errrrmmm - simply changing it to
Code: [Select]
<out condition="-1">/opmsg Starting script. Interval #c2#$simp mult$#c1# seconds.</out> doesn't work?

* nylly444 knows barely anything about codes :D
LINUX - Legendary Intelligent Needful Universal Xperienced


Offline sharing sarah

  • Forum Member
  • A Music & Movie Spectrum_F135E44219F6
Re: script help
« Reply #3 on: May 08, 2006, 06:48:43 pm »
Thank You. I was close just couldent get it.  :)

Offline James420

  • Forum Member
Re: script help
« Reply #4 on: May 14, 2006, 06:44:00 pm »
It is easy to do, but you can't use color codes in opmsg.

Offline Røçkåfë££ë® §kåñK

  • WANABE WINMX CHAT SERVER HACKER
  • Forum Member
    • The Rebelion
Re: script help
« Reply #5 on: May 15, 2006, 12:19:17 am »
Actually james you can, it depends on which server the room is on.

FXServer hosted rooms allow colour codes in opmsg
[ìíÍIí¯Iì·´¯ìÍ]Íì•íÌí¯`·íI¯ìIÌì í]¡í¯ìIÎ Røçkåfë££ë® §kåñK ÎIí¯ì¡[ì íÍIí¯Iì·´¯ìÍì•íÌ[Ìí¯`·íI¯ìIÌìí]

WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  script help
 

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