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, 06:07:20 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Auto Messages Randomly Posted at times, by Unknown
gfx
gfxgfx
 

Author Topic: Auto Messages Randomly Posted at times, by Unknown  (Read 2292 times)

0 Members and 1 Guest are viewing this topic.

Offline Me Here

  • Ret. WinMX Special Forces
  • WMW Team
  • *****
  • We came, We Saw, We definitely Kicked Ass!
Auto Messages Randomly Posted at times, by Unknown
« on: December 02, 2006, 05:14:44 pm »
Ok heres another one for messages or quotes to be posted by the bot randomly in the room.. Im sure this could also or has also been modified for different reasons but I thought enough of it to grab it long ago.. Again sadly I dont know the author..

Code: [Select]
<config>


<command usergroup="host" type="script" flood="0">
<in>!init automessage</in>
<out type="push" extdata="10">0</out>
<out type="normal">Automessage initialized:#\r\n#Next Quote of the hour in  60 minutes#\r\n#Time: %LOCALTIME%</out>
</command>

<command usergroup="host" type="script" flood="0">
<in>!force automessage</in>
<out type="push" extdata="10">12</out>
<out type="normal">Automessage interval pushed up:#\r\n#Next Quote of the hour within the next 5 minutes#\r\n#Time: %LOCALTIME%</out>
</command>

<command usergroup="host" type="script" flood="0">
<in>!status %PARAMETER%</in>
<out type="push" extdata="12">%PARAMETER%</out>
<out>/action #nickname Status #message set to %USERVAR[12]%</out>
</command>

<OnTimer type="script" interval="300">

// counter for hourly message
<out type="push" extdata="10" condition="1" lvalue="%USERVAR[10]%" rvalue="">0</out>
<out type="push" extdata="10" condition="2" lvalue="%USERVAR[10]%" rvalue="13"><operator type="+" lvalue="%USERVAR[10]%" rvalue="1"/></out>

// randomize quote
<out type="goto" extdata="14" condition="0" lvalue="%USERVAR[10]%" rvalue="12">.</out>
<out type="push" extdata="0">%RANDOMNUM[10]%</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="0">#nickname Albert Einstein #message Imagination is more important than knowledge...</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="1">#nickname Charles Montesquieu #message In most things success depends on knowing how long it takes to succeed.</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="2">#nickname Isaac Watts #message Do not hover always on the surface of things, nor take up suddenly, with mere appearances; but penetrate into the depth of matters, as far as your time and circumstances allow, especially in those things which relate to your profession. </out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="3">#nickname Charles McCabe #message Any clod can have the facts; having opinions is an art</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="4">#nickname Josh Billings #message  Silence is one of the hardest arguments to refute.</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="5">#nickname Jawaharlal Nehru #message  Life is like a game of cards. The hand that is dealt you is determinism; the way you play it is free will.</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="6">#nickname Hannah Whitall Smith #message The true secret of giving advice is, after you have honestly given it, to be perfectly indifferent whether it is taken or not, and never persist in trying to set people right.</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="7">#nickname Charles Dickens #message  No one is useless in this world who lightens the burdens of another.</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="8">#nickname Erica Jong #message  Advice is what we ask for when we already know the answer but wish we didn't.</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="9">#nickname Hazrat Inayat Khan #message  The words that enlighten the soul are more precious than jewels.</out>
<out type="push" extdata="11" condition="1" lvalue="%USERVAR[0]%" rvalue="10">#nickname Harry S. Truman #message All the President is, is a glorified public relations man who spends his time flattering, kissing and kicking people to get them to do what they are supposed to do anyway.</out>
// output it if one hour has passed
<out type="normal" condition="1" lvalue="%USERVAR[10]%" rvalue="12">%USERVAR[11]%</out>
<out type="push" extdata="10" condition="2" lvalue="%USERVAR[10]%" rvalue="11">0</out>

// randomize five minutes statistics:
<out type="push" extdata="0">%RANDOMNUM[3]%</out>
<out condition="1" lvalue="%USERVAR[0]%" rvalue="0">/action #nickname Localtime (CET): #message %LOCALTIME%</out>
<out condition="1" lvalue="%USERVAR[0]%" rvalue="1">/action #nickname Stat: #message %NUMUSERS% users in channel. Bot uptime: %BOTUPTIME%. System uptime: %SYSTEMUPTIME%.</out>
<out condition="1" lvalue="%USERVAR[0]%" rvalue="2">/action #nickname Please #message play nice...</out>
<out condition="1" lvalue="%USERVAR[0]%" rvalue="3">#nickname Info #message This is Metis %VERSION%. Enjoy your stay.</out>

// if away a status is set
<out condition="0" lvalue="%USERVAR[12]%" rvalue="video">#nickname Status: #message %USERVAR[12]%</out>
<out condition="1" lvalue="%USERVAR[12]%" rvalue="video">#nickname Status: #message Away for the next %WA-REMTIME% to watch %WA-ARTIST% - %WA-SONG%
</out>

// ask for a game of dabo every ten minutes
<out condition="1" lvalue="%USERVAR[10]%" rvalue="1">#nickname Dabo Girl #message Want to spin the dabo wheels? Type !dabo to start the game</out>
<out condition="1" lvalue="%USERVAR[10]%" rvalue="3">#nickname Dabo Girl #message Want to spin the dabo wheels? Type !dabo to start the game</out>
<out condition="1" lvalue="%USERVAR[10]%" rvalue="5">#nickname Dabo Girl #message Want to spin the dabo wheels? Type !dabo to start the game</out>
<out condition="1" lvalue="%USERVAR[10]%" rvalue="7">#nickname Dabo Girl #message Want to spin the dabo wheels? Type !dabo to start the game</out>
<out condition="1" lvalue="%USERVAR[10]%" rvalue="9">#nickname Dabo Girl #message Want to spin the dabo wheels? Type !dabo to start the game</out>
<out condition="1" lvalue="%USERVAR[10]%" rvalue="11">#nickname Dabo Girl #message Want to spin the dabo wheels? Type !dabo to start the game</out>
</OnTimer>

</config>

WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Auto Messages Randomly Posted at times, by Unknown
 

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 20 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!