gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76775 Posts in 13501 Topics by 1651 Members - Latest Member: insider4ever May 01, 2024, 09:42:02 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 1808 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.016 seconds with 21 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!