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, 05:30:33 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  responce
gfx
gfxgfx
 

Author Topic: responce  (Read 3749 times)

0 Members and 1 Guest are viewing this topic.

Offline shakes

  • Forum Member
responce
« on: March 31, 2006, 02:59:59 pm »
 :? need some help to get this scriot to work in the metis bot 2.60 if anyone can help please.


<command type="random">
<in>hi ruby %PARAMETER%</in>
<in>hey ruby %PARAMETER%</in>   
<out delay="3000" type="normal" extdata="0">/message %RAWNAME% %PARAMETER% what are you looking at </out>
<out delay="3000" type="normal" extdata="0">/message %RAWNAME% %PARAMETER% is watching you and laughing cause you cant find them</out>
</command>

this will not work at all why what have i done wrong?

Offline nylly444

  • The /root of all evil ;-)
  • WMW Team
  • *****
    • WinMX World
Re: responce
« Reply #1 on: March 31, 2006, 04:59:34 pm »
Now I'm not an expert, but afaik there can only be ONE trigger, i.e. only ONE line for "in".
Try making it into two commands, each with only one trigger, see if it works then.
LINUX - Legendary Intelligent Needful Universal Xperienced


Offline Stevi

  • #1 DJ
  • MX Hosts
  • *****
  • Ooops! I blew up the commercials!
    • WinMX Radio
Re: responce
« Reply #2 on: March 31, 2006, 05:16:43 pm »
Code: [Select]
<command type="random">
<in>hi ruby %PARAMETER%</in>     
<out delay="3000" type="normal" extdata="0">/message %RAWNAME% %PARAMETER% what are you looking at </out>
<out delay="3000" type="normal" extdata="0">/message %RAWNAME% %PARAMETER% is watching you and laughing cause you cant find them</out>
</command>

Try that and see if it works.

DemonAvenger

  • Guest
Re: responce
« Reply #3 on: March 31, 2006, 05:17:38 pm »
lol, the problem you have done is, you have made the bot make the message to you, lol who ever activates the in command, the command %RAWNAME% is replaced with that users name, unless you have wanted it to do that!
but this should work for you:

<command type="random">
<in>hi ruby %PARAMETER%</in>
<in>hey ruby %PARAMETER%</in>    
<out delay="3000">/message %RAWNAME% %PARAMETER% what are you looking at </out>
<out delay="3000">/message %RAWNAME% %PARAMETER% is watching you and laughing cause you cant find them</out>
</command>

DemonAvenger

  • Guest
Re: responce
« Reply #4 on: March 31, 2006, 05:21:35 pm »
the problem that you posted up was:

<out delay="3000" type="normal" extdata="0">blah blah</out>
                                 ^                       ^
                                  |                        |
                                 Here          &   Here

Imma just about to join ya forums to ;)

Offline Stevi

  • #1 DJ
  • MX Hosts
  • *****
  • Ooops! I blew up the commercials!
    • WinMX Radio
Re: responce
« Reply #5 on: March 31, 2006, 05:27:31 pm »
Listen to what deamon said.   My code is wrong and I know it. Why I posted I dont know.

DemonAvenger

  • Guest
Re: responce
« Reply #6 on: March 31, 2006, 05:30:36 pm »
lol we all have to learn some time Omega, anyway, you didn't need the following in your out commands:
type="normal" Because <out> it self is set to default
&
extdata="0" Because extdata is only used when you use the command types (pop, push, sleep, goto, etc)

Offline Bearded Blunder

  • Forum Member
    • Taboo Community Website
Re: responce
« Reply #7 on: March 31, 2006, 05:37:00 pm »
type="normal" won't harm anything if not required, & may be required if you've altered the default output.. but try without extdata="0" in the output lines, you don't need it, & it may be your problem, also there is no problem at all with multiple <in></in> lines, can have as many variations as you want in one command.
Blessed is he who expecteth nothing, for he shall not be disappointed.

DemonAvenger

  • Guest
Re: responce
« Reply #8 on: March 31, 2006, 05:40:00 pm »
sorry just couldn't explain it properly, and <out> & <out type="normal"> are too of the same things!

Offline Bearded Blunder

  • Forum Member
    • Taboo Community Website
Re: responce
« Reply #9 on: March 31, 2006, 05:43:41 pm »
it's possible to set the default output in mxc.xml to "echo" in which case <out type="normal"> WOULD be required if you wished output to appear in the chatroom, i'm tired & reading quickly thought you'd done something of the sort.
Blessed is he who expecteth nothing, for he shall not be disappointed.

DemonAvenger

  • Guest
Re: responce
« Reply #10 on: March 31, 2006, 05:45:47 pm »
lol, oh well, think you explained anyway!

Offline shakes

  • Forum Member
Re: responce
« Reply #11 on: March 31, 2006, 08:27:47 pm »
 :? i have tried this and still will not work,i think i may give up onit :?

Offline willscotn

  • Forum Member
Re: responce
« Reply #12 on: March 31, 2006, 09:00:17 pm »
<OnEnter type="script">
 randomize welcome message:
<out type="push" extdata="0">%RANDOMNUM[8]%</out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="0">#c?#Hello, %NAME% </out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="1">#c?#Welcome, %NAME% </out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="2">#c?#Hi, %NAME% </out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="3">#c?#Hi there, %NAME% </out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="4">#c?#Howdy, %NAME% </out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="5">#c?#There you are, %NAME% </out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="6">#c?#Hey, %NAME% </out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="7">#c?#How's it going ?, %NAME% </out>
<out type="push" extdata="1" condition="1" lvalue="%USERVAR[0]%" rvalue="8">#c?#Hey There, %NAME% How's U? </out>
</OnEnter>

']['hé §éx GøÐ

  • Guest
Re: responce
« Reply #13 on: April 23, 2006, 05:41:47 pm »
Try

Code: [Select]
<command type="script">
<in>hi ruby %PARAMETER%</in>
<in>hey ruby %PARAMETER%</in>
<out type="sleep" extdata="3000"></out>
<out type="self">!ruby!</out>
</command>

<command type="random">
<in users="_BOT_SELF_TRIGGER_">!ruby!</in>
<out>/message %RAWNAME% %PARAMETER% what are you looking at </out>
<out>/message %RAWNAME% %PARAMETER% is watching you and laughing cause you cant find them</out>
</command>

sorry im not logged in wnt let me says invalid characters in username, dont normally have spaces in

WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  responce
 

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