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, 12:42:32 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Games  |  2 player mastermind
gfx
gfxgfx
 

Author Topic: 2 player mastermind  (Read 1551 times)

0 Members and 1 Guest are viewing this topic.

Offline reef

  • WMW Volunteer
  • *****
  • ***
2 player mastermind
« on: December 03, 2006, 09:39:52 am »
Cant't remember the fellas name that made this..... zenar will probly know..... its a pretty cool game tho......

Quote
more and more over....
the challenge of master mind.

I thanks zenar for the first version, where I have copy some code 

triggers are:
!fm  to start the game
!fight  to play like challenger
!reset fm  if same don't go right 

enjoiy....

  sorry for my bad english....  i'm italian

Code: [Select]
<config>


<command type="script" mode="thread" >
<in>%PARAM%</in>
<out type="break" condition="==" lvalue="%USERVAR[1709]%" rvalue="1" />

<out type="push" extdata="1720"><operator type="strrep" nvalue=%RAWNAME% lvalue=&quote; rvalue="sma"/></out>
<out type="push" extdata="1720"><operator type="strrep" nvalue=%USERVAR[1720]% lvalue="%" rvalue="smb"/></out>
<out type="push" extdata="1720"><operator type="strrep" nvalue=%USERVAR[1720]% lvalue=&lowast; rvalue="smc"/></out>

<out type="break" condition="!=" lvalue="%USERVAR[1720]%" rvalue="%USERVAR[1706]%" />
<out type="push" extdata="1729" ><operator type="strlen" lvalue="%PARAM%" /></out>
<out type="break" condition="!=" lvalue="%USERVAR[1729]%" rvalue="4" />
<out type="push" extdata="1725" >0</out>
<out type="push" extdata="1721" ><operator type="strleft" lvalue="%PARAM%" rvalue="1" /></out>
<out type="push" extdata="1722" ><operator type="strleft" lvalue="%PARAM%" rvalue="2" /></out>
<out type="push" extdata="1722" ><operator type="strright" lvalue="%USERVAR[1722]%" rvalue="1" /></out>
<out type="push" extdata="1723" ><operator type="strleft" lvalue="%PARAM%" rvalue="3" /></out>
<out type="push" extdata="1723" ><operator type="strright" lvalue="%USERVAR[1723]%" rvalue="2" /></out>
<out type="push" extdata="1724" ><operator type="strright" lvalue="%PARAM%" rvalue="3" /></out>
<out type="push" extdata="1725" condition="=="lvalue="%USERVAR[1721]%" rvalue="%USERVAR[1722]%" >1</out>
<out type="push" extdata="1725" condition="=="lvalue="%USERVAR[1721]%" rvalue="%USERVAR[1723]%" >1</out>
<out type="push" extdata="1725" condition="=="lvalue="%USERVAR[1721]%" rvalue="%USERVAR[1724]%" >1</out>
<out type="push" extdata="1725" condition="=="lvalue="%USERVAR[1722]%" rvalue="%USERVAR[1723]%" >1</out>
<out type="push" extdata="1725" condition="=="lvalue="%USERVAR[1722]%" rvalue="%USERVAR[1724]%" >1</out>
<out type="push" extdata="1725" condition="=="lvalue="%USERVAR[1723]%" rvalue="%USERVAR[1724]%" >1</out>
<out type="push" extdata="1726" ><operator type="strfind" lvalue="12345678" rvalue="%USERVAR[1721]%" /></out>
<out type="push" extdata="1725" condition="<" lvalue="%USERVAR[1726]%" rvalue="0" >2</out>
<out type="push" extdata="1726" ><operator type="strfind" lvalue="12345678" rvalue="%USERVAR[1722]%" /></out>
<out type="push" extdata="1725" condition="<" lvalue="%USERVAR[1726]%" rvalue="0" >2</out>
<out type="push" extdata="1726" ><operator type="strfind" lvalue="12345678" rvalue="%USERVAR[1723]%" /></out>
<out type="push" extdata="1725" condition="<" lvalue="%USERVAR[1726]%" rvalue="0" >2</out>
<out type="push" extdata="1726" ><operator type="strfind" lvalue="12345678" rvalue="%USERVAR[1724]%" /></out>
<out type="push" extdata="1725" condition="<" lvalue="%USERVAR[1726]%" rvalue="0" >2</out>
<out condition="==" lvalue="%USERVAR[1725]%" rvalue="1">%USERVAR[1701]%#c1# You must not choose the same number two times.</out>
<out condition="==" lvalue="%USERVAR[1725]%" rvalue="2">%USERVAR[1701]%#c1# you must only put numbers between 1 and 8 in the combination.</out>
<out type="break" condition="!=" lvalue="%USERVAR[1725]%" rvalue="0" />
<out type="push" extdata="1727" >%PARAM%</out>
<out type="push" extdata="1708" >0</out>
<out type="push" extdata="1728" ><operator type="-" lvalue="%USERVAR[1728]%" rvalue="1" /></out>
<out type="push" extdata="1751" ><operator type="strleft" lvalue="%USERVAR[1727]%" rvalue="1" /></out>
<out type="push" extdata="1752" ><operator type="strleft" lvalue="%USERVAR[1727]%" rvalue="2" /></out>
<out type="push" extdata="1752" ><operator type="strright" lvalue="%USERVAR[1752]%" rvalue="1" /></out>
<out type="push" extdata="1753" ><operator type="strleft" lvalue="%USERVAR[1727]%" rvalue="3" /></out>
<out type="push" extdata="1753" ><operator type="strright" lvalue="%USERVAR[1753]%" rvalue="2" /></out>
<out type="push" extdata="1754" ><operator type="strright" lvalue="%USERVAR[1727]%" rvalue="3" /></out>
<out type="push" extdata="1755" >0</out>
<out type="push" extdata="1756" >0</out>
<out type="push" extdata="1755" condition="==" lvalue="%USERVAR[1751]%" rvalue="%USERVAR[1731]%"><operator type="+" lvalue="%USERVAR[1755]%" rvalue="1" /></out>
<out type="goto" extdata="3" condition="==" lvalue="%USERVAR[1751]%" rvalue="%USERVAR[1731]%" />
<out type="push" extdata="1757" ><operator type="strfind" lvalue="%USERVAR[1730]%" rvalue="%USERVAR[1751]%" /></out>
<out type="push" extdata="1756" condition=">" lvalue="%USERVAR[1757]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1756]%" rvalue="1" /></out>
<out type="push" extdata="1755" condition="==" lvalue="%USERVAR[1752]%" rvalue="%USERVAR[1732]%"><operator type="+" lvalue="%USERVAR[1755]%" rvalue="1" /></out>
<out type="goto" extdata="3" condition="==" lvalue="%USERVAR[1752]%" rvalue="%USERVAR[1732]%" />
<out type="push" extdata="1757" ><operator type="strfind" lvalue="%USERVAR[1730]%" rvalue="%USERVAR[1752]%" /></out>
<out type="push" extdata="1756" condition=">" lvalue="%USERVAR[1757]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1756]%" rvalue="1" /></out>
<out type="push" extdata="1755" condition="==" lvalue="%USERVAR[1753]%" rvalue="%USERVAR[1733]%"><operator type="+" lvalue="%USERVAR[1755]%" rvalue="1" /></out>
<out type="goto" extdata="3" condition="==" lvalue="%USERVAR[1753]%" rvalue="%USERVAR[1733]%" />
<out type="push" extdata="1757" ><operator type="strfind" lvalue="%USERVAR[1730]%" rvalue="%USERVAR[1753]%" /></out>
<out type="push" extdata="1756" condition=">" lvalue="%USERVAR[1757]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1756]%" rvalue="1" /></out>
<out type="push" extdata="1755" condition="==" lvalue="%USERVAR[1754]%" rvalue="%USERVAR[1734]%"><operator type="+" lvalue="%USERVAR[1755]%" rvalue="1" /></out>
<out type="goto" extdata="3" condition="==" lvalue="%USERVAR[1754]%" rvalue="%USERVAR[1734]%" />
<out type="push" extdata="1757" ><operator type="strfind" lvalue="%USERVAR[1730]%" rvalue="%USERVAR[1754]%" /></out>
<out type="push" extdata="1756" condition=">" lvalue="%USERVAR[1757]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1756]%" rvalue="1" /></out>
<out type="push" extdata="1758" >%USERVAR[1755]%%USERVAR[1756]%</out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="00">#c58#@#c58#@#c58#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="01">#c56#@#c58#@#c58#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="02">#c56#@#c56#@#c58#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="03">#c56#@#c56#@#c56#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="04">#c56#@#c56#@#c56#@#c56#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="10">#c54#@#c58#@#c58#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="11">#c54#@#c56#@#c58#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="12">#c54#@#c56#@#c56#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="13">#c54#@#c56#@#c56#@#c56#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="20">#c54#@#c54#@#c58#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="21">#c54#@#c54#@#c56#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="22">#c54#@#c54#@#c56#@#c56#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="30">#c54#@#c54#@#c54#@#c58#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="31">#c54#@#c54#@#c54#@#c56#@ </out>
<out type="push" extdata="1759" condition="==" lvalue="%USERVAR[1758]%" rvalue="40">#c54#@#c54#@#c54#@#c54#@ </out>
<out type="push" extdata="1710" condition="==" lvalue="%USERVAR[1758]%" rvalue="40">2</out>
<out type="push" extdata="1770" condition="==" lvalue="%USERVAR[1728]%" rvalue="9" >%USERVAR[1701]%#c1# attempt 1: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="10" >%USERVAR[1770]%</out>
<out type="push" extdata="1771" condition="==" lvalue="%USERVAR[1728]%" rvalue="8" >%USERVAR[1701]%#c1# attempt 2: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="9" >%USERVAR[1771]%</out>
<out type="push" extdata="1772" condition="==" lvalue="%USERVAR[1728]%" rvalue="7" >%USERVAR[1701]%#c1# attempt 3: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="8" >%USERVAR[1772]%</out>
<out type="push" extdata="1773" condition="==" lvalue="%USERVAR[1728]%" rvalue="6" >%USERVAR[1701]%#c1# attempt 4: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="7" >%USERVAR[1773]%</out>
<out type="push" extdata="1774" condition="==" lvalue="%USERVAR[1728]%" rvalue="5" >%USERVAR[1701]%#c1# attempt 5: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="6" >%USERVAR[1774]%</out>
<out type="push" extdata="1775" condition="==" lvalue="%USERVAR[1728]%" rvalue="4" >%USERVAR[1701]%#c1# attempt 6: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="5" >%USERVAR[1775]%</out>
<out type="push" extdata="1776" condition="==" lvalue="%USERVAR[1728]%" rvalue="3" >%USERVAR[1701]%#c1# attempt 7: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="4" >%USERVAR[1776]%</out>
<out type="push" extdata="1777" condition="==" lvalue="%USERVAR[1728]%" rvalue="2" >%USERVAR[1701]%#c1# attempt 8: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="3" >%USERVAR[1777]%</out>
<out type="push" extdata="1778" condition="==" lvalue="%USERVAR[1728]%" rvalue="1" >%USERVAR[1701]%#c1# attempt 9: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="2" >%USERVAR[1778]%</out>
<out type="push" extdata="1779" condition="==" lvalue="%USERVAR[1728]%" rvalue="0" >%USERVAR[1701]%#c1# attempt  10: %USERVAR[1727]% %USERVAR[1759]%</out>
<out condition="<" lvalue="%USERVAR[1728]%" rvalue="1" >%USERVAR[1779]%</out>
</command>

<command type="script">
<in>!reset fm</in>
<out type="pop" extdata="1704" />
<out>fight master reseted.</out>
</command>

<command type="script" mode="thread" >
<in>!fight</in>
<out type="break" condition="!=" lvalue="%USERVAR[1704]%" rvalue="on" />
<out condition="==" lvalue="%USERVAR[1700]%" rvalue="%NAME%" >You can't play your self %NAME%</out>
<out type="break" condition="==" lvalue="%USERVAR[1700]%" rvalue="%NAME%" />
<out condition="!=" lvalue="%USERVAR[1701]%" rvalue="" >i'm sorry %NAME%, but the fighter is %USERVAR[1701]%</out>
<out type="break" condition="!=" lvalue="%USERVAR[1701]%" rvalue="" />

<out type="push" extdata="1701">%NAME%</out>
<out type="push" extdata="1706" >%RAWNAME%</out>
<out type="push" extdata="1781" >%RAWNAME%</out>

<out type="push" extdata="1706"><operator type="strrep" nvalue=%USERVAR[1706]% lvalue=&quote; rvalue="sma"/></out>
<out type="push" extdata="1706"><operator type="strrep" nvalue=%USERVAR[1706]% lvalue="%" rvalue="smb"/></out>
<out type="push" extdata="1706"><operator type="strrep" nvalue=%USERVAR[1706]% lvalue=&lowast; rvalue="smc"/></out>

<out>the fighter of master mind is %NAME%</out>
<out type="pop" extdata="1703" />
</command>


<command type="script" users="_BOT_SELF_TRIGGER_">
<in>!combinazione</in>
<out type="push" extdata="1731" >%RANDOMNUM[8]%</out>
<out type="push" extdata="1731" ><operator type="+" lvalue=%USERVAR[1731]%" rvalue="1" /></out>
<out type="push" extdata="1735" >%USERVAR[1731]%</out>

<out type="push" extdata="1732" >%RANDOMNUM[8]%</out>
<out type="push" extdata="1732" ><operator type="+" lvalue=%USERVAR[1732]%" rvalue="1" /></out>
<out type="goto" extdata="-3" condition="==" lvalue="%USERVAR[1732]%" rvalue="%USERVAR[1731]%" />
<out type="push" extdata="1735" >%USERVAR[1731]%-%USERVAR[1732]%</out>


<out type="push" extdata="1733" >%RANDOMNUM[8]%</out>
<out type="push" extdata="1733" ><operator type="+" lvalue=%USERVAR[1733]%" rvalue="1" /></out>
<out type="goto" extdata="-3" condition="==" lvalue="%USERVAR[1733]%" rvalue="%USERVAR[1731]%" />
<out type="goto" extdata="-4" condition="==" lvalue="%USERVAR[1733]%" rvalue="%USERVAR[1732]%" />
<out type="push" extdata="1735" >%USERVAR[1731]%-%USERVAR[1733]%</out>

<out type="push" extdata="1734" >%RANDOMNUM[8]%</out>
<out type="push" extdata="1734" ><operator type="+" lvalue="%USERVAR[1734]%" rvalue="1" /></out>
<out type="goto" extdata="-3" condition="==" lvalue="%USERVAR[1734]%" rvalue="%USERVAR[1731]%" />
<out type="goto" extdata="-4" condition="==" lvalue="%USERVAR[1734]%" rvalue="%USERVAR[1732]%" />
<out type="goto" extdata="-5" condition="==" lvalue="%USERVAR[1734]%" rvalue="%USERVAR[1733]%" />
<out type="push" extdata="1735" >%USERVAR[1731]%-%USERVAR[1734]%</out>

<out type="push" extdata="1730" >%USERVAR[1731]%%USERVAR[1732]%%USERVAR[1733]%%USERVAR[1734]%</out>
</command>

<command type="script" mode="thread" >
<in>!fm</in>
<out condition="==" lvalue="%USERVAR[1704]%" rvalue="on">I'm sorry %NAME%, but the gase is on use</out>
<out type="break" condition="==" lvalue="%USERVAR[1704]%" rvalue="on" />
<out type="push" extdata="1704" >on</out>
<out type="pop" extdata="1701" />
<out type="pop" extdata="1709" />
<out type="pop" extdata="1710" />
<out type="pop" extdata="1730" />
<out type="pop" extdata="1731" />
<out type="pop" extdata="1732" />
<out type="pop" extdata="1733" />
<out type="pop" extdata="1734" />
<out type="self" >!combinazione</out>
<out>Now start a new fight of a Master Mind whit %NAME%</out>
<out type="pop" extdata="1702" />
<out type="push" extdata="1703" >on</out>
<out>who whant to fight whit %NAME%#c1# type !fight into next 30 seconds</out>
<out type="push" extdata="1700" >%NAME%</out>
<out type="push" extdata="1705" >%RAWNAME%</out>
<out type="push" extdata="1780" >%RAWNAME%</out>

<out type="push" extdata="1705"><operator type="strrep" nvalue=%USERVAR[1705]% lvalue=&quote; rvalue="sma"/></out>
<out type="push" extdata="1705"><operator type="strrep" nvalue=%USERVAR[1705]% lvalue="%" rvalue="smb"/></out>
<out type="push" extdata="1705"><operator type="strrep" nvalue=%USERVAR[1705]% lvalue=&lowast; rvalue="smc"/></out>

<out type="pop" extdata="1701"/>
<out type="push" extdata="1702" ><operator type="+" lvalue="%USERVAR[1702]%" rvalue="1" /></out>
<out type="sleep" extdata="1000" />
<out condition=">" lvalue="%USERVAR[1702]%" rvalue="30" >No one fighter for to play whit %USERVAR[1700]%;#c1# game over</out>
<out type="pop" extdata="1704" condition=">" lvalue="%USERVAR[1702]%" rvalue="30" />
<out type="break" condition=">" lvalue="%USERVAR[1702]%" rvalue="30" />
<out type="goto" extdata="-5" condition="==" lvalue="%USERVAR[1701]%" rvalue="" />
<out>Now I start a new fight of Master MInd %USERVAR[1700]% Vs %USERVAR[1701]%</out>
<out type="pop" extdata="1717" />
<out type="push" extdata="1709" >0</out>
<out type="push" extdata="1710" >0</out>
<out type="push" extdata="1718" >10</out>
<out type="pop" extdata="1727" />
<out type="push" extdata="1728" >10</out>
<out>%USERVAR[1700]% #c1# e %USERVAR[1701]% #c1# you must write a number like 1234. You can use number from 1 to 8.</out>
<out>every fighter have 10 hits to resolve the Master Mind</out>
<out>%USERVAR[1700]%#c1# and %USERVAR[1701]%#c1# type your first attempt</out>
<out type="pop" extdata="1707" />
<out type="pop" extdata="1708" />
<out type="sleep" extdata="1000" />
<out type="push" extdata="1707" ><operator type="+" lvalue="%USERVAR[1707]%" rvalue="1" /></out>
<out type="push" extdata="1708" ><operator type="+" lvalue="%USERVAR[1708]%" rvalue="1" /></out>
<out condition="==" lvalue="%USERVAR[1707]%" rvalue="50">hurry up %USERVAR[1700]%#c1#, you have 10 seconds to left</out>
<out condition="==" lvalue="%USERVAR[1708]%" rvalue="50">hurry up %USERVAR[1701]%#c1#, you have 10 seconds to left</out>
<out condition=">" lvalue="%USERVAR[1707]%" rvalue="60" >I'm sorry %USERVAR[1700]%#c1# , you have lose. %USERVAR[1701]%#c1# win the game</out>
<out type="push" extdata="1709" condition=">" lvalue="%USERVAR[1707]%" rvalue="60" >1</out>
<out condition=">" lvalue="%USERVAR[1708]%" rvalue="60" >I'm sorry %USERVAR[1701]%#c1# , you have lose. %USERVAR[1700]%#c1# win the game</out>
<out type="push" extdata="1709" condition=">" lvalue="%USERVAR[1708]%" rvalue="60" >1</out>
<out condition="==" lvalue="%USERVAR[1710]%" rvalue="1" >Great %USERVAR[1700]%#c1# you have gained the challenge against  %USERVAR[1701]%</out>
<out condition="==" lvalue="%USERVAR[1710]%" rvalue="2" >Great %USERVAR[1701]%#c1# you have gained the challenge against  %USERVAR[1700]%</out>
<out type="push" extdata="1709" condition="!=" lvalue="%USERVAR[1710]%" rvalue="0" >1</out>
<out condition="==" lvalue="%USERVAR[1728]%" rvalue="0" >Sorry %USERVAR[1701]%#c1#, you have ended the tried ones to you available and wins %USERVAR[1700]%</out>
<out type="push" extdata="1709" condition="==" lvalue="%USERVAR[1728]%" rvalue="0" >1</out>
<out condition="==" lvalue="%USERVAR[1718]%" rvalue="0" >Sorry %USERVAR[1700]%#c1#, you have ended the tried ones to you available and wins %USERVAR[1701]%</out>
<out type="push" extdata="1709" condition="==" lvalue="%USERVAR[1718]%" rvalue="0" >1</out>
<out type="goto" extdata="-16" condition="==" lvalue="%USERVAR[1709]%" rvalue="0" />
<out>the correct combination was : #c11#%USERVAR[1730]%</out>
<out type="pop" extdata="1704" />
<out type="pop" extdata="1705" />
<out type="pop" extdata="1706" />
</command>



<command type="script" mode="thread" >
<in>%PARAM%</in>
<out type="break" condition="==" lvalue="%USERVAR[1709]%" rvalue="1" />

<out type="push" extdata="1739"><operator type="strrep" nvalue=%RAWNAME% lvalue=&quote; rvalue="sma"/></out>
<out type="push" extdata="1739"><operator type="strrep" nvalue=%USERVAR[1739]% lvalue="%" rvalue="smb"/></out>
<out type="push" extdata="1739"><operator type="strrep" nvalue=%USERVAR[1739]% lvalue=&lowast; rvalue="smc"/></out>

<out type="break" condition="!=" lvalue="%USERVAR[1739]%" rvalue="%USERVAR[1705]%" />
<out type="push" extdata="1719" ><operator type="strlen" lvalue="%PARAM%" /></out>
<out type="break" condition="!=" lvalue="%USERVAR[1719]%" rvalue="4" />
<out type="push" extdata="1715" >0</out>
<out type="push" extdata="1711" ><operator type="strleft" lvalue="%PARAM%" rvalue="1" /></out>
<out type="push" extdata="1712" ><operator type="strleft" lvalue="%PARAM%" rvalue="2" /></out>
<out type="push" extdata="1712" ><operator type="strright" lvalue="%USERVAR[1712]%" rvalue="1" /></out>
<out type="push" extdata="1713" ><operator type="strleft" lvalue="%PARAM%" rvalue="3" /></out>
<out type="push" extdata="1713" ><operator type="strright" lvalue="%USERVAR[1713]%" rvalue="2" /></out>
<out type="push" extdata="1714" ><operator type="strright" lvalue="%PARAM%" rvalue="3" /></out>
<out type="push" extdata="1715" condition="=="lvalue="%USERVAR[1711]%" rvalue="%USERVAR[1712]%" >1</out>
<out type="push" extdata="1715" condition="=="lvalue="%USERVAR[1711]%" rvalue="%USERVAR[1713]%" >1</out>
<out type="push" extdata="1715" condition="=="lvalue="%USERVAR[1711]%" rvalue="%USERVAR[1714]%" >1</out>
<out type="push" extdata="1715" condition="=="lvalue="%USERVAR[1712]%" rvalue="%USERVAR[1713]%" >1</out>
<out type="push" extdata="1715" condition="=="lvalue="%USERVAR[1712]%" rvalue="%USERVAR[1714]%" >1</out>
<out type="push" extdata="1715" condition="=="lvalue="%USERVAR[1713]%" rvalue="%USERVAR[1714]%" >1</out>
<out type="push" extdata="1716" ><operator type="strfind" lvalue="12345678" rvalue="%USERVAR[1711]%" /></out>
<out type="push" extdata="1715" condition="<" lvalue="%USERVAR[1716]%" rvalue="0" >2</out>
<out type="push" extdata="1716" ><operator type="strfind" lvalue="12345678" rvalue="%USERVAR[1712]%" /></out>
<out type="push" extdata="1715" condition="<" lvalue="%USERVAR[1716]%" rvalue="0" >2</out>
<out type="push" extdata="1716" ><operator type="strfind" lvalue="12345678" rvalue="%USERVAR[1713]%" /></out>
<out type="push" extdata="1715" condition="<" lvalue="%USERVAR[1716]%" rvalue="0" >2</out>
<out type="push" extdata="1716" ><operator type="strfind" lvalue="12345678" rvalue="%USERVAR[1714]%" /></out>
<out type="push" extdata="1715" condition="<" lvalue="%USERVAR[1716]%" rvalue="0" >2</out>
<out condition="==" lvalue="%USERVAR[1715]%" rvalue="1">%USERVAR[1700]%#c1# You must not choose the same number two times.</out>
<out condition="==" lvalue="%USERVAR[1715]%" rvalue="2">%USERVAR[1700]%#c1# you must only put numbers between 1 and 8 in the combination.</out>
<out type="break" condition="!=" lvalue="%USERVAR[1715]%" rvalue="0" />
<out type="push" extdata="1717" >%PARAM%</out>
<out type="push" extdata="1707" >0</out>
<out type="push" extdata="1718" ><operator type="-" lvalue="%USERVAR[1718]%" rvalue="1" /></out>
<out type="push" extdata="1741" ><operator type="strleft" lvalue="%USERVAR[1717]%" rvalue="1" /></out>
<out type="push" extdata="1742" ><operator type="strleft" lvalue="%USERVAR[1717]%" rvalue="2" /></out>
<out type="push" extdata="1742" ><operator type="strright" lvalue="%USERVAR[1742]%" rvalue="1" /></out>
<out type="push" extdata="1743" ><operator type="strleft" lvalue="%USERVAR[1717]%" rvalue="3" /></out>
<out type="push" extdata="1743" ><operator type="strright" lvalue="%USERVAR[1743]%" rvalue="2" /></out>
<out type="push" extdata="1744" ><operator type="strright" lvalue="%USERVAR[1717]%" rvalue="3" /></out>
<out type="push" extdata="1745" >0</out>
<out type="push" extdata="1746" >0</out>
<out type="push" extdata="1745" condition="==" lvalue="%USERVAR[1741]%" rvalue="%USERVAR[1731]%"><operator type="+" lvalue="%USERVAR[1745]%" rvalue="1" /></out>
<out type="goto" extdata="3" condition="==" lvalue="%USERVAR[1741]%" rvalue="%USERVAR[1731]%" />
<out type="push" extdata="1747" ><operator type="strfind" lvalue="%USERVAR[1730]%" rvalue="%USERVAR[1741]%" /></out>
<out type="push" extdata="1746" condition=">" lvalue="%USERVAR[1747]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1746]%" rvalue="1" /></out>
<out type="push" extdata="1745" condition="==" lvalue="%USERVAR[1742]%" rvalue="%USERVAR[1732]%"><operator type="+" lvalue="%USERVAR[1745]%" rvalue="1" /></out>
<out type="goto" extdata="3" condition="==" lvalue="%USERVAR[1742]%" rvalue="%USERVAR[1732]%" />
<out type="push" extdata="1747" ><operator type="strfind" lvalue="%USERVAR[1730]%" rvalue="%USERVAR[1742]%" /></out>
<out type="push" extdata="1746" condition=">" lvalue="%USERVAR[1747]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1746]%" rvalue="1" /></out>
<out type="push" extdata="1745" condition="==" lvalue="%USERVAR[1743]%" rvalue="%USERVAR[1733]%"><operator type="+" lvalue="%USERVAR[1745]%" rvalue="1" /></out>
<out type="goto" extdata="3" condition="==" lvalue="%USERVAR[1743]%" rvalue="%USERVAR[1733]%" />
<out type="push" extdata="1747" ><operator type="strfind" lvalue="%USERVAR[1730]%" rvalue="%USERVAR[1743]%" /></out>
<out type="push" extdata="1746" condition=">" lvalue="%USERVAR[1747]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1746]%" rvalue="1" /></out>
<out type="push" extdata="1745" condition="==" lvalue="%USERVAR[1744]%" rvalue="%USERVAR[1734]%"><operator type="+" lvalue="%USERVAR[1745]%" rvalue="1" /></out>
<out type="goto" extdata="3" condition="==" lvalue="%USERVAR[1744]%" rvalue="%USERVAR[1734]%" />
<out type="push" extdata="1747" ><operator type="strfind" lvalue="%USERVAR[1730]%" rvalue="%USERVAR[1744]%" /></out>
<out type="push" extdata="1746" condition=">" lvalue="%USERVAR[1747]%" rvalue="-1"><operator type="+" lvalue="%USERVAR[1746]%" rvalue="1" /></out>
<out type="push" extdata="1748" >%USERVAR[1745]%%USERVAR[1746]%</out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="00">#c58#@#c58#@#c58#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="01">#c56#@#c58#@#c58#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="02">#c56#@#c56#@#c58#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="03">#c56#@#c56#@#c56#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="04">#c56#@#c56#@#c56#@#c56#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="10">#c54#@#c58#@#c58#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="11">#c54#@#c56#@#c58#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="12">#c54#@#c56#@#c56#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="13">#c54#@#c56#@#c56#@#c56#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="20">#c54#@#c54#@#c58#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="21">#c54#@#c54#@#c56#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="22">#c54#@#c54#@#c56#@#c56#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="30">#c54#@#c54#@#c54#@#c58#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="31">#c54#@#c54#@#c54#@#c56#@ </out>
<out type="push" extdata="1749" condition="==" lvalue="%USERVAR[1748]%" rvalue="40">#c54#@#c54#@#c54#@#c54#@ </out>
<out type="push" extdata="1710" condition="==" lvalue="%USERVAR[1748]%" rvalue="40">1</out>
<out type="push" extdata="1760" condition="==" lvalue="%USERVAR[1718]%" rvalue="9" >%USERVAR[1700]%#c1# attempt 1: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="10" >%USERVAR[1760]%</out>
<out type="push" extdata="1761" condition="==" lvalue="%USERVAR[1718]%" rvalue="8" >%USERVAR[1700]%#c1# attempt 2: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="9" >%USERVAR[1761]%</out>
<out type="push" extdata="1762" condition="==" lvalue="%USERVAR[1718]%" rvalue="7" >%USERVAR[1700]%#c1# attempt 3: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="8" >%USERVAR[1762]%</out>
<out type="push" extdata="1763" condition="==" lvalue="%USERVAR[1718]%" rvalue="6" >%USERVAR[1700]%#c1# attempt 4: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="7" >%USERVAR[1763]%</out>
<out type="push" extdata="1764" condition="==" lvalue="%USERVAR[1718]%" rvalue="5" >%USERVAR[1700]%#c1# attempt 5: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="6" >%USERVAR[1764]%</out>
<out type="push" extdata="1765" condition="==" lvalue="%USERVAR[1718]%" rvalue="4" >%USERVAR[1700]%#c1# attempt 6: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="5" >%USERVAR[1765]%</out>
<out type="push" extdata="1766" condition="==" lvalue="%USERVAR[1718]%" rvalue="3" >%USERVAR[1700]%#c1# attempt 7: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="4" >%USERVAR[1766]%</out>
<out type="push" extdata="1767" condition="==" lvalue="%USERVAR[1718]%" rvalue="2" >%USERVAR[1700]%#c1# attempt 8: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="3" >%USERVAR[1767]%</out>
<out type="push" extdata="1768" condition="==" lvalue="%USERVAR[1718]%" rvalue="1" >%USERVAR[1700]%#c1# attempt 9: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="2" >%USERVAR[1768]%</out>
<out type="push" extdata="1769" condition="==" lvalue="%USERVAR[1718]%" rvalue="0" >%USERVAR[1700]%#c1# attempt 10: %USERVAR[1717]% %USERVAR[1749]%</out>
<out condition="<" lvalue="%USERVAR[1718]%" rvalue="1" >%USERVAR[1769]%</out>
</command>


</config>

WinMX World :: Forum  |  Metis Scripts and Help  |  Games  |  2 player mastermind
 

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