gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
75857 Posts in 13318 Topics by 2670 Members - Latest Member: pierced3x July 18, 2019, 06:20:39 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  Help with a random type script
gfx
gfxgfx
 

Author Topic: Help with a random type script  (Read 1305 times)

0 Members and 1 Guest are viewing this topic.

Japp

  • Guest
Help with a random type script
« on: May 06, 2007, 03:08:01 am »
Hello, found a script on the net and i edited like this:

Code: [Select]
<?xml version="1.0" standalone="no">
<config>

<command type="random" usergroup="" users="">
<in usergroup="" users="" case="0" regex="0">*Hello*</in>
<out delay="200" type="normal" extdata="0">Hello %NAME%, welcome to our room!</out>
<out delay="200" type="normal" extdata="0">Hello %NAME%, how's you?</out>
<out delay="200" type="normal" extdata="0">Hiya %NAME%</out>
<out delay="200" type="normal" extdata="0">Hello there</out>
<out delay="200" type="normal" extdata="0">Hi Hi Friend</out>
</command>

</config>

saved it to an xml file and included in the main mxc

even tried it in the main mxc (w/o the config lines, of course)

i have no usergroups defined; metis bot is admin and working fine, still cannot make it work when someone says hello

is this script correct? or seems something is missing?

thanks in advance

Offline GriZz

  • Forum Member
Re: Help with a random type script
« Reply #1 on: May 06, 2007, 04:07:08 am »
Code: [Select]
<command type="random">
<in>hello</in>
<out delay="2000">Hello %NAME%, how's you?</out>
<out delay="2000">Hiya %NAME%</out> 
<out delay="2000">Hello there</out>
<out delay="2000">Hi Hi Friend</out>
</command>


Try this it's a simple way of doin it.. :lol:

Japp

  • Guest
Re: Help with a random type script
« Reply #2 on: May 06, 2007, 04:19:52 am »
yes, it worked!!

 thanks a lot pal

 :D

WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  Help with a random type script
 

gfxgfx
gfx
©2005-2019 WinMXWorld.com. All rights reserved.
SMF 2.0.15 | SMF © 2017, Simple Machines
Page created in 0.029 seconds with 20 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!