Rock Paper Scissors (2Player)
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 3.0 |
| Scores Submitted | 1 |
| Date Added | Jun 06, 2008 |
| Last Updated | Jun 06, 2008 |
| Tags | game paper rock scissors |
|
|
Introduction
To install, post it in you scripts editor(remotes section) by pressing Alt+R on your keyboard. Copy and paste the script below. Make sure you change the first, onTEXT part of the sciprt to the channel(s) you want the game to work in. You must then unload and then reload your Remotes file.
Commands:
!RPS <NickHere> -This will challenge the nick you specify.
!Accept -If nick was challenged, s/he types this to accept a challenge.
!Decline -If nick was challenged, s/he types this to decline a challenge.
!RPS scores [NickHere] -This will find [NickHere]'s RPS scores. If no nick is specifyed, it will retrieve the nick who typed the command's scores.
!RPS Highscores -This will find the nick with the most wins, games, losses and draws and message their names, along with their score to the channel.
Thanks to Z for shortening the FaceOff Alias.
Thanks vaseline28 who's scipt gave me the idea to write this one.
Also thanks to Xlbrag for teaching me about IRC when I was just starting out.
And thanks Scakk for inspiring me a little.
mIRC Snippet:
Rock Paper Scissors (2Player)
Posted on Jun 6, 2008 5:14 pm
Posted on Jun 6, 2008 5:14 pm
wow nice job.. i might actually use this on my new bot =] i'l give u 9/10 cos of the length
mIRC Snippet:
Rock Paper Scissors (2Player)
Posted on Jun 6, 2008 5:38 pm
Posted on Jun 6, 2008 5:38 pm
Hash tables for just using rock paper scissors? lol
I think you made a it a bit over complicated for such a simple thing
I think you made a it a bit over complicated for such a simple thing
mIRC Snippet:
Rock Paper Scissors (2Player)
Posted on Jun 6, 2008 6:05 pm
Posted on Jun 6, 2008 6:05 pm
Sorry about that, I'm still really new to scripting and my knowledge of different commands is really limited. Hash tables were one of the first things I learned and it was at the time (and still is :P) the only way I knew of keeping track of scores.
If you have a suggestion on any other methods, I'm all ears :). Thanks for the comments, both of you.
If you have a suggestion on any other methods, I'm all ears :). Thanks for the comments, both of you.
mIRC Snippet:
Rock Paper Scissors (2Player)
Posted on Jun 7, 2008 1:15 am
Posted on Jun 7, 2008 1:15 am
"Thanks vaseline28 who's scipt gave me the idea to write this one."
No problem, but if you look at mine, I use numerical values for Rock/Paper/Scissors within the script and therefore cutting down on the if-then-else statements and shortening the script.
No problem, but if you look at mine, I use numerical values for Rock/Paper/Scissors within the script and therefore cutting down on the if-then-else statements and shortening the script.
mIRC Snippet:
Rock Paper Scissors (2Player)
Posted on Jun 7, 2008 3:05 am
Posted on Jun 7, 2008 3:05 am
Hash tables were the first thing you learned? D:
Jesus, that's going a bit for starting msl
Jesus, that's going a bit for starting msl
mIRC Snippet:
Rock Paper Scissors (2Player)
Posted on Jun 8, 2008 12:20 am
Posted on Jun 8, 2008 12:20 am
youve got a few
msg #deimiusland
in there still
maybe allow people to set a variable containint their room name
then have it
msg %variable
msg #deimiusland
in there still
maybe allow people to set a variable containint their room name
then have it
msg %variable









