Basic Metis Mxc.Xml Examples & Guide
Simple xml examples & guide for the setup of the metis bot for WinMx/opmsg commands
So now lets move on to the /opmsg commands these are:<OnEnter>...</OnEnter> <OnLeave>...</OnLeave> <OnJoinRoom>...</OnJoinRoom> <OnRename>...</OnRename> These work in a slightly different way to the <command>...</command>, as the <OnEnter> ...</OnEnter> is both the start and end of the command, but also the TRIGGER for the command. So you only need the <out>...</out> within the command structure here. The trigger being the actual event. EG: the above is activated whenever some one enters the room. The <OnLeave> ... </OnLeave> activates whenever some one leaves the room, the <OnJoinRoom> ...</OnJoinRoom> is activated when your bot enters a room.REMEMBER your bot HAS to be admined for these to work! Now lets look at simple 1 line response commands for the above. <OnEnter> <out> Hello there</out> </OnEnter>
