**     **  ****     **    *******  
/**    /** /**/**   /**   **/////** 
/**    /** /**//**  /**  **     //**
/**    /** /** //** /** /**      /**
/**    /** /**  //**/** /**      /**
/**    /** /**   //**** //**     ** 
//*******  /**    //***  //*******  
 ///////   //      ///    ///////   
UNO v2.1 by poiuy_qwert
Contents
  1. Changes
  2. Introduction
  3. Installation
  4. Settings
  5. Commands
  6. Playing
    1. Rules
    2. Game
  7. Credits
  8. Contact
1. Changes (Back)
UNO v2.1 (Feb 7, 2006)
  • Major bug fixes
UNO v2 (Feb 23, 2006)
  • Admin is now Owner and can have multiple Admins under him.
  • Added commands *AddAdmin, *DelAdmin, *Suspend, and *Unsuspend.
  • Changed multiply if's to if-elseif-else's.
  • Reverses now Skip when playing 1 on 1.
  • Documented the undocumented nocolor setting(:D).
  • Added settings noprefix, autojoin, and moderror.
  • Help command no longer is just on/off, you can supply an access level (Documentation said it was this way before but it wasn't).
UNO v1 (Jan 31, 2006)
  • First public release.
2. Introduction (Back)
This is a bot writen in mIRC Scripting Langue to emulate the clasic card game UNO. It is a text base game played in a channel by 2-10 players. This readme should tell you all you need to know about how to install and use this addon.

Note: A * is used to replace the command trigger. Anything new in the current version will have next to it.
3. Installation (Back)
The installation of this addon is quite simple, just follow these steps:
  1. Extract all the files to your hard drive.
  2. Open a second mIRC (Not the one you will use to play), preferably one with no scripts loaded.
  3. Hold the ALT key and press R.
  4. Hold the CTRL key and press L.
  5. Navigate to where you extracted the files on your hard drive then open UNO.mrc.
  6. Press the Ok button.
  7. Change the settings you want (Explained in 4. Settings).
  8. Connect to your server and join the channel you set in the settings.
  9. Start to play! (Explained in 6. Playing).
4. Settings (Back)
Before using UNO, you should edit the settings in the settings.ini file under the settings section.
Settings:
  • Trigger:
       This is the character that users must place before commands.
  • Channel:
       This is the channel the bot will be run in.
  • AutoJoin:
       This automatically joins the home channel on connecting to a server (Note: This joins on EVERY server you connect to).
  • Owner:
       This is the address of the bot owner (most likely you). To get the correct address of the admin, use //echo -a $address(nick,2).
  • NoColor:
       Strips colors from bot messages (This is automatically done when mode +c is set). 1 for no colors, 0 for colors.
  • NoPrefix:
       This prevents the bot from prefixing messages with [UNO]. 1 for prefixed, 0 for not.
  • ModError:
       This prevents the bot from giving an error message if the channel is +m and the bot is not voiced or opped. 1 for error message, 0 for not.
  • Help, On, Join, Start, Replace, Off, AddAdmin, DelAdmin, Suspend, Unsuspend:
       This is where you can specify the access needed for the commands. You can specify a number from 1-6 meaning:
    1. Only the bot owner can use it.
    2. Voice, and Op can use it.
    3. Op can use it.
    4. Admin can use it.
    5. 2 and 4.
    6. 3 and 4.
    Note: 0 or blank to let anyone use the command. Also, the bot owner can do anything regardless of access.
There is also the admin section which is set up like: Address=1/2. Having a 2 means they are suspended, 1 means they arn't. You should not manually edit this section, instead use the commands *AddAdmin, *DelAdmin, *Suspend, and *Unsuspend (Explained in 5. Commands).

The points section should not be edited, it is where peoples points are stored. The same goes for the help section, it keeps all the help information for the *help command.
5. Commands (Back)
This is a list of all the commands, they are all used like *command [parameters].
Commands:
  • On:
       This turns UNO on so a game can begin.
  • Join:
       This is the command used to join the game.
  • Leave:
       This lets you leave the game.
  • Start:
       This starts the game.
  • Play:
       This command lets you play a card on your turn. It is by far the hardest command. To play a normal card you just type *play Card. Playing a wildcard is the same except you must specify a color to change to, like *play Card Color. To play all of a certain card, you must type *play S Card Color where Card is the card without its color attached and Color is the color to end on.
  • Draw:
       If you can't or don't want to play a card, you can draw a card with this.
  • Pass:
       Once you've drawn a card, you can then play it or pass with this command.
  • Uno:
       If someone reaches 1 card left, they must use this command. If someone else uses it before him then he must pick up 2 cards. Once the player after him plays, noone can call it anymore.
  • Replace:
       If someone leaves during the game, they will be replaced with someone in the replace list. This command places you on the replace list.
  • Off:
       This turns UNO off. If a game is in progress it is lost.
  • Trigger:
       This changes the trigger.
  • Help:
       This gives help for people on mIRC.
  • AddAdmin:
       Adds a user as an admin.
  • DelAdmin:
       Deletes an admin.
  • Suspend:
       Suspends an admin.
  • Unsuspend:
       Unsuspends an admin.
6. Playing (Back)
1. Rules
There are a total of 108 cards:
  • 19 Blue number cards. (One 0, two of each 1-9).
  • 19 Green number cards. (One 0, two of each 1-9).
  • 19 Red number cards. (One 0, two of each 1-9).
  • 19 Yellow number cards. (One 0, two of each 1-9).
  • 8 Draw 2 cards, 2 in every color.
  • 8 Reverse cards, 2 in every color.
  • 8 Skip cards, 2 in every color.
  • 4 Wild cards.
  • 4 Wild Draw 4 cards.
Each player is dealt 7 cards, the remaining cards are placed face down to form the DRAW pile. The top card of the DRAW pile is turned over to form the DISCARD pile. The first player has to match the top card of the DISCARD pile either by Color, or Card. For example, a Red 2 can be played on a Red S, a Red 2 can be played on a Blue 2, and a Red Skip can be played on a Blue Skip. The player can also put a wild card down. If the player can't play anything or doesn't want to, he can draw a card from the DRAW pile. If the player draws and can play it, he can, if not, he can pass. Once the player plays a card or passes, it is the next players turn. Once a player reaches one card, he must call UNO. If someone else calls it before him he must draw 2 cards. Once the next player plays or draws a card noone can call UNO. Once a player has no cards left, the game ends and scoring takes place. The cards are scored like so:
  • Number cards are face value.
  • Draw 2, Reverse, and Skip are 20 points.
  • Wild cards are 50 points.
Custom: If someone leaves during the game, they are replaced by a player in the replace list. If there is noone in the replace list, his cards are put into the DRAW pile, unless there is only one person left which results in the game ending.

2. Game
Someone must type *on to start letting people join. Everyone who wants to join must type *join. Once all the players are in, someone must type *start to begin the game. The first player must either play a card with *play or draw a card with *draw then play the card/pass with *pass. Once his turn is done, the next player continues by doing the same thing. Once a player reaches 1 card, someone can call *uno to make him draw 2 cards, unless he says it first, or the next player plays/draws a card. Once a player reaches 0 cards the game ends.
7. Credits (Back)
UNO v2.1 (Feb 27, 2006)
  • flash-Skills:
       Notified me of the bug.
UNO v2 (Feb 23, 2006)
  • Mpdreamz:
       Found a bug that I couldn't reproduce and didn't know how it happened but I think by making reverse's skip in a 1 on 1, it should be fix.
UNO v1 (Jan 31, 2006)
  • O-exr8eD-AA-VD:
       Made me want to write this.
  • nivel:
       Helped test.
8. Contact (Back)
If you found bugs, have some suggestions or comments, you can contact me any of these ways: