Unobot v2.6 by bl4h (bl4h@shady.nu)
http://shady.nu/?x=mirc
Suggestions/bugs/comments should be posted @ http://forum.shady.nu

------- INSTALL --------
Unobot v2.6 requires mirc 6.12+

First unload any old version:
/unload -rs uno.mrc

AND DELETE IT, so that you dont get confused.

Extract everything into your mirc dir and type:
/load -rs uno.mrc

CLICK YES when mirc asks if it should run init. commands.

Unobot should not be run with other scripts loaded. else they may interfere and
break this addon.

------------------------
Change log
------------------------
Version 2.6:

Top 10 can be calculated by score alone, or score / totalgames.
bug fixes.


Version 2.5:

1. Added command "order" and "turns". Both command display players ordered by turn.
2. Fixed !unoremove
3. Once a player removes themselves from a game, they wont be able to rejoin the game.
4. Added banning system. You can ban people from the bot by hostmask.
5. Made everything configurable. Flood system, turn timer, etc
6. Cards are ordered and displayed by color. in this order: special,r,b,y,g
7. Each turn has a time limit, if you dont play your turn in time, you will be removed from the game. (configurable)
8. Unobot should work in directories which have spaces in thier name. This caused problems, but it shouldnt matter now.
9. Made it easier to customize messages sent by the bot by editing unotheme.ini. Theres no docs on this yet, so leave it alone unless you know whats up.
10. fixed some other small bugs.

Version 2.0:

1. Players can now remove themselves from the game with !unoremove
2. If a player quits or parts while ingame, they will be removed if they dont return within 60 seconds.
3. Typing "!uno bot" will have the bot join the game regardless of how many people join.
4. Added protection against registration floods.
5. Bot checks *!*ident@hostname.com instead of *!*@hostname.com
6. Added command "unochpass". Users can change their password by /notice Botnick chpass <new pass>
7. All private commands must be sent via NOTICE. For example: /notice Unobot unologin <user> <pass>

Thanks to deejaymonk for suggesting the the !unoremove features.
If you ran unobot beta, the user database might not be compatable with 1.0 and up. So you may have to
delete uno.ini and start fresh if things go wrong.

Version 1.5:

1. Rewrote the computer player. He's A LOT smarter, and a bit tougher to beat.
2. Fixed the deck! There is only 1 zero card for each color..didnt know that, heh.
There hasnt been RED draw two cards in the deck up until this version. oops :X
there were 4 green dt's instead.
3. If there are less than 3 players, a player who puts down a REVERSE card will get an extra turn.
4. Removed password encryption, too many problems.
5. added generic user manager (type /unoedit)
6. Tweaked some things and fixed a few bugs.

 
Version 1.0:

1. Added Computer player. If only one player joins, the bot will fill the second players spot
2. Better scoring stats. !unotop10 etc
3. password encryption
4. Ability to turn off card coloring.
5. i forget.

Version beta:

1. First release. never use this version if you find it.

------------------------

Commands are as follows:

To play a card type "play <color b/g/y/r> <number/word on card>"
For example: "play b 0" will play the Blue zero card
For example: "play g dt" will play the green Draw Two card
For example: "play r r" will play the red reverse card

<bot> Top card: blue 0
-bot- your cards: red 0 - blue 9
<PLayer> play b 9
<bot> Player played a Blue 9


More commands:

!uno - Starts the game
join - Join the game
!unoremove - removes yourself from the game
!unoend - Stops the current game
draw - draw a card from the deck if you cant match the top card
pass - pass your turn to the next player (much draw first)
count - displays the amount of cards in each players hand
order - displays players in order by turn
!unostat - stats for a player !unostat <username>
!unotop10 - displays top 10 players

--------------
Source: http://members.aol.com/babso00001/unorules.html

UNO IN A NUTSHELL
Each player is dealt 7 cards with the remaining ones placed face down to form a DRAW pile. 
The top card of the DRAW pile is turned over to begin a DISCARD pile.
The first player has to match the card in the DISCARD pile either by number, color or word. 
For example, if the card is a red 7, player must throw down a red card or any color 7. 
Or the player can throw down a Wild Card. If the player doesn't have anything to match, he must pick a card from the DRAW pile. 
If he can play what is drawn, great. Otherwise play moves to the next person. 
Once a player has no cards left, the hand is over. Points are scored (see scoring section) and you start over again. That's UNO in a nutshell. 


OBJECT: 
Points are scored by ridding yourself of all the cards in your hand before your opponent(s). 
You score points for cards left in your opponent's hands. 
Cards as follows:
19 Blue Cards - 0 to 9
19 Green Cards - 0 to 9
19 Red Cards - 0 to 9
19 Yellow Cards - 0 to 9
8 Draw Two cards - 2 each in Blue, Green, Red and Yellow
8 Reverse Cards - 2 each in Blue, Green, Red and Yellow
8 Skip Cards - 2 each in Blue, Green, Red and Yellow
4 Wild Cards
4 Wild Draw 4 cards


WHAT WORD CARDS MEAN
Draw Two Cards - When this card is played, the next person to play must draw 2 cards and forfeit his turn.
Reverse Card - Simply reverse direction of play. Play left becomes play right, and vice versa.
Skip Card - The next player to play loses his turn and is "skipped." Mighty clever.
Wild Card - This card can be played on any card. The person playing the card calls any color to continue play, including the one presently being played if desired. A Wild card can be played even if the player has another playable card in his hand.
Wild Draw Four Card - This is the best, meanest, most sneaky card to have. Not only does the player get to call the next color played, but the next player has to pick 4 cards and forfeit his turn. There is a hitch, however (of course): you can only play this card when you don't have a card in your hand that matches the color of the card previously played.
Note: A player may have a matching number or word card of a different color in his hand and plays his "Wild Draw Four" card. 

SCORING
When a player is out of cards, he gets points for cards left in the opponent's hands as follows:
All cards through 9 Face value
Draw 2 = 20 points
Reverse = 20 points
Skip = 20 points
Wild = 50 points
Wild Draw 4 = 50 points 

Note: you do not have to say "uno" when youre down to your last card in this irc version