====== CFLogBot ====== CFLogBot (aka Scribe on Metalforge server) is a modified version of LogBot (aka Seer). It is designed to collect communication on the in-game public channels such as shout and chat. ===== Source Code ===== #!/usr/bin/perl -w # # ------------------------------------------------------------------------- # # Copyright (C) 2003 Jochen Suckfuell # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # ----------------------------------------------------------------------- # # TODO # # - fix inventory logging # - check if event_wait and event_listen loops work # # # Changelog: # # 2005-05-28 0.9.9 # - added the setup flag "bot 1" to tell the server that this is a bot # # 2004-03-11 0.9.8 # - new commands: add_admin, rem_admin, admins # - added the admin commands to the help output # - removed the "host" command, since 'who doesn't show the IP any more # - fixed parsing changed 'who output format # - save the is_admin flag with the players # - allow several admin users # - implement numdeaths, numkills # - 'forget