last.tcl Component Documentation
# last.tcl for netbots.tcl v3.30
# designed to work with eggdrop 1.4.0 or higher
# Johoho's Eggdrop Page - http://johoho.tuts.net/eggdrop/
# last.tcl copyright (c) 1999,2000 by Johoho <email@example.com>
# netbots.tcl copyright (c) 1998-2000 by slennox <firstname.lastname@example.org>
## last.tcl component script v0.50.0, 23.05.2000 ##
# v0.01.0, 13.05.2000 - structure defined
# v0.10.0, 15.05.2000 - wrote initial procs - should work.
# v0.17.0, 15.05.2000 - script works! done some cosmetics.
# v0.20.0, 15.05.2000 - reduced load to one file ..lot's of rewrites neccessary now... :(
# v0.30.0, 22.05.2000 - options -h, -l, -u and -r work now - even combined
# v0.50.0, 23.05.2000 - rewrote options code, extended -r, added -s and -v
# thanks slennox for netbots.tcl
Please note that this component is fully compatible with netbots.tcl v3.10 - 3.30 by slennox
Descriptionlast searches back through the file data/etmp in your eggdrop dir (or the file designated in netset.tcl) and displays a list of all users logged in (and out) since that file was created.
Handles of users, hostmasks and time intervals can be given, in which case last will show only those entries matching the arguments. rehash, restart and inital eggdrop start are treated as users. Thus last restart will show a log of all rehashs, restarts and starts since the log file was created.
DCC Commands.last (-|-) - show last logins
Further help is available via the netbots help system or last --help
netset.tclTo install this component properly you have to copy it to your netbots directory and add these lines to your netset.tcl conf:
ContactYou can contact me via E-Mail at email@example.com, at ICQ 2499577 (tell me who you are and what you want or I'll ignore you) or catch me on irc usually around 18-24 UTC+1 in #eggdrop. (IrcNET)
DISCLAIMERlast.tcl is provided 'as is' and without warranty of any kind. You may use it own will as long as the author is NOT held responsible for ANY damage caused by the usage of this script, neither direct or indirect.
You may modify the script and all belonging files as long as you keep this copyright-text, include a short description of all changes, and send a copy to the author (e-mail: firstname.lastname@example.org).