====== BOT Seer ======
The BOT //Seer// found on the [[:servers:metalforge]] [[http://www.metalforge.net|.net]] server is working. \\
As a player, I use him occasionally.
This is what the client cmdline ''tell Seer help'' responds :
Seer tells you:
I'm a bot, and I'm writing kill logs for all players and monsters.
You can ask me about:
last to see when the player was here
last to see the last 10 logins/logouts
Seer tells you:
uptime for the time the server's up (at least)
tell to let me tell the player something when I see him
maps to see the most popular maps
Seer tells you:
kills to see what a player or monster has killed and how
numkills to see how many times someone killed
how killed to see how someone prefers to kill
Seer tells you:
deaths to see who killed a player or monster and how
numdeaths to see how many times someone died
how died to see how someone prefers to die
Seer tells you:
what killed to see what attack caused someone to die
did kill to see if/how somebody killed somebody
find to see all matching monsters or players
Seer tells you:
Besides this, I'm afraid I'm not very intelligent. :)
Some years ago (Modification time tells me February 2013), I found a [[:client_side_scripting:Perl:]] script on the net, that contains the above lines.
This is Google's cache of http://www.suckfuell.net/jochen/cfbot/cfbot.
It is a snapshot of the page as it appeared on Feb 16, 2013 04:44:39
GMT. The current page
could have changed in the meantime. Learn more
Tip: To quickly find your search term on this page, press *Ctrl+F* or
*⌘-F* (Mac) and use the find bar.
Text-only version
These search terms are highlighted: cfbot crossfire
It is a //GNU General Public License// file by ''Copyright (C) 2003 Jochen Suckfuell <*crossfire* WHAT suckfuell.net>'' .
#!/usr/bin/perl -w
#
# -------------------------------------------------------------------------
#
# Copyright (C) 2003 Jochen Suckfuell <*crossfire* WHAT suckfuell.net>
#
# 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