gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76774 Posts in 13500 Topics by 1651 Members - Latest Member: insider4ever April 19, 2024, 08:48:57 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  RoboMX 2.8
gfx
gfxgfx
 

Author Topic: RoboMX 2.8  (Read 5196 times)

0 Members and 1 Guest are viewing this topic.

Offline gypsyroadhog

  • Forum Member
RoboMX 2.8
« on: May 05, 2009, 08:51:30 pm »
Does any one have a list of variables for this bot please
Ive tried using %NAME% for shortened name but doesnt do it properly
e.g. gypsyroadhog_352_60065 gave the correct answer

Offline Forested665

  • Forum Member
  • Linux:2003 FreeBSD:2004 Debian/BSD developer:2006
BSD -  The Daemons Are No Longer Just Inside My Head.

Offline wonderer

  • MX Hosts
  • *****
  • ***
Re: RoboMX 2.8
« Reply #2 on: May 06, 2009, 05:11:38 pm »
Just for your information, every original Metis setup has a compiled helpfile in the setupfolders, metis.chm. e.g. Program Files\Metis 2.8\Add-Ons\docs.

%NAME% will only return the shortname of the user that issued the triggered command.

Offline gypsyroadhog

  • Forum Member
Re: RoboMX 2.8
« Reply #3 on: May 06, 2009, 07:06:38 pm »
Okies thanks for that help
my next question is how do you re-load the config..when i click Custom Commands/Metis Reload Config..this appears..Unknown Command (or Access Denied) ????

Offline wonderer

  • MX Hosts
  • *****
  • ***
Re: RoboMX 2.8
« Reply #4 on: May 06, 2009, 07:25:30 pm »
You may use the middle mouse button and select reload MXC.xml or type on the messagebar in the chatwindow
/mxc load     - Reload configuration file MXC.xml after editing.
to get a list of the commands:
/mxc help     - print help
the other commands on this list
/mxc stats    - some statistics (loaded commands etc.)
/mxc spy     - displays uservaribales currently in memory
/mxc edit     - Edit MXC.xml file in default editor
/mxc edit <file>     - Edit <file> file in default editor
/mxc load <file>     - Load commands from <file> configuration file.
/mxc start     - Start the bot in this room
/mxc stop     - Stop the bot in this room
/mxc trivia start    - Run a trivia game in this room
/mxc trivia stop    - Stop a trivia game in this room

Offline Forested665

  • Forum Member
  • Linux:2003 FreeBSD:2004 Debian/BSD developer:2006
Re: RoboMX 2.8
« Reply #5 on: May 06, 2009, 08:39:56 pm »
for clarification "Metis Reload Config" reloads the room's config not the bot so it issues /reload to the room.
BSD -  The Daemons Are No Longer Just Inside My Head.

Offline gypsyroadhog

  • Forum Member
Re: RoboMX 2.8
« Reply #6 on: May 06, 2009, 10:40:06 pm »
Hmmm /mxc load   always gives me the same error....could it be the server i am using ?

Offline Forested665

  • Forum Member
  • Linux:2003 FreeBSD:2004 Debian/BSD developer:2006
Re: RoboMX 2.8
« Reply #7 on: May 06, 2009, 11:56:05 pm »
When you enter a room the commands are displayed before the rooms MOTD is.
BSD -  The Daemons Are No Longer Just Inside My Head.

Offline wonderer

  • MX Hosts
  • *****
  • ***
Re: RoboMX 2.8
« Reply #8 on: May 07, 2009, 03:11:09 am »
It would help if you would be more precise on the error, but in most cases an error on loading mxc.xml is based on an error in one or more of the commands syntax. they can occur in all include xml if you have more included.

The basic and tested to work for metis 2.80 mxc.xml is in the attached zip and should be upzipped in the metis plugins folder.

If you need more help on metis you can find me in one of Zenar's rooms, please be patient while waiting at a response.
I'm not at the monitor 24/7  :canadian:

Offline F£¥è®

  • Forum Member
Re: RoboMX 2.8
« Reply #9 on: May 07, 2009, 03:00:06 pm »
The command /mxc load has to be done from the Bot itself  the easiest way to do it from a room is to add a command to the bot like - ,

Code: [Select]
<config>
<command type = "script">
<in>!mxc</in>
<out type = "usercmd">/mxc load</out>
</command>
</config>
hope this helps
OS Microsoft® Windows Vista™ Home Premium, Processor Intel(R) Core(TM)2 Quad CPU  Q8200  @ 2.33GHz, 2331 Mhz, 4 Core(s), 4 Logical Processor(s), Installed Physical Memory (RAM) 6.00 GB

Offline wonderer

  • MX Hosts
  • *****
  • ***
Re: RoboMX 2.8
« Reply #10 on: May 07, 2009, 04:53:02 pm »
Looking in Metis.chm in section respons attributes, there is no out type "usercmd" so Metis will ignore the attribute.

The attribute you need is according to the same list of attributes:
control: Runs the response through the internal command interpreter. You can send commands to the bot this way, like /mxc load <file> to load a different configuration.

So the working script would be

Code: [Select]
<config>
<command type = "script">
<in>!mxc</in>
<out type = "control">/mxc load</out>
</command>
</config>

Offline F£¥è®

  • Forum Member
Re: RoboMX 2.8
« Reply #11 on: May 07, 2009, 06:07:50 pm »
If you try th example I posted it works perfectly fine, there are quite a few commands that don't appear in the help file, doesn't mean they don't exist.
OS Microsoft® Windows Vista™ Home Premium, Processor Intel(R) Core(TM)2 Quad CPU  Q8200  @ 2.33GHz, 2331 Mhz, 4 Core(s), 4 Logical Processor(s), Installed Physical Memory (RAM) 6.00 GB

Offline wonderer

  • MX Hosts
  • *****
  • ***
Re: RoboMX 2.8
« Reply #12 on: May 08, 2009, 03:21:10 am »
I tried you example Flyer and it did not work. reason is easy, as you stated yourself, the command /mxc load has to be done from the Bot itself.
If you make a command like you did, it might well be posted in the room, but the owner of the command is the user who triggered the command and not the bot.
Metis cannot respond to the messages posted in the room by it's own scripts other than using out type="self" (which is not posted in the room) and in the case of control commands (/mxc ) by using out type="control" . Maybe you should check your files to see if the proper working script is present and making you think that script is working.
I'm not telling the help file is complete, but out type="usercmd" does not exist in the official metis releases.

Offline Forested665

  • Forum Member
  • Linux:2003 FreeBSD:2004 Debian/BSD developer:2006
Re: RoboMX 2.8
« Reply #13 on: May 08, 2009, 03:23:03 am »
Quote
Metis cannot respond to the messages posted in the room by it's own scripts other than using out type="self"
didnt the modified masterminds use <botselftrigger> as part of the process to change the answer after every guess?
BSD -  The Daemons Are No Longer Just Inside My Head.

Offline wonderer

  • MX Hosts
  • *****
  • ***
Re: RoboMX 2.8
« Reply #14 on: May 08, 2009, 03:41:49 am »
you are almost right, in combination with out type="self" you may use users="_BOT_SELF_TRIGGER_" to have only the bot having the rights to use the command.

resume,
out type="self" the bot responds to what is posted in the room by the bot except the control commands,
out type="control" the bot is responding to the /mxc commands (not posted in the room )

WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  RoboMX 2.8
 

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