Basic Metis Mxc.Xml Examples & Guide
Problems getting bot into your own channel.
One of the very common problems is getting the bot into the channel itself. If you are hosting a channel, behind a router using the loopback solution you will have to alter the channel name to get your bots in.Intro
The first thing you need to understand is how to operate your bot, when you enter a chat room the bot is in passive mode, to activate it you must type into your bot screen /mxc run. This will activate the bot for that room. You will see the message Metis: Accepting PM's in this room. To stop your bot simply type /mxc stop or /mxc run, again this will put the bot back into passive mode. If your using your bot in a coloured server room then u also have to disable colour for your bot. Metis does not respond to coloured text. For Ouka rooms you need to type into your bot #ATSCmd MctOff. If a WCS or FX room /bot. To programme your bot you have to edit the MXC file. To do this type /mxc edit into your bot and the MXC file will open in notepad. Here you can put all your commands or access your xml files. You now need to programme your bot to work in your room. There is a very good help file within your metis folder located in C:/program files/metis folder/add on folder/doc folder. (If your programme files are not located on your C: drive then replace the C: with whatever drive letter you use!) If you have no programming experience this file can be a bit daunting at first, but we recommend you read it time and time again! It is much easier to programme your bot if you understand the structure of a command. A basic command is made up of 3 elements. The command it's self = <command>... </command> the trigger = <in>.... </in> and the responce = <out>... </out>. If we break that down still further to what they actually mean to your bot, The: <command> is telling your bot that it has to START looking for a trigger. The: </command> tells your bot to END. The: <in> tells your bot to START reading the trigger, The: </in> tells it to END. The: <out> Tells it to START writing the output. And the </out> tells it to END the output. So if we now look at a simple command for your bot... <command> = We are telling the bot to look for the trigger. <in>bot </in> = We are telling the bot what the trigger is. <out> I'm here! </out> = We are telling the bot what the output is. </command> = we are telling the bot that the command has ended.
