PC Help And Information Easy Maintenance And Free Software
 
HomePortalFAQSearchRegisterLog in

Share | 
 

 Mastermind : By Sean

View previous topic View next topic Go down 
AuthorMessage
Steve™
Management

Management
avatar

Male
Number of posts : 2447
Home : At Home
Humor : If Im Not Back Later... Wait Longer
Registration date : 2007-07-30

PostSubject: Mastermind : By Sean   Tue Mar 09, 2010 9:22 am

Code:
<config>
<command type="script" condition="0" lvalue="$mon$" rvalue="1">
<in>!mastermind</in>
<out type="push" extdata="mon">1</out>
<out type="push" extdata="muser">%NAME%</out>
<out type="push" extdata="turns">12</out>

<out type="push" extdata="mnum1">%RANDOMNUM[10]%</out>
<out type="push" extdata="mstring1">$mnum1$</out>
<out type="push" extdata="mnum2">%RANDOMNUM[10]%</out>
<out type="goto" extdata="-1" condition="4" lvalue="$mstring1$" rvalue="$mnum2$"/>
<out type="push" extdata="mstring1">$mstring1$$mnum2$</out>
<out type="push" extdata="mnum3">%RANDOMNUM[10]%</out>
<out type="goto" extdata="-1" condition="4" lvalue="$mstring1$" rvalue="$mnum3$"/>
<out type="push" extdata="mstring1">$mstring1$$mnum3$</out>
<out type="push" extdata="mnum4">%RANDOMNUM[10]%</out>
<out type="goto" extdata="-1" condition="4" lvalue="$mstring1$" rvalue="$mnum4$"/>
<out type="push" extdata="mstring1">$mstring1$$mnum4$</out>

<out>#c62#Please choose a four digit number such as #c57#0479#c62#.</out>
</command>

<command type="script" condition="1" lvalue="$mon$" rvalue="1">
<in condition="1" lvalue="%NAME%" rvalue="$muser$">%PARAM%</in>
<out type="push" extdata="value">%PARAM%</out>

<out type="push" extdata="val1a"><operator type="strtrm" lvalue="$value$" rvalue="1"/></out>
<out type="break" condition="5" lvalue="0123456789" rvalue="$val1a$"></out>
<out type="push" extdata="mstring2">$val1a$</out>
<out type="push" extdata="value"><operator type="strrem" lvalue="$value$" rvalue="$val1a$"/></out>
<out type="push" extdata="val2a"><operator type="strtrm" lvalue="$value$" rvalue="1"/></out>
<out type="break" condition="5" lvalue="0123456789" rvalue="$val2a$"></out>
<out condition="4" lvalue="$mstring2$" rvalue="$val2a$">#c62#Only use each value once.</out>
<out type="break" condition="4" lvalue="$mstring2$" rvalue="$val2a$"></out>
<out type="push" extdata="mstring2">$mstring2$.$val2a$</out>
<out type="push" extdata="value"><operator type="strrem" lvalue="$value$" rvalue="$val2a$"/></out>
<out type="push" extdata="val3a"><operator type="strtrm" lvalue="$value$" rvalue="1"/></out>
<out type="break" condition="5" lvalue="0123456789" rvalue="$val3a$"></out>
<out condition="4" lvalue="$mstring2$" rvalue="$val3a$">#c62#Only use each value once.</out>
<out type="break" condition="4" lvalue="$mstring2$" rvalue="$val3a$"></out>
<out type="push" extdata="mstring2">$mstring2$.$val3a$</out>
<out type="push" extdata="value"><operator type="strrem" lvalue="$value$" rvalue="$val3a$"/></out>
<out type="push" extdata="val4a"><operator type="strtrm" lvalue="$value$" rvalue="1"/></out>
<out type="break" condition="5" lvalue="0123456789" rvalue="$val4a$"></out>
<out condition="4" lvalue="$mstring2$" rvalue="$val4a$">#c62#Only use each value once.</out>
<out type="break" condition="4" lvalue="$mstring2$" rvalue="$val4a$"></out>
<out type="push" extdata="mstring2">$mstring2$.$val4a$</out>

<out type="push" extdata="mnuma">0</out>
<out type="push" extdata="mnumb">0</out>
<out type="push" extdata="mnumc">0</out>

<out type="push" extdata="mnumb" condition="4" lvalue="$mstring1$" rvalue="$val1a$"><operator type="+" lvalue="$mnumb$" rvalue="1"/></out>
<out type="push" extdata="mnumc" condition="1" lvalue="$mnum1$" rvalue="$val1a$"><operator type="+" lvalue="$mnumc$" rvalue="1"/></out>
<out type="push" extdata="mnumb" condition="4" lvalue="$mstring1$" rvalue="$val2a$"><operator type="+" lvalue="$mnumb$" rvalue="1"/></out>
<out type="push" extdata="mnumc" condition="1" lvalue="$mnum2$" rvalue="$val2a$"><operator type="+" lvalue="$mnumc$" rvalue="1"/></out>
<out type="push" extdata="mnumb" condition="4" lvalue="$mstring1$" rvalue="$val3a$"><operator type="+" lvalue="$mnumb$" rvalue="1"/></out>
<out type="push" extdata="mnumc" condition="1" lvalue="$mnum3$" rvalue="$val3a$"><operator type="+" lvalue="$mnumc$" rvalue="1"/></out>
<out type="push" extdata="mnumb" condition="4" lvalue="$mstring1$" rvalue="$val4a$"><operator type="+" lvalue="$mnumb$" rvalue="1"/></out>
<out type="push" extdata="mnumc" condition="1" lvalue="$mnum4$" rvalue="$val4a$"><operator type="+" lvalue="$mnumc$" rvalue="1"/></out>
<out type="push" extdata="mnumb"><operator type="-" lvalue="$mnumb$" rvalue="$mnumc$"/></out>
<out type="push" extdata="mnuma"><operator type="+" lvalue="$mnumb$" rvalue="$mnumc$"/></out>
<out type="push" extdata="mnuma"><operator type="-" lvalue="4" rvalue="$mnuma$"/></out>

<out type="push" extdata="moutput">#c51#·</out>
<out type="push" extdata="moutput" condition="0" lvalue="$mnumc$" rvalue="0">$moutput$ #c54#@ #c51#·</out>
<out type="push" extdata="mnumc" condition="0" lvalue="$mnumc$" rvalue="0"><operator type="-" lvalue="$mnumc$" rvalue="1"/></out>
<out type="goto" extdata="-2" condition="0" lvalue="$mnumc$" rvalue="0"></out>

<out type="push" extdata="moutput" condition="0" lvalue="$mnumb$" rvalue="0">$moutput$ #c57#@ #c51#·</out>
<out type="push" extdata="mnumb" condition="0" lvalue="$mnumb$" rvalue="0"><operator type="-" lvalue="$mnumb$" rvalue="1"/></out>
<out type="goto" extdata="-2" condition="0" lvalue="$mnumb$" rvalue="0"></out>

<out type="push" extdata="moutput" condition="0" lvalue="$mnuma$" rvalue="0">$moutput$ #c58#@ #c51#·</out>
<out type="push" extdata="mnuma" condition="0" lvalue="$mnuma$" rvalue="0"><operator type="-" lvalue="$mnuma$" rvalue="1"/></out>
<out type="goto" extdata="-2" condition="0" lvalue="$mnuma$" rvalue="0"></out>

<out>/notice &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$moutput$&nbsp;&nbsp;#c57#$turns$ #c62#chances left.</out>

<out type="push" extdata="turns"><operator type="-" lvalue="$turns$" rvalue="1"/></out>

<out condition="1" lvalue="$moutput$" rvalue="#c51#· #c54#@ #c51#· #c54#@ #c51#· #c54#@ #c51#· #c54#@ #c51#·">#c62#Good. #c57#$mstring1$ #c62#was the number.</out>
<out type="push" extdata="mon" condition="1" lvalue="$moutput$" rvalue="#c51#· #c54#@ #c51#· #c54#@ #c51#· #c54#@ #c51#· #c54#@ #c51#·">0</out>
<out type="break" condition="1" lvalue="$moutput$" rvalue="#c51#· #c54#@ #c51#· #c54#@ #c51#· #c54#@ #c51#· #c54#@ #c51#·"></out>
<out condition="1" lvalue="$turns$" rvalue="-1">#c62#Sorry. #c57#$mstring1$ #c62#was the number.</out>
<out type="push" extdata="mon" condition="1" lvalue="$turns$" rvalue="-1">0</out>
</command>
</config>



Back to top Go down
http://maxtech.youneed.us
 
Mastermind : By Sean
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Sean's Drawing Talent Come an take a look ^_^
» 'No action' against hater trolls

Permissions in this forum:You cannot reply to topics in this forum
MaxTech ::  The World Of WinMX Chat :: Metis Working Scripts Centre-
Jump to: