***-------------------------------------------------*** 
Coder: Adad, CloudyOne 
Special Thanks: almor999, defaulrt, redo2, Spud05 for beta test. 
light and Quadra for grammar correction. 

http://cs.CloudyOneStudios.com/ 


***-------------------How to install----------------*** 

If you have NOT installed before: 
1. uncompress it to anywhere 
2. Run mirc.exe 
3. Fill in all options that required 
4. Press 'Save Settings' 
5. Done! 

If you've installed before: 
1. compress it to where was [CS] installed 
2. Replace all files that is uncompressed to where [CS] installed. 
3. Restart mIRC. 
4. Done! 
Note: You MUST replace Settings files. (Cmds.ini and Settings.ini) 

***----------------Files for Access Settings----------------*** 

Cmds.ini -> IRC commands access setting. 
Settings.ini -> CloudyServ settings. 

***----------------Other Files----------------*** 

Announce.txt -> The file that stores announcements. 
bans.txt (default) -> File to store the ban list. 
Language.txt (default) -> Language filter. 
Mods.txt (default) -> The file that stores moderators list. 
ReqRG.txt -> RG Require list. 
tban.txt (default) -> Temp. Ban list. 

***----------------Note----------------*** 

Due to the limitation of mIRC, this bot cannot support a nickname with space(s) in it and will be kicked as soon as they join. 
The ladder generation is now use another mirc.exe with "Low Priroty" to prevent freezing the bot and FDS. 

***----------------Changes/Bugfix----------------*** 
0.98.2: 4th Sept, 2006 
[Add] !rehash has been added. (Reload settings without a new level) 
[Add] !pamsg has been added. (Personal Admin Message) 
[Add] !uptime has been re-added. (It's now working properly) 
[Add] Language filter is now applies to nickname. (Will kick them on join if matched) 
[Add] Optional switch -e and -n has been added for !restart and !shutdown. (-e will restart/shutdown after a new level is being loaded * -n will restart/shutdown immediately) 
[Add] Console command "PINFO" will now be used instead of "PLAYER_INFO" if all the requirements are matched. (good bhs.dll version, command exist etc.) 
[Change] Password conversation for moderators has been added. (Mainly for ppl who is upgrade from 0.98 or below - Convert script is available -> /modpwconv) 
[Change] CloudyServ is now based on mIRC 6.17 due to several memory leaks. 
[Change] !auth is now the moderator identify command for password method in IRC. (!ident no longer work) 
[Change] !banlog with less than 3 characters of parameter will NOT process as wildcard search. 
[Fix] !auth is now working. (both password and non-password method) 
[Fix] !maplist not showing completely in game has been fixed. 
[Fix] Aow.cs is now working. 
[Fix] Bad parsing from Regex has been fixed. 
[Fix] !next is now always working. 
[Fix] Result file is now parsing correctly on any FDS mode. (WOL/GameSpy/LAN) 
[Fix] !tban is now logging if the player is NOT ingame. 


0.98.1: 1st, Aug 2006 
[Add] !getbw/!setbw has been added. It's used to check/set the bandwidth limit for a specific player. Usage: !getbw [player] - !setbw [player] [limit] 
[Add] !setpw for IRC has been added. (For master only) 
[Add] Archive for renlog has been added. It'll be moved to the FDS\logs\[date] folder. (renlog_[month]-[day]-[year].txt) 
[Add] Auto reset for Ladder has been added. It can be configured in Ladder.ini. 
[Add] FDS config validation has been added for !start and !restart. (In some case it might be marked as valid) 
[Add] If console command "mapnum" exist, the bot will use it to get map index instead of scanning the server config. 
[Add] PAMSG to tell the details for the player that is in the ban list and just joined. (Perm. ban and Temp. ban) 
[Add] Switch -s has been added to !banlog for search the ban placer. (This is optional - !banlog [-s] search_string) 
[Change] !help [command] no longer requires ! in the parameter. Also with ! will work. 
[Change] !ip/!kicksearch with less than 3 characters will NOT process as wildcard search. 
[Change] !ladder/!rank [rank] is now requires # in the front to search by rank. (Example: !ladder #1 or !rank #1) 
[Change] !ladderban/!pollshun/!shun command parameter has been changed due to GameSpy players nickname. (!pollshun/!reqrg/!shun [add/del/list] nick) 
[Change] !pi is now cached instead of sending a signal to FDS on every request to reduce the FDS load. 
[Change] !time is now respond with "Elasped time" for the current map instead of the server time. 
[Change] A few Config files change. (Cmds.ini, Ladder.ini, Settings.ini) 
[Change] Announcement has been replaced with a better code and removed some config in Settings.ini. 
[Change] Announcement can be disabled by setting the interval to 0. 
[Change] Aow.cs has been improved and added Aow.ini for output configures. (Useful to reduce spam) 
[Change] HTML generation for ladder will now active if a new map is detected. 
[Change] MD5 encryption for moderator password has been added. 
[Change] Most of the settings that need to read from files has been set to variables to reduce the HDD load. 
[Change] RenFDS.dll has been recomplied. 
[Change] The format to store Medals has been changed. (Convert script is available -> /medalconvert) 
[Change] The format for ladder has been changed. (Convert script is available -> /ladderconv) 
[Change] The output of !pi/!pl will now be splited to prevent "Line too long" error and IRC characters limit. 
[Change] The way for HTML generation has been changed to prevent freezing the bot and FDS. 
[Change] The way to store the Shun list. 
[Change] The way to store the Require-RG list. 
[Change] The way to check is FDS running. 
[Change] Join-Side is now always shown. (Config removed) 
[Fix] A few dialog bugs. 
[Fix] Some commands returned a nickname that is not in game. 
[Fix] Identify with NickServ on connect. 
[Fix] Errors caused by a nickname start with $ and %. 
[Fix] Nickname contain * and ? are no longer being kicked. 
[Fix] Number nickname will no longer mess up the ladder. 
[Fix] Temp. Ban is now removed correctly when times up. 
[Fix] Two players join at the same time will now show two instead of one. 
[Remove] A few useless commands have been removed. 


Warning: If you're not doing the ladder reset or ladder convertion, the whole ladder system will be messed up and can't be restored. 


0.98: 17th Jan, 2006 
[Add] !setnext [map] - Sets the next map to specific map. !setnext Hourglass. 
[Add] !poll setnext [map] - Start a poll for the next map. !poll next Hourglass. 
[Add] A ladder built-in [CS] has been added. It can be sort by Score, Kills, Deaths, K/D ratio, MVP, Total Games played, Times on GDI/Nod, Average Score, Average Kills, Average Deaths with custom output message. (Requires ladder reset if its the first time installed) 
[Add] Mines limit settings has been added. Limit can be set in Settings.ini (Only works if the newest bhs.dll is installed) 
[Add] !tc and !tc2 for in game/IRC has been added. (Only works if the bhs.dll is installed) 
[Add] Password for moderator system has been added. It can be enable/disable in moderator dialog. 
[Add] After a specific time of failutre of identify with moderator access, moderator account is temporary disabled. (This can be removed by editing Mods.txt or !modenable or from Mod dialog) 
[Add] !rg is now supports wildcard for INGAME PLAYERS. 
[Add] !reqrg [-[player]] - It forces a player to use RenGuard to play in the server. 
[Add] !moddisable/!modenable - Temporary disable/enable the Moderator account. (IRC only) 
[Add] Auto-Identify when NickServ notice the bot has been added. 
[Add] IP/Nick associate for !aban has been added. 
[Add] !website - URL settings is in the Settings.ini, [Data] Section. 
[Add] IP Range Ban has been added. Syntax: !aban [IP] [Reason] (Example: !aban 10.0.* i love you) 
[Add] !forgive/!warn has been added. 
[Add] HTML output for ladder has been added. It supports FTP and Local copy. See the output example at: http://cs.cloudyonestudios.com/cs/ladder_output.php 
[Add] Medal system has been added. You will receive an Medal for being MVP, getting Most Kills or the Best K/D Ratio. 
[Add] Output to IRC for Silent_Kane's BandTest.dll has been added. 
[Add] Spam protection for F2 and F3. 
[Add] You can now demote/promote moderator access by using !add. (IRC only) 
[Change] You can now Ban/Kick without reason. The reason parameter will replace with 'No reason.' if no reason is specified. 
[Change] IRC commands level has been changed. Only OPs in main channel can gain more access from admin channel. 
[Change] Results code has been replaced with a faster and shorter script. 
[Change] Results file is now rename to a random number(results[num].txt) instead of remove it. (This can be disabled in Settings.ini) 
[Change] RG checker is now check from master server directly. 
[Change] !help has been edited a bit with the better code. 
[Change] !pi [all/GDI/Nod/playername] has been improved with a better code. No delay and read from FDS directly. 
[Change] FDS log reader timer has been reduced to 500ms and replaced with a faster and less CPU usage code. 
[Change] Ban system has been re-coded. 
[Change] The load-time of IP database has been decreased. 
[Change] Setjoin and Seen is now use Hash Table instead of INI file. 
[Fix] Fixed a bug when a player joined, it wouldn't show the information but [RG] Message. 
[Fix] Fixed some dialog code. 
[Fix] !kicksearch [IP/nick] - Wouldn't show the result has been fixed. 
[Fix] !tkicks [nick] - Can't open the file has been fixed. 
[Fix] Temp-Ban removed when next announcement announce has been fixed. 
[Fix] IP associate for !unban has been fixed. 
[Fix] Command access level 0 is no longer accessable. 
[Fix] AFK kicker is now working. 
[Remove] Script for RenStat has been removed. 
[Remove] WinRem.exe is no longer required. And uses a new DLL instead. 
[Remove] BCserv_Forward is no longer supported. 
[Remove] DDE for FDS is no longer supported. 
[Remove] Command !uptime has been removed due to some weird problems. 
[Remove] Vehicle kick has been removed. 

And more i couldn't remember. 


0.97.7.1: 25-11-2004 
[Add] Wildcards for !ip has been added. 
[Fix] !pi shows 'None is in all' has been fixed. 
[Fix] When master server went down, some function does NOT work correctly. 


0.97.7: 14-11-2004 
[Add] !kicksearch [string] - Search all the kick logs. (mIRC may freeze if too much results has found) 
[Add] !tkicks [player] - Shows all kick-log for the player. 
[Add] !unban is now writes to the player's kick-stats. (!tkick or !tkicks) 
[Add] If player is Banned/Kicked, It'll page the player with info. By who and why. 
[Add] New alias: /changepath - Change the FDS path. 
[Add] RenFDS.dll has been added back. 
[Add] Wildcards support for !pi [player] has been added. 
[Edit] The FDS log timer has reduced to 5ms. 
[Edit] !tkick [player] - Shows the last kick-log for the player. 
[Fix] FDS Settings dialog wont save the Game Title and MOTD and Maps Rotation has been fixed. 
[Fix] Some of IRC commands access error has been fixed. 


0.97.6.1: 7-11-2004 
[Fix] Fixed the IP and nick does NOT log correctly. 
[Fix] Symbol fix for [Team] in Admin Channel. 


0.97.6: 6-11-2004 
[Add] Dialog for FDS settings has been added. 
[Add] !locate has been added. 
[Add] when players join, it'll show is the player running RG. Or locate players from RG network by typing !rg. 
[Fix] BCF is not working with [CS] has been fixed. 
[Fix] !pollshun with no respond has been fixed. 
[Fix] it keeps saying 'xxx Base Power is offline' when Power Plant is under attack has been fixed. 
[Remove] RenFDS.dll has been removed. Due it communicate with random FDS if you're running multiple FDS on same machine. 


0.97.5: 1/11/2004 
[Add] SSAOW output message support has been added. Unload Aow.cs if you don't want it. 
[Add] Some commands is now support wildcards. Poll kick, Qkick etc. 
[Add] BCF support has been added. You can choose the built-in FDS log reader or BCF by edit Settings.ini. Section: Data - Item: BCF_Support 
[Fix] Bad words change has been fixed for wildcards. 
[Fix] Can't remove player from Shun/Poll-Shun list has been fixed. 


0.97.4.1: 13/10/2004 
[Add] Wildcard support has been added to '!poll kick' and '!atm'. 
[Add] Added Donate Checker for player nick and amount. 
[Fix] !maplist won't show map rotation has been fixed. 
[Fix] Won't show the result from last game has been fixed. 


0.97.4: 9/10/2004 
[Add] !donate support for bhs.dll has been added. Settings can be change by edit Settings.ini. 
[Add] You may now enable/disable Kill/Death report for !pi [ALL/GDI/Nod/player]. 
[Add] Language Filter has been added. you can Edit settings via Settings.ini 
[Edit] !wolrank has been re-coded. It should respond faster. 
[Fix] !gi doesn't show time left has been fixed. 
[Fix] Fixed the ps.dll doesn't work on Windows 95/98/Me. 
[Remove] !id has been removed. Because It's useless. 
[Remove] !rehash has been removed. all commands is now read from INIs directly. 
[Remove] Dialogs for [CS] has been removed except Moderator's settings. All settings are in Settings.ini. 


0.97.3: 
[Add] !id [NULL/nick] has been added. it shows the Id of all/specific player. 
[Add] AFK kicker has been added. can be set via Settings.ini. 
[Add] Checker before the script loaded has been added. 
[Add] Custom color for IRC display has been added. can be change via edit Settings.ini. 
[Add] If the player name has space in it, he'll be auto kicked. 
[Add] If you have SSAOW/SSCTF 1.3 installed, You can turn on the DDE support via Settings.ini. (Make sure its the newest scripts.dll SSAOW/SSCTF, or [CS] will not working) 
[Add] Wildcards support has been added for Ban/Kick/Q-kick/Tban. 
[Change] '!gi/!game/!gameinfo' time left format has been changed. 
[Change] If player is in Perm Moderator list, and got !atm, it's now login as Admin/Moderator. 
[Fix] Radar mode in dialog has been fixed. 
[Fix] '!demod all' doesn't remove Moderator remove Temporary Moderators has been fixed. 
[Fix] !seen date bug has been fixed. 


0.97.2: 
Add - Custom Moderator identify text. (replacement for !login) Settings.ini -> [Modsys] -> ModSym= 
Change - !hmsg [msg]. !hmsg message -> Host: message 
Change - a bit code of '!pi all'. Now it sort by Id. 
Fix - Temp Ban that log twice. 
Fix - does not save 'Laddered' as Yes. 
Fix - QuickMatch bug. 
Fix - Mods.txt - 'f'. 
Fix - !atm that doesn't log the nick who got added. 
Fix - !del -> Now it's working. 
Fix - !dtm that doesn't remove Temporary Moderator. 


0.97.1: 
!atm -> '[-g/-i] not found' has been fixed. 
Added custom ban/kick message setting. 
Added day check for !logs [ban/kick/mods/poll] [date]. Return today if no date is specificed. 
Added !ignore for ignore the page from player. 
Added Kills/Deaths display in !pi [all/player]. (May not work due the WOL bug) 
Changed Time InGame display format of !pi [all/player]. 
Changed some code for !wolrank. 
Fixed dialog that saves wrong WOL Server where FDS connect to. 
Fixed !csmsg and !hmsg. 
Fixed !tkick, no longer shows: "CloudyServ" -> Ban -> In perm ban list. 
!banadd has been renamed to !aban. 
Temp Ban is now log into ban logs. [!logs ban] 


0.97: 
Completely re-wrote most of the script which is shorter. 
Fixed !seen. While player is in game, it doesn't return the correct result. 
Moderator System has been re-wrote for techincal reason. 


0.9621: 
Added Error Check while rehashing new settings. 
Fixed !poll halt when no poll is in progress. 
Fixed !pollshun and !shun. 
Fixed during new level loaded, copy the result file to C: (default hard-drive) 
Re-coded !help system for custom access settings on IRC. 
Re-coded !seen system. 


0.962: 
Added !unban support for Temp-Ban. 
Fixed !pi [player/all] that won't shows. 
Fixed Polls that wont unset the variables. 
Fixed Temporary Moderator Symbol bug. 

and More that i've forgot... 


