0 Members and 1 Guest are viewing this topic.
<config><command><in>!rps</in><out> this is the famous 'Rock-Paper-Scissors' Game: to play type... #c5#!rock #c1#or #c2#!paper #c1#or #c10#!scissors\n #c5#Rock #c1#beats #c10#Scissors Scissors #c1#beats #c2#Paper Paper #c1#beats #c5#Rock </out></command><command type="script"><in>!rock</in><out type="push" extdata="rock">%RANDOMNUM[3]%</out><out type="push" extdata="rock" condition="==" lvalue=$rock$ rvalue=0> #c9#Rock! ... It's a DRAW!</out><out type="push" extdata="rock" condition="==" lvalue=$rock$ rvalue=1> #c9#Paper! ... I WIN!!! ... I'm good lol.</out><out type="push" extdata="rock" condition="==" lvalue=$rock$ rvalue=2> #c9#Scissors! ... YOU WIN!!! ... Congratulations!!!</out><out>$rock$</out></command><command type="script"><in>!paper</in><out type="push" extdata="paper">%RANDOMNUM[3]%</out><out type="push" extdata="paper" condition="==" lvalue=$paper$ rvalue=0> #c9#Rock! ... YOU WIN!!! ... Congratulations!!!</out><out type="push" extdata="paper" condition="==" lvalue=$paper$ rvalue=1> #c9#Paper! ... It's a DRAW!</out><out type="push" extdata="paper" condition="==" lvalue=$paper$ rvalue=2> #c9#Scissors! ... I WIN!!! ... I'm good lol.</out><out>$paper$</out></command><command type="script"><in>!scissors</in><out type="push" extdata="scissors">%RANDOMNUM[3]%</out><out type="push" extdata="scissors" condition="==" lvalue=$scissors$ rvalue=0> #c9#Rock! ... I WIN!!! ... I'm good lol.</out><out type="push" extdata="scissors" condition="==" lvalue=$scissors$ rvalue=1> #c9#Paper! ... YOU WIN!!! ... Congratulations!!!</out><out type="push" extdata="scissors" condition="==" lvalue=$scissors$ rvalue=2> #c9#Scissors! ... It's a DRAW!</out><out>$scissors$</out></command> </config>
i have seen some long scripts of Rock Paper Scissors, but this is my shorter versionCode: [Select]<config><command><in>!rps</in><out> this is the famous 'Rock-Paper-Scissors' Game: to play type... #c5#!rock #c1#or #c2#!paper #c1#or #c10#!scissors\n #c5#Rock #c1#beats #c10#Scissors Scissors #c1#beats #c2#Paper Paper #c1#beats #c5#Rock </out></command><command type="script"><in>!rock</in><out type="push" extdata="rock">%RANDOMNUM[3]%</out><out type="push" extdata="rock" condition="==" lvalue=$rock$ rvalue=0> #c9#Rock! ... It's a DRAW!</out><out type="push" extdata="rock" condition="==" lvalue=$rock$ rvalue=1> #c9#Paper! ... I WIN!!! ... I'm good lol.</out><out type="push" extdata="rock" condition="==" lvalue=$rock$ rvalue=2> #c9#Scissors! ... YOU WIN!!! ... Congratulations!!!</out><out>$rock$</out></command><command type="script"><in>!paper</in><out type="push" extdata="paper">%RANDOMNUM[3]%</out><out type="push" extdata="paper" condition="==" lvalue=$paper$ rvalue=0> #c9#Rock! ... YOU WIN!!! ... Congratulations!!!</out><out type="push" extdata="paper" condition="==" lvalue=$paper$ rvalue=1> #c9#Paper! ... It's a DRAW!</out><out type="push" extdata="paper" condition="==" lvalue=$paper$ rvalue=2> #c9#Scissors! ... I WIN!!! ... I'm good lol.</out><out>$paper$</out></command><command type="script"><in>!scissors</in><out type="push" extdata="scissors">%RANDOMNUM[3]%</out><out type="push" extdata="scissors" condition="==" lvalue=$scissors$ rvalue=0> #c9#Rock! ... I WIN!!! ... I'm good lol.</out><out type="push" extdata="scissors" condition="==" lvalue=$scissors$ rvalue=1> #c9#Paper! ... YOU WIN!!! ... Congratulations!!!</out><out type="push" extdata="scissors" condition="==" lvalue=$scissors$ rvalue=2> #c9#Scissors! ... It's a DRAW!</out><out>$scissors$</out></command> </config>
:roll: I guess all babies look alike, but in the end we like our own best ... and then we watch them grow into markedly differentiated individuals ... blah ... blah ...
<command type="script"><in> websearch</in><out type="push" extdata="directory">E:\Program Files\RoboMX\Plugins\txt</out><out type="push" extdata="searchlinkline">1</out><out type="push" extdata="displayline">0</out><out>/opmsg Your Results</out><out type="push" extdata="searchline"><operator type="readfile" nvalue="$directory$\Grabbed.txt" lvalue="l" rvalue="$searchlinkline$"/></out><out type="push" extdata="displayline" condition="?" lvalue="$searchline$"><operator type="+" lvalue="$displayline$" rvalue="1"/></out><out delay="800" condition="?" lvalue="$searchline$">/opmsg ($displayline$) $searchline$</out><out type="push" extdata="searchlinkline"><operator type="+" lvalue="$searchlinkline$" rvalue="1"/></out><out type="goto" extdata="-4" condition="!=" lvalue="$searchline$" rvalue=""></out><out delay="1500" condition="!=" lvalue="$displayline$" rvalue="0">/opmsg End of list</out><out delay="1500" condition="==" lvalue="$displayline$" rvalue="0">/opmsg Sorry #c1#%NAME%#c51#, no matches</out></command>
<command type="script"> <in>!MyScore </in> <out type="push" extdata="directory">E:\Program Files\RoboMX\Plugins\txt</out> <out type="push" extdata="searchlinkline">1</out> <out type="push" extdata="displayline">0</out> <out>/opmsg Your matches for %NAME%:-</out> <out type="push" extdata="searchline"><operator type="readfile" nvalue="$directory$\Logs.txt" lvalue="l" rvalue="$searchlinkline$"/></out> <out type="push" extdata="displayline" condition="?" lvalue="$searchline$" rvalue="%NAME%"><operator type="+" lvalue="$displayline$" rvalue="1"/></out> <out delay="800" condition="?" lvalue="$searchline$" rvalue="%NAME%">/opmsg ($displayline$) $searchline$</out> <out type="push" extdata="searchlinkline"><operator type="+" lvalue="$searchlinkline$" rvalue="1"/></out> <out type="goto" extdata="-4" condition="!=" lvalue="$searchline$" rvalue=""></out> <out delay="1500" condition="!=" lvalue="$displayline$" rvalue="0">/opmsg End of list</out> <out delay="1500" condition="==" lvalue="$displayline$" rvalue="0">/opmsg Sorry not matches for your search</out> </command>