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 October 12, 2024, 10:31:49 am
*
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 1875 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-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.019 seconds with 25 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!