fixes, cleanup eggdrop bot, config now private
authorIan Kelling <ian@iankelling.org>
Thu, 5 Feb 2026 22:57:26 +0000 (17:57 -0500)
committerIan Kelling <ian@iankelling.org>
Thu, 5 Feb 2026 22:57:26 +0000 (17:57 -0500)
brc2
brc3
distro-end
fsfsys-recent
fsfsys-recent.tcl
machine_specific/li/filesystem/etc/systemd/system/fsysbot.service [moved from machine_specific/li/subdir_files/.config/systemd/user/fsysbot.service with 53% similarity]
pkgs
shellcheck-this-repo
subdir_files/eggdrop/eggdrop-fsysbot.conf [deleted file]

diff --git a/brc2 b/brc2
index 0bf38c9ded2fc5f55eb6d8066e50fedf748a51cc..372c7b201b23d9f0fc282cc0be391b354c98f190 100644 (file)
--- a/brc2
+++ b/brc2
@@ -28,7 +28,7 @@
 if [[ $LESSHISTFILE == - ]]; then
   HISTFILE=
   c() { cd "$@"; }
-elif [[ $HISTFILE == $HOME/.bash_history ]]; then
+elif [[ $HISTFILE == "$HOME/.bash_history" ]]; then
   # use an alternate history file when we are streaming.
   if [[ -e $HOME/.iank-stream-on ]]; then
     HISTFILE=/a/bin/data/stream_hist
@@ -112,7 +112,7 @@ if [[ $EUID == 1000 ]]; then
   nvm-update() {
     cd ~/.nvm
     git pull
-    }
+  }
 fi
 
 export I2X_SORT_ORDER=path_desc
@@ -1182,6 +1182,8 @@ lipush() {
     /a/opt/bbdb-csv-import
     /a/opt/spray
     /p/c/user-specific/www-data/{caldav,icecast-fsf{,-tech}}-htpasswd
+    /p/c/subdir_files/eggdrop/eggdrop-fsysbot.conf
+    /p/c/subdir_files
   )
   a="-ahviSAXPH --specials --devices --delete --relative --exclude-from=/p/c/li-rsync-excludes"
   ret=0
@@ -3005,7 +3007,7 @@ myprof() {
 # especially for links.
 profr() {
   source /p/c/domain-info
-  if [[ $HOSTNAME == $d_host ]]; then
+  if [[ $HOSTNAME == "$d_host" ]]; then
     : # todo: fill this in?
   else
     ssh b8.nz profr-local
@@ -4976,21 +4978,37 @@ i2x100() {
   if [[ $1 == -i ]]; then
     i="$2"
     shift 2
-    fi
+  fi
 
   if (( $# )); then
     ds=( "$@" )
-    else
-  ds=(*);
+  else
+    ds=(*);
   fi
   echo max ${#ds[@]}
   export I2X_SORT_ORDER=path I2X_DISABLE_XINPUT2=1
   for (( ; i<${#ds[@]}; i+=batch)); do
     e i=$i
-     m i2x ${ds[@]:$i:$batch};
+    m i2x ${ds[@]:$i:$batch};
   done
 }
 
+pull-iankfsf() {
+  local tmps
+  local -a mids
+  if [[ $HOSTNAME == mail.fsf.org ]]; then
+    tmps=$(exiqgrep -r iank@fsf.org -i)
+    if [[ $tmps ]]; then
+      mapfile -t mids <<<"$tmps"
+      e "pulling ${#mids[@]} messages"
+      exim -M "${#mids[@]}"
+    else
+      e "no messages found to pull"
+    fi
+  else
+    m sl mail.fsf.org pull-iankfsf
+  fi
+}
 
 ########################## ####################################################
 ########################## ##########################
diff --git a/brc3 b/brc3
index 559d08d217f2c4a22d836d38d3a328371729127b..e427d19489102faaacb0b3d739fd2ec1ca422684 100644 (file)
--- a/brc3
+++ b/brc3
@@ -125,4 +125,47 @@ schroot-cleanup() {
 # misc bash tip. If we have a set of lines we want to know if one is a specific string, we can use =~ with:
 # regex="("$'\n'"|^)$string("$'\n'"|$)"
 
+name-list-test() {
+  local t=$(mktemp)
+  cat >$t <<'EOF'
+bonny (destroyer) williams
+Sean O'brien
+Nick Hockum & Jonathan Blondie
+ & Brian Boytano
+EOF
+  name-list-clean $t
+  cat $t
+}
+name-list-clean() {
+  local tmp=$(mktemp)
+  cat >$tmp <<'EOF'
+# aliases
+s/'[^']+'//g;
+s/"[^"]+"//g;
+s/`[^"]+`//g;
+s/\([^)]+\)//g;
+# eg: Miguel Duarte / Biggy
+s/ -.*//g;
+s,/.*,,g;
+# leading space. do before we use a ^
+s/^[[:space:]]+//;
+# initials
+s/\b[[:alpha:]]\.//g;
+s/^[[:alpha:]]\.[[:space:]]*//g;
+# escape quotes
+s/'/''/g;
+# leading & trailing trash
+s/[^[:alpha:]]+$//;
+s/^[^[:alpha:]]+//;
+# empty lines
+/^[^[:alpha:]]*$/d;
+EOF
+  sed -r -f $tmp  "$@" | \
+    while read -r l; do echo 'select sum(t.total_amount), count(t.id),  concat('"'https://my.fsf.org/civicrm/contact/view?reset=1&cid='"', c.id), c.display_name from civicrm_contact c inner join civicrm_contribution t on c.id = t.contact_id  where t.contribution_status_id = 1 and c.display_name like '"'""${l%% *} %${l##* }%'"' group by c.id order by c.id;' >>$f; done
+  rm -f $tmp
+}
 
+# example of creating sql query of first and last name, allowing anything in between or appended:
+# like '"'""${l%% *} %${l##* }%'"'
+#
+#
index 34acd4b1905a165c1c4ebfe3c908cff1d8f90272..85d1a652224540121c49ffe741687908c5097dcf 100755 (executable)
@@ -363,10 +363,12 @@ EOF
       make install
     fi
 
-    # dunno if this is really needed. it was part of the documented eggdrop systemd install script
-    sudo loginctl enable-linger
-    systemctl --user enable fsysbot
-    systemctl --user start fsysbot
+
+    # docs pointed us to using user-level service file, but those are
+    # super annoying.
+    if [[ $(systemctl is-active fsysbot) != active ]]; then
+      sgo fsysbot
+    fi
 
     m /a/h/setup.sh iankelling.org
 
@@ -566,7 +568,7 @@ EOF
     sudo chmod 700 /var/lib/znc
     sudo chown -R znc:znc /var/lib/znc
     # Avoid restarting if possible, reconnecting to irc is annoying.
-    # The unit file was made active with conflink.
+    # systemd is aware of the service because conflink does daemon-reload if needed..
     # Note, avoid using ser here because we wrap sudo to prints the command first.
     if [[ $(systemctl is-active znc) != active ]]; then
       sgo znc
index 9d63090130ea8ab953d93f448c44a9d99af02e5a..455d9cbb2194b3d5ad21a2e8f634c1d16a332eed 100755 (executable)
@@ -55,3 +55,15 @@ f1="$d/$date1.log"
 url=$( { if [[ -e $f1 ]]; then sed "s/^/$date1 /" $f1; fi; sed "s/^/$date0 /" $f0; } | /a/opt/fpaste/fpaste -x 60 |& grep -i '^http' | sed -r 's,/view/,/view/raw/,' )
 notice='This url is not public and this message does not not imply permission to share it publicly. It expires in 60 minutes. Related: the "Public logging" section at https://libera.chat/policies/.'
 printf "%s %s\n" "$url" "$notice" | tee /tmp/fsfsys-recent
+
+
+
+## update history of fpaste:
+
+## Since about 2024-12:
+#
+# commit 8a9fe487138416ca1cfee0ce71c76beda69d87ad (HEAD -> main, origin/main, origin/development, origin/HEAD)
+# Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
+# Date:   Sun Aug 11 20:46:41 2024 +0100
+#
+#     chore: to 0.5.0.1
index a1dff26a28faedfde4505bfbc2dc560d35d13344..30c7c301deb296e01007cedc47e1af2e8bf978bb 100644 (file)
@@ -1,4 +1,5 @@
 bind pubm * "#fsfsys fsysbot catch me up" fsfsys-recent
+bind pubm * "#fsfsys gnubot catch me up" fsfsys-recent
 
 proc fsfsys-recent { nick user handle channel text } {
     putserv "PRIVMSG $nick :[exec /b/ds/fsfsys-recent]"
similarity index 53%
rename from machine_specific/li/subdir_files/.config/systemd/user/fsysbot.service
rename to machine_specific/li/filesystem/etc/systemd/system/fsysbot.service
index b36b6d3b5f9ba6c9b898fc75464b8f624772e27a..ba909aa9b11dead7eaed8955d1f5e33890b9c7c1 100644 (file)
@@ -1,15 +1,22 @@
-### Eggdrop systemd unit, generated by autosystemd
+### generated by autosystemd then modified by iank
 
 [Unit]
 Description=fsysbot (Eggdrop)
-After=default.target
+After=network-online.target
 
 [Service]
+User=iank
+Group=iank
 WorkingDirectory=/home/iank/eggdrop
 ExecStart=/home/iank/eggdrop/eggdrop eggdrop-fsysbot.conf
 ExecReload=/usr/bin/kill -s HUP $MAINPID
 Type=forking
 Restart=on-abnormal
 
+ExecStartPre=/a/c/znc-start-delay
+RestartSec=30
+TimeoutStartSec=300
+
+
 [Install]
-WantedBy=default.target
+WantedBy=multi-user.target
diff --git a/pkgs b/pkgs
index 81aaf3ab5f021fd6ca6af3d439280471858f2d03..a80b34a18969ad34fd47f896035e30e3ed10991b 100644 (file)
--- a/pkgs
+++ b/pkgs
@@ -171,7 +171,6 @@ p3=(
   fonts-thai-tlwg
   fonts-thai-tlwg-otf
   ftp-upload
-  fzf
   xfonts-intl-asian
   fonts-sil-lateef
   gajim
index 089e4f5682e8b7d68ef9dcd80acecb0ea1e6c64c..f89abe70b2b30373fe2fdf554327058c8f8a6aa5 100755 (executable)
@@ -23,7 +23,7 @@ declare -a ls_files standard_files
 # used in other files that source them. Using -a like this is the only
 # way to solve it. We can't just -a on everything because then we would
 # get various files I didn't write and that don't pass shellcheck.
-sk ${a_files[@]}
+shk ${a_files[@]}
 
 
 tmp=$(git ls-files && git ls-files --others --exclude-standard)
diff --git a/subdir_files/eggdrop/eggdrop-fsysbot.conf b/subdir_files/eggdrop/eggdrop-fsysbot.conf
deleted file mode 100644 (file)
index d1d879d..0000000
+++ /dev/null
@@ -1,460 +0,0 @@
-#! /path/to/executable/eggdrop
-# ^- This should contain a fully qualified path to your Eggdrop executable.
-
-## This is the basic version of Eggdrop's config file and contains only the
-## most commonly used settings for a standard Eggdrop setup.
-## PLEASE see eggdrop.conf that ships with Eggdrop for the full documentation
-## and list settings you can use here. Or, you can just use eggdrop.conf
-## instead!
-##
-## The pound signs (#) that you see at the beginning of some lines mean that
-## the remainder of that line is a comment, or just for your information. By
-## adding or deleting pound signs, you can comment or uncomment a setting,
-## respectively.
-##
-## Arguments for a command or setting may be inclosed in <>'s or []'s in the
-## example/description. Arguments in <>'s are required, while [] means optional.
-##
-## More detailed descriptions of all these settings can be found in
-## doc/settings/.
-
-## These are the common modules loaded by eggdrop for an IRC-connected bot.
-## For a complete description of each module, please consult eggdrop.conf
-loadmodule pbkdf2    ; # Generation 2 userfile encryption
-loadmodule blowfish  ; # Legacy userfile encryption support
-loadmodule channels  ; # Channel support
-loadmodule server    ; # Core server support
-loadmodule ctcp      ; # CTCP functionality
-loadmodule irc       ; # Basic IRC functionality
-#loadmodule transfer ; # DCC SEND/GET and Userfile transfer
-#loadmodule share    ; # Userfile sharing
-#loadmodule compress ; # Compress userfiles for transfer
-#loadmodule filesys  ; # File server support
-#loadmodule notes     ; # Note storing for users
-loadmodule console   ; # Console setting storage
-#loadmodule seen     ; # Basic seen functionality
-#loadmodule assoc    ; # Party line channel naming
-loadmodule uptime    ; # Centralized uptime stat collection (http://uptime.eggheads.org)
-#loadmodule ident    ; # Ident support
-#loadmodule twitch   ; # Twitch gaming service support
-
-
-##### BASIC SETTINGS #####
-
-## Set the nick the bot uses on IRC, and on the botnet unless you specify a
-## separate botnet-nick, here.
-set nick "fsysbot"
-
-## Set the alternative nick which the bot uses on IRC if the nick specified
-## by 'set nick' is unavailable. All '?' characters will be replaced by random
-## numbers.
-set altnick "fsysbot2"
-
-## Set what should be displayed in the real-name field for the bot on IRC.
-## This can not be blank, it has to contain something.
-set realname "/msg fsysbot hello"
-
-## This setting defines the username the bot uses on IRC. This setting has no
-## effect if an ident daemon is running on your bot's machine. See also ident
-## module.
-set username "iank"
-
-# Specify here the filename Eggdrop will save its pid to. If no pidfile is
-# specified, pid.(botnet-nick) will be used.
-#set pidfile "pid.LamestBot"
-
-## This setting defines which contact person should be shown in .status,
-## /msg help, and other places. You really should include this information.
-set admin "iank@fsf.org"
-
-## This setting is used only for info to share with others on your botnet.
-## Set this to the IRC network your bot is connected to.
-set network "irc.libera.chat"
-
-# Un-comment the next line and set the list of owners of the bot.
-# You NEED to change this setting.
-# This is a list of handles -- usernames in the bot.
-#set owner "MrLame, MrsLame"
-
-# This is the bot's server list. The bot will start at the first server listed,
-# and cycle through them whenever it gets disconnected. You need to change these
-# servers to YOUR network's servers.
-#
-# The format is:
-#   server add <server> [port [password]]
-# Prefix the port with a plus sign to attempt a SSL connection:
-#   server add <server> +port [password]
-#
-# Both the port and password fields are optional. If a port isn't specified,
-# the default-port setting will be used. If you want to set a password or use
-# SSL, you must specify a port.
-#
-# This format is new as of version 1.9.0. The previous method using
-# set servers {} will still work for now, but is deprecated and will be removed
-# in a future release.
-server add irc.libera.chat 6667
-
-############################################################################
-## Network settings overview
-## With the addition of IPv6 and the associated config changes, here are some
-## BASIC common networking scenarios, along with the appropriate settings
-## needed:
-##
-## SHELL PROVIDER (MULTIPLE IPs/VHOSTS)
-## * set vhost4 or vhost6 to the IP/vhost you want to use
-## * do not set nat-ip
-##
-## HOME COMPUTER/VPS, DIRECT INTERNET CONNECTION (SINGLE IP, NO NAT)
-## * do not set vhost4/vhost6
-## * do not set nat-ip
-##
-## HOME COMPUTER, BEHIND A NAT
-## * do not set vhost4/vhost6
-## * set nat-ip to your external IP
-##
-## And as a general rule, if you're having issues with Eggdrop responding to
-## a CTCP chat request, try setting vhost4/6 to your external IP.
-##
-## Below is a detailed description of each setting, please read them to
-## learn more about their function.
-############################################################################
-
-## If your host has multiple IPv4 addresses, uncomment and set this variable
-## to the IP you wish to use for connecting to IRC.
-#set vhost4 "virtual.host.com"
-#set vhost4 "99.99.0.0"
-
-# If your host has multiple IPv6 addresses, uncomment and set this variable
-# to the IP you wish to use for connecting to IRC.
-#set vhost6 "my.ipv6.host.com"
-#set vhost6 "2001:db8::c001:b07"
-
-## If you have a NAT firewall, enter your outside IP here. This IP
-## is used for transfers and CTCP replies only, and is different than the
-## vhost4/6 settings. You likely still need to set them.
-#set nat-ip "127.0.0.1"
-
-## If you want all dcc file transfers to use a particular portrange either
-## because you're behind a firewall, or for other security reasons, set it
-## here.
-#set reserved-portrange 2010:2020
-
-## Prefer IPv6 over IPv4 for connections and dns resolution?
-## If the preferred protocol family is not supported, the other one
-## will be tried.
-set prefer-ipv6 0
-
-## If you want to have your Eggdrop messages displayed in a language other
-## than English, change this setting to match your preference. An alternative
-## would be to set the environment variable EGG_LANG to that value.
-##
-## Languages included with Eggdrop: Danish, English, French, Finnish, German,
-## Italian, Portuguese.
-#addlang "english"
-
-##### LOG FILES #####
-
-## See eggdrop.conf for documentation on the logfile flags and settings.
-
-# This creates a logfile named eggdrop.log that captures items logged at the
-# m, c, and o log levels (private msgs/ctcps, commands/errors, and misc
-# info) from any channel.
-logfile mco * "logs/eggdrop.log"
-
-# This creates a logfile named lamest.log that captures items logged at the
-# j, p, and k log levels (joins/parts/quits/netsplits, public chat,
-# kicks/bans/mode changes) on the channel #lamest.
-#logfile jpk #lamest "logs/lamest.log"
-
-## This should be 0 for disk space restricted shells, and 1 if you want to
-## generate channel statistics with tools such as pisg.
-## If it is 0, eggdrop will delete logfiles older than 2 days.
-## If it is 1, eggdrop will keep logging into the specified logfiles forever.
-## See eggdrop.conf for more detailed settings.
-set log-forever 0
-
-## Code to set settings based on the above setting, do not edit this.
-if {${log-forever}} {
-       set switch-logfiles-at 2500
-       set keep-all-logs 0
-}
-
-## "Writing user file..." and "Writing channel file..." messages won't be logged
-## anymore if this option is enabled. If you set it to 2, the "Backing up user
-## file..." and "Backing up channel file..." messages will also not be logged.
-## In addition to this, you can disable the "Switching logfiles..." and the new
-## date message at midnight, by setting this to 3.
-set quiet-save 0
-
-##### FILES AND DIRECTORIES #####
-
-# Specify here the filename your userfile should be saved as.
-set userfile "fsysbot.user"
-
-# Specify here where Eggdrop should look for help files. Don't modify this
-# setting unless you know what you're doing!
-set help-path "help/"
-
-##### BOTNET/DCC/TELNET #####
-
-## If you want to use a different nickname on the botnet than you use on
-## IRC (i.e. if you're on an un-trusted botnet), un-comment the next line
-## and set it to the nick you would like to use.
-#set botnet-nick "LlamaBot"
-
-# This opens a telnet port by which you and other bots can interact with the
-# Eggdrop by telneting in. There are more options for the listen command in
-# doc/tcl-commands.doc. Note that if you are running more than one bot on the
-# same machine, you will want to space the telnet ports at LEAST 5 apart,
-# although 10 is even better.
-#
-# Valid ports are typically anything between 1025 and 65535 assuming the
-# port is not already in use. If you would like the bot to listen for users
-# and bots in separate ports, use the following format:
-#
-#   listen 3333 bots
-#   listen 4444 users
-listen 127.0.0.1 2888 users
-#
-# If you wish to use only one port, use this format:
-#
-#   listen 3333 all
-#
-# You can setup a SSL port by prepending a plus sign to it:
-#
-#   listen +5555 all
-#
-# To bind the listening port to a specific IP instead of all available, insert
-# a valid IP assigned to the host Eggdrop is running on in front of the port
-# (this replaces the listen-addr setting used prior to Eggdrop v1.9)
-#
-#   listen 1.2.3.4 3333 all
-#
-# You need to un-comment this line and change the port number in order to open
-# the listen port. You should not keep this set to 3333.
-#listen 3333 all
-
-##### SSL SETTINGS #####
-
-## Settings in this section take effect when eggdrop is compiled with TLS
-## support. If you didn't generate SSL keys already, you can type
-## 'make sslcert' in your eggdrop source directory.
-##
-## IMPORTANT: The following two settings MUST be uncommented in order to
-## use SSL functionality!
-#set ssl-privatekey "eggdrop.key"
-
-## Specify the filename where your SSL certificate is located. If you
-## don't set this, eggdrop will not be able to act as a server in SSL
-## connections. Must be in PEM format.
-#set ssl-certificate "eggdrop.crt"
-
-## Specify the location at which CA certificates for verification purposes
-## are located. These certificates are trusted. If you don't set this,
-## certificate verification will not work.
-set ssl-capath "/etc/ssl/"
-
-## Enable certificate authorization. Set to 1 to allow users and bots to
-## identify automatically by their certificate fingerprints. Setting it
-## to 2 to will force fingerprint logins. With a value of 2, users without
-## a fingerprint set or with a certificate UID not matching their handle
-## won't be allowed to login on SSL enabled telnet ports. Fingerprints
-## must be set in advance with the .fprint and .chfinger commands.
-## NOTE: this setting has no effect on plain-text ports.
-#set ssl-cert-auth 0
-
-## You can control SSL certificate verification using the following variables.
-## All of them are flag-based. You can set them by adding together the numbers
-## for all exceptions you want to enable. By default certificate verification
-## is disabled and all certificates are assumed to be valid. The numbers are
-## the following:
-##
-## Enable certificate verification - 1
-## Allow self-signed certificates - 2
-## Don't check peer common or alt names - 4
-## Allow expired certificates - 8
-## Allow certificates which are not valid yet - 16
-## Allow revoked certificates - 32
-## A value of 0 disables verification.
-
-## Control certificate verification for IRC servers
-#set ssl-verify-server 0
-
-## Control certificate verification for DCC chats (only /dcc chat botnick)
-#set ssl-verify-dcc 0
-
-## Control certificate verification for linking to hubs
-#set ssl-verify-bots 0
-
-## Control certificate verification for SSL listening ports. This includes
-## leaf bots connecting, users telneting in and /ctcp bot chat.
-#set ssl-verify-clients 0
-
-
-##### COMMON MODULES SETTINGS #####
-
-## Below are various settings for the modules included with Eggdrop.
-## PLEASE READ AND EDIT THEM CAREFULLY, even if you're an old hand at
-## Eggdrop, things change.
-
-## This path specifies the path were Eggdrop should look for its modules.
-## If you run the bot from the compilation directory, you will want to set
-## this to "". If you use 'make install' (like all good kiddies do ;), this
-## is a fine default. Otherwise, use your head :)
-set mod-path "modules/"
-
-#### CHANNELS MODULE ####
-
-## Enter here the filename where dynamic channel settings are stored.
-set chanfile "fsysbot.chan"
-
-#### SERVER MODULE ####
-
-## What is your network?
-##   If your network is not specifically listed here, please see eggdrop.conf
-##   for more information on what the best selection is.
-## Options are:
-##   EFnet
-##   IRCnet
-##   Undernet
-##   DALnet
-##   Libera
-##   freenode
-##   QuakeNet
-##   Rizon
-##   Twitch (This requires twitch.mod to be loaded as well)
-##   Other (This is a good, sane option if your network/ircd is not listed here)
-set net-type "Libera"
-
-# This is a Tcl script to be run immediately after connecting to a server. If
-# you want to authenticate Eggdrop with NickServ, uncomment and edit the middle
-# line below.
-bind evnt - init-server evnt:init_server
-
-proc evnt:init_server {type} {
-  global botnick
-  putquick "MODE $botnick +i-ws"
-#  putserv "PRIVMSG NickServ :IDENTIFY iank cePVe6OmxLXmf42e"
-}
-
-## Set the default port which should be used if none is specified with
-## '.jump' or in 'set servers'.
-set default-port 6667
-
-## This setting allows you to specify the maximum nick-length supported by your
-## network. The default setting is 9. The maximum supported length by Eggdrop
-## is 32.
-#set nick-len 9
-
-#### CTCP MODULE ####
-
-## Set here how the ctcp module should answer ctcps.
-## Options are:
-##   0 = Normal behavior is used.
-##   1 = The bot ignores all ctcps, except for CHAT and PING requests
-##       by users with the +o flag.
-##   2 = Normal behavior is used, however the bot will not answer more
-##       than X ctcps in Y seconds (defined by 'set flood-ctcp').
-set ctcp-mode 1
-
-#### IRC MODULE ####
-
-## Many takeover attempts occur due to lame users blindly /msg ident'ing to
-## the bot and attempting to guess passwords. We now unbind this command by
-## default to discourage them. You can enable these commands by commenting the
-## following two lines.
-unbind msg - ident *msg:ident
-unbind msg - addhost *msg:addhost
-
-#### NOTES MODULE ####
-
-## Set here the filename where private notes between users are stored.
-set notefile "LamestBot.notes"
-
-##### AUTOSCRIPTS #####
-
-# Load this script to enable the autoscripts functionality for Eggdrop.
-# Autoscripts are scripts that can be downloaded, installed and configured via
-# the partyline. For more information, read doc/AUTOSCRIPTS
-#source scripts/autoscripts.tcl
-
-##### SCRIPTS #####
-
-## This is a good place to load scripts to use with your bot.
-
-## This line loads script.tcl from the scripts directory inside your Eggdrop's
-## directory. All scripts should be put there, although you can place them where
-## you like as long as you can supply a fully qualified path to them.
-##
-## source scripts/script.tcl
-## The 3 scripts below are default and shouldn't be removed.
-
-source scripts/alltools.tcl
-source scripts/action.fix.tcl
-source scripts/dccwhois.tcl
-
-## This script provides many useful informational functions, like setting
-## users' URLs, e-mail address, ICQ numbers, etc. You can modify it to add
-## extra entries.
-source scripts/userinfo.tcl
-loadhelp userinfo.help
-
-## Use this script for Tcl and Eggdrop backwards compatibility.
-## NOTE: This can also cause problems with some newer scripts.
-#source scripts/compat.tcl
-
-## This next line checks if eggdrop is being executed from the source directory, do not remove it
-if {[file exists aclocal.m4]} { die {You are attempting to run Eggdrop from the source directory. Please finish installing Eggdrop by running "make install" and run it from the install location.} }
-
-## A few IRC networks (EFnet and Undernet) have added some simple checks to
-## prevent drones from connecting to the IRC network. While these checks are
-## fairly trivial, they will prevent your Eggdrop from automatically
-## connecting. In an effort to work-around these, we have developed a couple of
-## TCL scripts to automate the process.
-
-if {[info exists net-type]} {
-  switch -- ${net-type} {
-    "EFnet" {
-      # EFnet
-      source scripts/quotepong.tcl
-    }
-    "0" {
-      # EFnet
-      source scripts/quotepong.tcl
-    }
-  }
-}
-
-source /b/ds/fsfsys-recent.tcl
-
-# initial setup:
-#
-# ~/eggdrop/eggdrop -m eggdrop-fsysbot.conf
-# # on irc, /msg eggdrop hello
-# # on server:
-# telnet localhost 2888
-#.dump PRIVMSG nickserv :REGISTER Ujtoobquidliwev fsysbot@iankelling.org
-##<Geo> iank: alternately, read .help msg [17:08]
-##<Geo> probably the more convenient solution
-## but it looks like that module is not loaded.
-#.dump PRIVMSG nickserv :VERIFY REGISTER fsysbot cePVe6OmxLXmf42e
-
-# .+chan #fsfsys
-# .+chan #test-ignore
-# # do testing
-# .-chan #test-ignore
-
-# ./scripts/autobotchk eggdrop-fsysbot.conf -systemd
-
-# autobotchk 1.11, (C) 1999-2003 Jeff Fisher (guppy@eggheads.org)
-#                    (C) 2004-2022 Eggheads Development Team
-# ------------------------------------------------------------
-
-# Opening 'eggdrop-fsysbot.conf' for processing ... done
-# Scanning the config file ..... done
-#   Defaulting $botnet-nick to "fsysbot"
-# Enabling user lingering...
-# Creating systemd directory...
-# Created symlink /home/iank/.config/systemd/user/default.target.wants/fsysbot.service → /home/iank/.config/systemd/user/fsysbot.service.
-# systemd job successfully installed as 'fsysbot.service'.
-# * Use 'systemctl --user <start|stop|restart|reload|enable|disable> fsysbot.service' to control your Eggdrop