PC Help And Information Easy Maintenance And Free Software
 
HomePortalFAQSearchRegisterLog in

Share | 
 

 Rock Paper Scissors : Author Unknown [Full Version]

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: Rock Paper Scissors : Author Unknown [Full Version]   Sun Apr 11, 2010 1:24 am

Code:
<config>

<command type="script">
<in>!RPS</in>
<out>#c9#------------------------------------------------------------------------------------------</out>
<out> &nbsp;#c54#'Rock-Paper-Scissors</out>
<out>#c9#------------------------------------------------------------------------------------------</out>
<out>#c9#Welcome to the 'Rock-Paper-Scissors' Game.</out>
<out>&nbsp;</out>
<out>#c9#Type ... #c69#!rock #c9#OR #c69#!paper #c9#OR #c69#!scissors#c9#.</out>
<out>&nbsp;</out>
<out>#c9#Rock beats Scissors beats Paper beats Rock ... </out>
<out>&nbsp;</out>
<out>#c9#(that's all there is to it).</out>
<out>&nbsp;</out>
<out>#c9#Check Your Wins & Losses Type..#c69#!#c69#myrps</out>
<out>&nbsp;</out>
</command>

<command type="script">
<in>!rock</in>
<in>!paper</in>
<in>!scissors</in>
<out type="push" extdata="RPS">%NAME%</out>
<out type="push" extdata="ROCK">0</out>
<out type="push" extdata="PAPER">0</out>
<out type="push" extdata="SCISSORS">0</out>
<out type="push" extdata="GUESS">%PARAM%</out>
<out type="push" extdata="ROCKGUESS" condition="==" lvalue="$GUESS$" rvalue="Rock">1</out>
<out type="push" extdata="PAPERGUESS" condition="==" lvalue="$GUESS$" rvalue="Paper">1</out>
<out type="push" extdata="SCISSORSGUESS" condition="==" lvalue="$GUESS$" rvalue="Scissors">1</out>
<out type="self">!rpsgo1</out>
</command>

<command type="random" users="_BOT_SELF_TRIGGER_">
<in>!rpsgo1</in>
<out type="self">selection_rock</out>
<out type="self">selection_paper</out>
<out type="self">selection_scissors</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_">
<in>selection_rock</in>
<out type="push" extdata="WIN">It's Rock!</out>
<out type="push" extdata="ROCK">1</out>
<out type="self">!rpsgo2</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_">
<in>selection_paper</in>
<out type="push" extdata="WIN">It's Paper!</out>
<out type="push" extdata="PAPER">1</out>
<out type="self">!rpsgo2</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_">
<in>selection_scissors</in>
<out type="push" extdata="WIN">It's Scissors!</out>
<out type="push" extdata="SCISSORS">1</out>
<out type="self">!rpsgo2</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_">
<in>!rpsgo2</in>
<out type="push" extdata="ROCK2" condition="==" lvalue="$GUESS$" rvalue="Rock">1</out>
<out type="push" extdata="PAPER2" condition="==" lvalue="$GUESS$" rvalue="Paper">1</out>
<out type="push" extdata="SCISSORS2" condition="==" lvalue="$GUESS$" rvalue="Scissors">1</out>
<out type="push" extdata="ROCK3" condition="==" lvalue="$ROCK$" rvalue="1">rock</out>
<out type="push" extdata="PAPER3" condition="==" lvalue="$PAPER$" rvalue="1">paper</out>
<out type="push" extdata="SCISSORS3"condition="==" lvalue="$SCISSORS$" rvalue="1">scissors</out>
<out type="self" condition="==" lvalue="$ROCK3$" rvalue="rock">!rpsgo3</out>
<out type="self" condition="==" lvalue="$PAPER3$" rvalue="paper">!rpsgo4</out>
<out type="self" condition="==" lvalue="$SCISSORS3$" rvalue="scissors">!rpsgo5</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_">
<in>!rpsgo3</in>
<out>#c1#$WIN$</out>
<out> </out>
<out condition="==" lvalue="$GUESS$" rvalue="!paper">#c1#Congratulations, #c4#$RPS$#c1# Paper covers Rock!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!paper">!rpswin! $RPS$</out>
<out condition="==" lvalue="$GUESS$" rvalue="!scissors">#c8#Sorry #c4#$RPS$#c8#, Rock smashes Scissors better luck next time!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!scissors">!rpsloss! $RPS$</out>
<out condition="==" lvalue="$GUESS$" rvalue="!rock">#c8#Tie #c4#$RPS$#c8#, Try again!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!rock">!clearrps!</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_">
<in>!rpsgo4</in>
<out>#c1#$WIN$</out>
<out> </out>
<out condition="==" lvalue="$GUESS$" rvalue="!scissors">#c1#Congratulations, #c4#$RPS$#c1#Scissors cut Paper!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!scissors">!rpswin! $RPS$</out>
<out condition="==" lvalue="$GUESS$" rvalue="!rock">#c8#Sorry #c4#$RPS$#c8#, Paper covers Rock better luck next time!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!rock">!rpsloss! $RPS$!</out>
<out condition="==" lvalue="$GUESS$" rvalue="!paper">#c8#Tie #c4#$RPS$#c8#, Try again!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!paper">!clearrps!</out>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_">
<in>!rpsgo5</in>
<out>#c1#$WIN$</out>
<out> </out>
<out condition="==" lvalue="$GUESS$" rvalue="!rock">#c1#Congratulations, #c4#$RPS$#c1# Rock smashes Scissors!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!rock">!rpswin! $RPS$</out>
<out condition="==" lvalue="$GUESS$" rvalue="!paper">#c8#Sorry #c4#$RPS$#c8#, Scissors cut Paper better luck next time!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!paper">!rpsloss! $RPS$</out>
<out condition="==" lvalue="$GUESS$" rvalue="!scissors">#c8#Tie #c4#$RPS$#c8#, Try again!</out>
<out type="self" condition="==" lvalue="$GUESS$" rvalue="!scissors">!clearrps!</out>
</command>

//Scoring
<command type="script" mode="thread" rvalue="1" users="_BOT_SELF_TRIGGER_">
<in>!rpswin! %PARAM%</in>
<out type="push" extdata="rpsname">%PARAM%</out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=" "/>$rpsname$</out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="<"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=">"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=":"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="!"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="/"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="\"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue='"'/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="|"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="."/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="?"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&amp; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&lowast; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&perc; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&quote; rvalue="-"/></out>
<out type="push" extdata="currentnumber"><operator type="readfile" nvalue="C:\Program Files\Games Bot\Plugins\RPS\rpswincounter.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="newcount"><operator type="+" lvalue="$currentnumber$" rvalue="1"/></out>
<out> </out>
<out>#c21#You are #c4#Winner #c21#number #c1#· #c4#$newcount$ #c1#·</out>
<out type="file" mode="t" extdata="C:\Program Files\Games Bot\Plugins\RPS\rpswincounter.txt">$newcount$</out>
<out type="push" extdata="currentwinner"><operator type="readfile" nvalue="C:\Program Files\Games Bot\Plugins\RPS\$rpsname$rpswins.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="currentloser"><operator type="readfile" nvalue="C:\Program Files\Games Bot\Plugins\RPS\$rpsname$rpsloss.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="currentwinner"><operator type="+" lvalue="$currentwinner$"rvalue="1"/></out>
<out type="file" mode="t" extdata="C:\Program Files\Games Bot\Plugins\RPS\$rpsname$rpswins.txt">$currentwinner$</out>
<out type="normal">#c1#Your RPS Stats:  &nbsp;&nbsp;&nbsp;#c4#Wins #c1#$currentwinner$  &nbsp;&nbsp;&nbsp;&nbsp;#c8#Losses #c1#$currentloser$</out>
<out type="self">!clearrps!</out>
<out type="pop" extdata="rpsname"/>
</command>

<command type="script" mode="thread" rvalue="1" users="_BOT_SELF_TRIGGER_">
<in>!rpsloss! %PARAM%</in>
<out type="push" extdata="rpsname">%PARAM%</out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=" "/>$rpsname$</out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="<"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=">"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=":"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="!"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="/"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="\"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue='"'/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="|"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="."/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="?"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&amp; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&lowast; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&perc; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&quote; rvalue="-"/></out>
<out type="push" extdata="currentnumber"><operator type="readfile" nvalue="C:\Program Files\Games Bot\Plugins\RPS\rpslosecount.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="newcount"><operator type="+" lvalue="$currentnumber$" rvalue="1"/></out>
<out> </out>
<out>#c21#You are #c8#Loser #c21#number #c1#· #c8#$newcount$ #c1#·</out>
<out type="file" mode="t" extdata="C:\Program Files\Games Bot\Plugins\RPS\rpslosecount.txt">$newcount$</out>
<out type="push" extdata="currentloser"><operator type="readfile" nvalue="C:\Program Files\Games Bot\Plugins\RPS\$rpsname$rpsloss.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="currentwinner"><operator type="readfile" nvalue="C:\Program Files\Games Bot\Plugins\RPS\$rpsname$rpswins.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="currentloser"><operator type="+" lvalue="$currentloser$"rvalue="1"/></out>
<out type="file" mode="t" extdata="C:\Program Files\Games Bot\Plugins\RPS\$rpsname$rpsloss.txt">$currentloser$</out>
<out type="normal">#c1#Your RPS Stats:  &nbsp;&nbsp;&nbsp;#c4#Wins #c1#$currentwinner$  &nbsp;&nbsp;&nbsp;&nbsp;#c8#Losses #c1#$currentloser$</out>
<out type="self">!clearrps!</out>
<out type="pop" extdata="rpsname"/>
</command>

<command type="script">
<in>!myrps</in>
<out type="push" extdata="rpsname">%NAME%</out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=" "/>$rpsname$</out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="<"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=">"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue=":"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="!"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="/"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="\"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue='"'/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="|"/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="."/></out>
<out type="push" extdata="rpsname"><operator type="strrem" lvalue="$rpsname$" rvalue="?"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&amp; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&lowast; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&perc; rvalue="-"/></out>
<out type="push" extdata="rpsname"><operator type="strrep" nvalue="$rpsname$" lvalue=&quote; rvalue="-"/></out>
<out type="push" extdata="currentwinner"><operator type="readfile" nvalue="C:\Program Files\Games Bot\Plugins\RPS\$rpsname$rpswins.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="currentloser"><operator type="readfile" nvalue="C:\Program Files\Games Bot\Plugins\RPS\$rpsname$rpsloss.txt" lvalue="c" rvalue="-1"/></out>
<out type="normal">#c1#Your RPS Stats:  &nbsp;&nbsp;&nbsp;#c4#Wins #c1#$currentwinner$  &nbsp;&nbsp;&nbsp;&nbsp;#c8#Losses #c1#$currentloser$</out>
<out type="pop" extdata="PLAYER"/>
<out type="pop" extdata="rpsname"/>
</command>

<command type="script" users="_BOT_SELF_TRIGGER_">
<in>!clearrps!</in>
<out type="push" extdata="ROCK">0</out>
<out type="push" extdata="ROCK2">0</out>
<out type="push" extdata="ROCK3">o</out>
<out type="push" extdata="PAPER">0</out>
<out type="push" extdata="PAPER2">0</out>
<out type="push" extdata="PAPER3">0</out>
<out type="push" extdata="SCISSORS">0</out>
<out type="push" extdata="SCISSORS2">0</out>
<out type="push" extdata="SCISSORS3">0</out>
<out type="push" extdata="ROCKGUESS">0</out>
<out type="push" extdata="PAPERGUESS">0</out>
<out type="push" extdata="SCISSORSGUESS">0</out>
<out type="push" extdata="WIN">0</out>
</command>

</config>



Back to top Go down
http://maxtech.youneed.us
 
Rock Paper Scissors : Author Unknown [Full Version]
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» [ANSWERED] Winreducer 10 asking for activation
» Rock Band 3,000 Song Giveaway *usa only*
» Selenium is not identifying iframes
» Psyphon's college paper on martial arts
» Who do you think the final boss of Paper Mario Sticker Star will be?

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