Here is an usefull script to change in a room your settings remotly.
Warning:
You MUST put your settings inside this script or else it will not work. Just see my script and you will see where to put settings.
This script will not work is you put commands into your xml file.
Commands:
!list mxc (It's to show all includes files into MXC.xml)
!ireload (It's to remove all datas into variables)
//1550 = directory
//1552 = read file
//1554 = find
//1555 = max var
//1556 = show list(count)
//1557 = strRight
//1558 = strLeft
//1559 = Open/Closed
//1560 = strlen
//1561 = Replace
//1562 = Fixe include 1 (Erreur or not)
//1563 = Fixe include 2 (strfind)
//1564 = Fixe include 3 (Left part)
//1565 = Fixe include 4 (Right Part)
//1566 = Big read
//1567 = Autofix include off/on
//1568 = Change
//1569 = Before the change
//1570 = After the change
//1571 = list reload
//1572 = load list
//1573 = list exist or not
//1574 = Protection
//1575 = Protection bad or good
<usergroup name="Include" case="1">
*Zénar*
*Cl@ire*
//please, don't erase that name or else this script will not work.
*_BOT_SELF_TRIGGER_*
</usergroup>
<command type="script" usergroup="Include">
<in>!list %PARAMETER%</in>
<in>!listincludebotonly</in>
//Put here your directory of mxc.xml
<out type="push" extdata="1550">D:\Program Files\GameMasterFR\Add-Ons\</out>
//Allow autofix Erreurs in include file? 0=No 1=Yes
<out type="push" extdata="1567">1</out>
<out type="push" extdata="1572" condition="!=" lvalue="%USERVAR[1571]%" rvalue="1">%PARAMETER%.xml</out>
<out type="push" extdata="1551">1</out>
<out type="push" extdata="1555">0</out>
<out type="push" extdata="1556">0</out>
<out type="push" extdata="1575">0</out>
<out type="file" mode="t" extdata="%USERVAR[1550]%Include.tmp"></out>
<out type="push" extdata="1553"></config></out>
<out type="push" extdata="1573"><operator type="readfile" nvalue="%USERVAR[1550]%%USERVAR[1572]%" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="1574"><operator type="strfind" lvalue="%USERVAR[1573]%" rvalue="<command>"/></out>
<out type="push" extdata="1575" condition="!=" lvalue="%USERVAR[1574]%" rvalue="-1">1</out>
<out type="push" extdata="1574"><operator type="strfind" lvalue="%USERVAR[1573]%" rvalue="<out>"/></out>
<out type="push" extdata="1575" condition="!=" lvalue="%USERVAR[1574]%" rvalue="-1">1</out>
<out type="push" extdata="1574"><operator type="strfind" lvalue="%USERVAR[1573]%" rvalue="<in>"/></out>
<out type="push" extdata="1575" condition="!=" lvalue="%USERVAR[1574]%" rvalue="-1">1</out>
<out type="script" condition="==" lvalue="%USERVAR[1575]%" rvalue="1">#c8#Erreur: #c5#Ce fichier a des commandes!</out>
<out type="break" condition="==" lvalue="%USERVAR[1575]%" rvalue="1"/>
<out type="script" condition="==" lvalue="%USERVAR[1573]%" rvalue="">#c8#Erreur: #c5#Ce fichier n'existe pas!</out>
<out type="break" condition="==" lvalue="%USERVAR[1573]%" rvalue=""/>
<out type="push" extdata="1552"><operator type="readfile" nvalue="%USERVAR[1550]%%USERVAR[1572]%" lvalue="l" rvalue="%USERVAR[1551]%"/></out>
<out type="push" extdata="1551" condition="!=" lvalue="%USERVAR[1552]%" rvalue="%USERVAR[1553]%"><operator type="+" lvalue="%USERVAR[1551]%" rvalue="1"/></out>
<out type="push" extdata="1554"><operator type="strfind" lvalue="%USERVAR[1552]%" rvalue="include"/></out>
<out type="push" extdata="1555" condition="!=" lvalue="%USERVAR[1554]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1555]%" rvalue="1"/></out>
<out type="push" extdata="1560"><operator type="strlen" lvalue="%USERVAR[1555]%"/></out>
<out type="push" extdata="1561" condition="==" lvalue="%USERVAR[1560]%" rvalue="1">0%USERVAR[1555]%</out>
<out type="push" extdata="1561" condition="!=" lvalue="%USERVAR[1560]%" rvalue="1">%USERVAR[1555]%</out>
<out type="file" mode="a" condition="!=" lvalue="%USERVAR[1554]%" rvalue="-1" extdata="%USERVAR[1550]%Include.tmp">%USERVAR[1561]%%USERVAR[1552]%\n</out>
<out type="goto" extdata="-8" condition="!=" lvalue="%USERVAR[1552]%" rvalue="%USERVAR[1553]%"/>
<out type="push" extdata="1551"><operator type="-" lvalue="%USERVAR[1551]%" rvalue="1"/></out>
<out type="script" condition="==" lvalue="%USERVAR[1555]%" rvalue="0">#c8#Erreur: #c5#Ce fichier n'a pas de INCLUDE!</out>
<out type="break" condition="==" lvalue="%USERVAR[1555]%" rvalue="0"/>
<out type="self" condition="!=" lvalue="%USERVAR[1571]%" rvalue="1">!showlist</out>
<out type="break" condition="!=" lvalue="%USERVAR[1571]%" rvalue="1"/>
<out type="push" extdata="1571">0</out>
<out type="script">/mxc load</out>
</command>
<command type="script" users="_BOT_SELF_TRIGGER_">
<in>!showlist</in>
<out type="pop" extdata="1563"/>
<out type="pop" extdata="1564"/>
<out type="pop" extdata="1565"/>
<out type="pop" extdata="1566"/>
<out type="push" extdata="1556"><operator type="+" lvalue="%USERVAR[1556]%" rvalue="1"/></out>
<out type="push" extdata="1552"><operator type="readfile" nvalue="%USERVAR[1550]%Include.tmp" lvalue="l" rvalue="%USERVAR[1556]%"/></out>
<out type="push" extdata="1558"><operator type="strleft" lvalue="%USERVAR[1552]%" rvalue="3"/></out>
<out type="push" extdata="1558"><operator type="strright" lvalue="%USERVAR[1558]%" rvalue="2"/></out>
<out type="push" extdata="1559" condition="!=" lvalue="%USERVAR[1567]%" rvalue="1">#c57#[#c8#Erreur: #c57#Vous devez corriger ce bogue manuellement]</out>
<out type="push" extdata="1559" condition="==" lvalue="%USERVAR[1567]%" rvalue="1">#c2#[Fixé]</out>
<out type="push" extdata="1560" condition="==" lvalue="%USERVAR[1567]%" rvalue="1">0</out>
<out type="push" extdata="1559" condition="==" lvalue="%USERVAR[1558]%" rvalue="«">#c8#[Fermé]</out>
<out type="push" extdata="1560" condition="==" lvalue="%USERVAR[1558]%" rvalue="«">1</out>
<out type="push" extdata="1559" condition="==" lvalue="%USERVAR[1558]%" rvalue="<">#c4#[Ouvert]</out>
<out type="push" extdata="1560" condition="==" lvalue="%USERVAR[1558]%" rvalue="<">1</out>
<out type="push" extdata="1557"><operator type="strright" lvalue="%USERVAR[1552]%" rvalue="17"/></out>
<out type="push" extdata="1557"><operator type="strrep" nvalue="%USERVAR[1557]%" lvalue=".xml"/»" rvalue=" "/></out>
<out type="push" extdata="1557"><operator type="strrep" nvalue="%USERVAR[1557]%" lvalue=".xml"/>" rvalue=" "/></out>
//######################
//#Autofix include here#
<out type="goto" extdata="13" condition="!=" lvalue="%USERVAR[1567]%" rvalue="1"/>
<out type="push" extdata="1563" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strfind" lvalue="%USERVAR[1552]%" rvalue="""/></out>
<out type="push" extdata="1564" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strleft" lvalue="%USERVAR[1552]%" rvalue="%USERVAR[1563]%"/></out>
<out type="push" extdata="1564" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strright" lvalue="%USERVAR[1564]%" rvalue="2"/></out>
<out type="push" extdata="1563" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strrfind" lvalue="%USERVAR[1552]%" rvalue="""/></out>
<out type="push" extdata="1563" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="+" lvalue="%USERVAR[1563]%" rvalue="1"/></out>
<out type="push" extdata="1565" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strright" lvalue="%USERVAR[1552]%" rvalue="%USERVAR[1563]%"/></out>
<out type="push" extdata="1566" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="readfile" nvalue="%USERVAR[1550]%%USERVAR[1572]%" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="1566" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strrep" nvalue="%USERVAR[1566]%" lvalue="%USERVAR[1564]%" rvalue="«include file="/></out>
<out type="push" extdata="1566" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strrep" nvalue="%USERVAR[1566]%" lvalue="%USERVAR[1565]%" rvalue="/»"/></out>
<out type="push" extdata="1566" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strrep" nvalue="%USERVAR[1566]%" lvalue="<" rvalue="\n<"/></out>
<out type="push" extdata="1566" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"><operator type="strrep" nvalue="%USERVAR[1566]%" lvalue="«" rvalue="\n«"/></out>
<out type="file" mode="t" condition="==" lvalue="%USERVAR[1560]%" rvalue="0" extdata="%USERVAR[1550]%%USERVAR[1572]%">%USERVAR[1566]%</out>
//#Autofix include here#
//######################
<out type="push" extdata="1560"><operator type="strlen" lvalue="%USERVAR[1556]%"/></out>
<out type="push" extdata="1561" condition="==" lvalue="%USERVAR[1560]%" rvalue="1">0%USERVAR[1556]%</out>
<out type="push" extdata="1561" condition="!=" lvalue="%USERVAR[1560]%" rvalue="1">%USERVAR[1556]%</out>
<out type="script">#c57#%USERVAR[1561]% #c51#%USERVAR[1557]%%USERVAR[1559]%</out>
<out type="script" condition="==" lvalue="%USERVAR[1556]%" rvalue="%USERVAR[1555]%">#c5#Tappez #c1#!change #c5#pour ouvrir ou fermer un fichier INCLUDE</out>
<out type="self" condition="!=" lvalue="%USERVAR[1556]%" rvalue="%USERVAR[1555]%">!showlist</out>
</command>
<command type="script" usergroup="Include">
<in>!change %PARAMETER%</in>
<out type="push" extdata="1560"><operator type="strlen" lvalue="%PARAMETER%"/></out>
<out type="script" condition="!=" lvalue="%USERVAR[1560]%" rvalue="2">#c8#Erreur: #c5#Tappez la commande comme ceci: #c57#!change 04</out>
<out type="break" condition="!=" lvalue="%USERVAR[1560]%" rvalue="2"/>
<out type="script" condition="==" lvalue="%USERVAR[1555]%" rvalue="">#c8#Erreur: #c5#Tappez #c57#!list #c5#avant de changer quelque chose.</out>
<out type="break" condition="==" lvalue="%USERVAR[1555]%" rvalue=""/>
<out type="push" extdata="1554"><operator type="strleft" lvalue="%PARAMETER%" rvalue="1"/></out>
<out type="push" extdata="1568" condition="==" lvalue="%USERVAR[1554]%" rvalue="0"><operator type="strright" lvalue="%PARAMETER%" rvalue="1"/></out>
<out type="push" extdata="1568" condition="!=" lvalue="%USERVAR[1554]%" rvalue="0">%PARAMETER%</out>
<out type="script" condition="<" lvalue="%USERVAR[1568]%" rvalue="1">#c8#Erreur: #c5#Ce nombre n'existe pas!</out>
<out type="break" condition="<" lvalue="%USERVAR[1568]%" rvalue="1"/>
<out type="script" condition=">" lvalue="%USERVAR[1568]%" rvalue="%USERVAR[1555]%">#c8#Erreur: #c5#Ce nombre n'existe pas!</out>
<out type="break" condition=">" lvalue="%USERVAR[1568]%" rvalue="%USERVAR[1555]%"/>
<out type="push" extdata="1552"><operator type="readfile" nvalue="%USERVAR[1550]%Include.tmp" lvalue="l" rvalue="%USERVAR[1568]%"/></out>
<out type="push" extdata="1558"><operator type="strleft" lvalue="%USERVAR[1552]%" rvalue="3"/></out>
<out type="push" extdata="1558"><operator type="strright" lvalue="%USERVAR[1558]%" rvalue="2"/></out>
<out type="push" extdata="1560">0</out>
<out type="push" extdata="1560" condition="==" lvalue="%USERVAR[1558]%" rvalue="«">1</out>
<out type="push" extdata="1560" condition="==" lvalue="%USERVAR[1558]%" rvalue="<">2</out>
<out type="script" condition="==" lvalue="%USERVAR[1560]%" rvalue="0">#c8#Erreur: #c5#Ce fichier INCLUDE a une erreure!</out>
<out type="break" condition="==" lvalue="%USERVAR[1560]%" rvalue="0"/>
<out type="push" extdata="1569"><operator type="strright" lvalue="%USERVAR[1552]%" rvalue="2"/></out>
<out type="push" extdata="1570">%USERVAR[1569]%</out>
<out type="push" extdata="1570" condition="==" lvalue="%USERVAR[1560]%" rvalue="1"><operator type="strrep" nvalue="%USERVAR[1570]%" lvalue="«" rvalue="<"/></out>
<out type="push" extdata="1570" condition="==" lvalue="%USERVAR[1560]%" rvalue="1"><operator type="strrep" nvalue="%USERVAR[1570]%" lvalue="»" rvalue=">"/></out>
<out type="push" extdata="1570" condition="==" lvalue="%USERVAR[1560]%" rvalue="2"><operator type="strrep" nvalue="%USERVAR[1570]%" rvalue="«" lvalue="<"/></out>
<out type="push" extdata="1570" condition="==" lvalue="%USERVAR[1560]%" rvalue="2"><operator type="strrep" nvalue="%USERVAR[1570]%" rvalue="»" lvalue=">"/></out>
<out type="push" extdata="1566"><operator type="readfile" nvalue="%USERVAR[1550]%%USERVAR[1572]%" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="1566"><operator type="strrep" nvalue="%USERVAR[1566]%" lvalue="%USERVAR[1569]%" rvalue="%USERVAR[1570]%"/></out>
<out type="push" extdata="1566"><operator type="strrep" nvalue="%USERVAR[1566]%" lvalue="%USERVAR[1569]%" rvalue="%USERVAR[1570]%"/></out>
<out type="push" extdata="1566"><operator type="strrep" nvalue="%USERVAR[1566]%" lvalue="<" rvalue="\n<"/></out>
<out type="push" extdata="1566"><operator type="strrep" nvalue="%USERVAR[1566]%" lvalue="«" rvalue="\n«"/></out>
<out type="file" mode="t" extdata="%USERVAR[1550]%%USERVAR[1572]%">%USERVAR[1566]%</out>
<out type="push" extdata="1559" condition="==" lvalue="%USERVAR[1560]%" rvalue="1">#c4#[Ouvert]</out>
<out type="push" extdata="1559" condition="==" lvalue="%USERVAR[1560]%" rvalue="2">#c8#[Fermé]</out>
<out type="push" extdata="1557"><operator type="strright" lvalue="%USERVAR[1552]%" rvalue="17"/></out>
<out type="push" extdata="1557"><operator type="strrep" nvalue="%USERVAR[1557]%" lvalue=".xml"/»" rvalue=" "/></out>
<out type="push" extdata="1557"><operator type="strrep" nvalue="%USERVAR[1557]%" lvalue=".xml"/>" rvalue=" "/></out>
<out type="script">#c57#%PARAMETER% #c51#%USERVAR[1557]%%USERVAR[1559]%</out>
<out type="push" extdata="1571">1</out>
<out type="self">!listincludebotonly</out>
</command>
<command type="script" usergroup="Include">
<in>!Ireload</in>
<out type="pop" extdata="1550"/>
<out type="pop" extdata="1551"/>
<out type="pop" extdata="1552"/>
<out type="pop" extdata="1553"/>
<out type="pop" extdata="1554"/>
<out type="pop" extdata="1555"/>
<out type="pop" extdata="1556"/>
<out type="pop" extdata="1557"/>
<out type="pop" extdata="1558"/>
<out type="pop" extdata="1559"/>
<out type="pop" extdata="1560"/>
<out type="pop" extdata="1561"/>
<out type="pop" extdata="1562"/>
<out type="pop" extdata="1563"/>
<out type="pop" extdata="1564"/>
<out type="pop" extdata="1565"/>
<out type="pop" extdata="1566"/>
<out type="pop" extdata="1567"/>
<out type="pop" extdata="1568"/>
<out type="pop" extdata="1569"/>
<out type="pop" extdata="1570"/>
<out type="pop" extdata="1571"/>
<out type="pop" extdata="1572"/>
<out type="pop" extdata="1573"/>
<out type="pop" extdata="1574"/>
<out type="pop" extdata="1575"/>
<out type="script">#c5#INCLUDE reloaded!</out>
</command>