Codstats.tcl is a script for Eggdrop TCL that interfaces with Call Of Duty servers through RCON commands.
The codspeak module allows you to see the users' in-game speech on your IRC channel, and the players can see the messages coming from the IRC channel. COD & mIRC color codes will be converted correctly. The codstats module displays player statistics such as frag count, toplist, kill ratio, weapon usage, etc. The codevents module displays server joins/parts on the IRC channel, periodically announces the number of players on the server (if there are players), and the period time can be adjusted with CODANNOUNCETIME setting.
This script also provides multiple available channel commands for channel/bot operators that can be changed at the end of the script. These commands include printing out server status, sending an rcon command, displaying the time when a given user was last seen on the COD server, printing out the length of time the user has spent playing COD on the server, printing stats of a given nick, and printing top ten and top twenty lists of frag, times killed, favorite weapons used for killing, favorite deadly targets toplist, and the points where a player has gotten the most deadly hits. Additionally, this script enables you to display the server's current fraglist, save or load the database file, delete a given nick from the database, delete users not seen for a specified number of days, and add another user's stats to another user's stats and deletes the added user.
Furthermore, the codmngr.tcl is a tcl script used to start/stop your COD and Teamspeak server with simple commands on your IRC channel, which can be downloaded from the Download section of the Codstats.tcl script. To install, follow these simple steps: download UDP support for TCL, extract it, and run ./configure, make, make install; edit the codstats.tcl file at the SETTINGS section by setting your cod host, port and rcon password, select which modules you want to enable, your IRC channel, and other settings; copy the tcl to your eggdrop's scripts directory; edit your eggdrop's config file and append this line to the end of the file: source scripts/codstats.tcl; and lastly, rehash your bot's config file (.rehash).
Version 1.1.2: N/A