diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 0000000000..4857335212 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,23 @@ +name: C/C++ CI + +on: + pull_request: + branches: + - develop + +jobs: + build: + name: compile test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: install dependencies + run: sudo apt-get install tcl tcl-dev openssl libssl-dev + - name: configure + run: ./configure + - name: make config + run: make config + - name: make + run: make + - name: make install + run: make install diff --git a/AUTHORS b/AUTHORS index 84b14ab675..6742c39df1 100644 --- a/AUTHORS +++ b/AUTHORS @@ -101,4 +101,4 @@ See also: THANKS, doc/Versions, doc/Changes ------------------------------------------------------------------------------ Copyright (C) 1997 Robey Pointer -Copyright (C) 1999 - 2019 Eggheads Development Team +Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/CONTENTS b/CONTENTS index 7f25627a90..25b4d7394c 100644 --- a/CONTENTS +++ b/CONTENTS @@ -82,4 +82,4 @@ Last revised: September 21, 2018 Contains information on upgrading from a 1.6 bot to a 1.8 bot. _____________________________________________________________________ - Copyright (C) 2003 - 2019 Eggheads Development Team + Copyright (C) 2003 - 2020 Eggheads Development Team diff --git a/FEATURES b/FEATURES index 3b5de6ab88..f30e4f351c 100644 --- a/FEATURES +++ b/FEATURES @@ -49,4 +49,4 @@ EGGDROP FEATURES Copyright (C) 1997 Robey Pointer -Copyright (C) 2000 - 2019 Eggheads Development Team +Copyright (C) 2000 - 2020 Eggheads Development Team diff --git a/INSTALL b/INSTALL index 2c688c97e5..e4559b8e7d 100644 --- a/INSTALL +++ b/INSTALL @@ -196,5 +196,5 @@ the README file. If not, then READ IT!&@#%@! Have fun with Eggdrop! - Copyright (C) 1997 Robey Pointer Copyright (C) 1999 - 2019 Eggheads + Copyright (C) 1997 Robey Pointer Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/NEWS b/NEWS index 20998d4850..bba4e01690 100644 --- a/NEWS +++ b/NEWS @@ -192,7 +192,7 @@ Eggdrop v1.8.0: BOTNET - Because 1.8 bots attempt to link with SSL if available everytime, make + Because 1.8 bots attempt to link with SSL if available every time, make sure you generate a certificate on your hub bot with "make sslcert" after "make install". @@ -236,4 +236,4 @@ Eggdrop v1.8.0: ________________________________________________________________________ Copyright (C) 1997 Robey Pointer -Copyright (C) 1999 - 2019 Eggheads Development Team +Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/README b/README index 68dc4316fb..990f08e03d 100644 --- a/README +++ b/README @@ -377,5 +377,5 @@ OBTAINING HELP If there are any other serious Eggdrop related channels that should be added to the above list, please let us know. -Copyright (C) 1997 Robey Pointer Copyright (C) 1999 - 2019 Eggheads +Copyright (C) 1997 Robey Pointer Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/UPGRADING b/UPGRADING index fafa7f9e16..2dd9bd5136 100644 --- a/UPGRADING +++ b/UPGRADING @@ -63,7 +63,7 @@ Changes made to Eggdrop 1.8.x from Eggdrop1.6.x: BOTNET - Because 1.8 bots attempt to link with SSL if available everytime, make + Because 1.8 bots attempt to link with SSL if available every time, make sure you generate a certificate on your hub bot with "make sslcert" after "make install". @@ -324,4 +324,4 @@ Changes made to Eggdrop 1.6.x from Eggdrop1.4.x: Copyright (C) 1997 Robey Pointer -Copyright (C) 1999 - 2019 Eggheads Development Team +Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/aclocal.m4 b/aclocal.m4 index e8d5670c10..1623a4e9bd 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,6 +1,6 @@ dnl aclocal.m4: macros autoconf uses when building configure from configure.ac dnl -dnl Copyright (C) 1999 - 2019 Eggheads Development Team +dnl Copyright (C) 1999 - 2020 Eggheads Development Team dnl dnl This program is free software; you can redistribute it and/or dnl modify it under the terms of the GNU General Public License diff --git a/config.h.in b/config.h.in index 6fd3e8937d..73d0ebf5a0 100644 --- a/config.h.in +++ b/config.h.in @@ -2,7 +2,7 @@ /* * Copyright (C) 1997 Robey Pointer - * Copyright (C) 1999 - 2019 Eggheads Development Team + * Copyright (C) 1999 - 2020 Eggheads Development Team * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -126,9 +126,6 @@ /* Define to 1 if you have the `inet_aton' function. */ #undef HAVE_INET_ATON -/* Define to 1 if you have the `inet_ntop' function. */ -#undef HAVE_INET_NTOP - /* Define to 1 if you have the `inet_pton' function. */ #undef HAVE_INET_PTON diff --git a/configure b/configure index c1fdb3df58..c6d16a144b 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac 7ea72e91. +# From configure.ac ccc2fa3a. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for Eggdrop 1.9.0. # @@ -12,7 +12,7 @@ # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # -# Copyright (C) 1999 - 2019 Eggheads Development Team +# Copyright (C) 1999 - 2020 Eggheads Development Team ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## @@ -1510,7 +1510,7 @@ Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. -Copyright (C) 1999 - 2019 Eggheads Development Team +Copyright (C) 1999 - 2020 Eggheads Development Team _ACEOF exit fi @@ -6744,7 +6744,7 @@ ac_config_commands="$ac_config_commands $ac_stdint_h" # Checks for functions and their arguments. -for ac_func in clock dprintf getrandom getrusage inet_aton inet_ntop isascii random rand lrand48 setpgid snprintf strlcpy vsnprintf +for ac_func in clock dprintf getrandom getrusage inet_aton isascii random rand lrand48 setpgid snprintf strlcpy vsnprintf do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -8076,8 +8076,8 @@ $as_echo "$SHLIB_LD" >&6; } TCL_LIB_SPEC="$TCL_LIB_SPEC $ac_cv_lib_pthread" fi TCL_INCLUDE_SPEC="" - TCL_VERSION=`grep TCL_VERSION $TCLINC/$TCLINCFN | $HEAD_1 | $AWK '{gsub(/\"/, "", $3); print $3}'` - TCL_PATCHLEVEL=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | $HEAD_1 | $AWK '{gsub(/\"/, "", $3); print $3}'` + TCL_VERSION=`grep TCL_VERSION $TCLINC/$TCLINCFN | $HEAD_1 | $AWK '{gsub(/"/, "", $3); print $3}'` + TCL_PATCHLEVEL=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | $HEAD_1 | $AWK '{gsub(/"/, "", $3); print $3}'` TCL_MAJOR_VERSION=`echo $TCL_VERSION | cut -d. -f1` TCL_MINOR_VERSION=`echo $TCL_VERSION | cut -d. -f2` if test $TCL_MAJOR_VERSION -gt 8 || test $TCL_MAJOR_VERSION -eq 8 -a $TCL_MINOR_VERSION -ge 6; then @@ -9120,7 +9120,7 @@ $as_echo "#define HAVE_OPENSSL_MD5 1" >>confdefs.h # Substitute Makefile variables. - EGGVERSION=`grep '^ *# *define *EGG_STRINGVER ' $srcdir/src/version.h | $AWK '{gsub(/(\")/, "", $NF); print $NF}'` + EGGVERSION=`grep '^ *# *define *EGG_STRINGVER ' $srcdir/src/version.h | $AWK '{gsub(/(")/, "", $NF); print $NF}'` egg_version_num=`echo $EGGVERSION | $AWK 'BEGIN {FS = "."} {printf("%d%02d%02d", $1, $2, $3)}'` diff --git a/configure.ac b/configure.ac index 228dddf845..aad8a09520 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl configure.ac: this file is processed by autoconf to produce ./configure. AC_PREREQ(2.61) AC_INIT([Eggdrop],[1.9.0],[bugs@eggheads.org]) -AC_COPYRIGHT([Copyright (C) 1999 - 2019 Eggheads Development Team]) +AC_COPYRIGHT([Copyright (C) 1999 - 2020 Eggheads Development Team]) AC_LANG([C]) AC_REVISION([m4_esyscmd([misc/getcommit])]) AC_CONFIG_SRCDIR(src/eggdrop.h) @@ -14,7 +14,7 @@ AC_PRESERVE_HELP_ORDER dnl config.h stuff AH_TOP([/* * Copyright (C) 1997 Robey Pointer - * Copyright (C) 1999 - 2019 Eggheads Development Team + * Copyright (C) 1999 - 2020 Eggheads Development Team * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -111,7 +111,7 @@ AX_TYPE_SOCKLEN_T AX_CREATE_STDINT_H([eggint.h]) # Checks for functions and their arguments. -AC_CHECK_FUNCS([clock dprintf getrandom getrusage inet_aton inet_ntop isascii random rand lrand48 setpgid snprintf strlcpy vsnprintf]) +AC_CHECK_FUNCS([clock dprintf getrandom getrusage inet_aton isascii random rand lrand48 setpgid snprintf strlcpy vsnprintf]) AC_FUNC_SELECT_ARGTYPES EGG_FUNC_B64_NTOP EGG_FUNC_VPRINTF diff --git a/doc/ABOUT b/doc/ABOUT index a64b2718a8..ff0cc45d7b 100644 --- a/doc/ABOUT +++ b/doc/ABOUT @@ -65,4 +65,4 @@ ABOUT EGGDROP ahead and erase this directory now. It's almost impossible to do what you want with this bot. - Copyright (C) 1999 - 2019 Eggheads Development Team + Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/doc/BANS b/doc/BANS index e456301a1d..4533d10ef9 100644 --- a/doc/BANS +++ b/doc/BANS @@ -78,4 +78,4 @@ BANS, INVITES, AND EXEMPTS file) or until the channel goes -i again, whichever happens last. - Copyright (C) 1999 - 2019 Eggheads Development Team + Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/doc/BOTNET b/doc/BOTNET index d1e4684ccf..98e8a6f59e 100644 --- a/doc/BOTNET +++ b/doc/BOTNET @@ -317,4 +317,4 @@ MAKING BOTS SHARE USER RECORDS |-+beldin `-+Lameshare -Copyright (C) 1999 - 2019 Eggheads Development Team +Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/doc/COMPILE-GUIDE b/doc/COMPILE-GUIDE index ffe4a1bf6b..109a1c6c11 100644 --- a/doc/COMPILE-GUIDE +++ b/doc/COMPILE-GUIDE @@ -565,4 +565,4 @@ Last revised: July 25, 2019 _____________________________________________________________________ Copyright (C) 1997 Robey Pointer - Copyright (C) 1999 - 2019 Eggheads Development Team + Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/doc/CONTENTS b/doc/CONTENTS index dd0b5a039e..4c87daf259 100644 --- a/doc/CONTENTS +++ b/doc/CONTENTS @@ -72,4 +72,4 @@ Last revised: Nov 01, 2010 notes in reverse chronological order. _____________________________________________________________________ - Copyright (C) 2003 - 2019 Eggheads Development Team + Copyright (C) 2003 - 2020 Eggheads Development Team diff --git a/doc/FIRST-SCRIPT b/doc/FIRST-SCRIPT index 17a3bb238f..b8aa056180 100644 --- a/doc/FIRST-SCRIPT +++ b/doc/FIRST-SCRIPT @@ -96,4 +96,4 @@ maybe). # Here's the end of the script. -Copyright (C) 2003 - 2019 Eggheads Development Team +Copyright (C) 2003 - 2020 Eggheads Development Team diff --git a/doc/IPV6 b/doc/IPV6 index 2083ca1e74..cdc4de7755 100644 --- a/doc/IPV6 +++ b/doc/IPV6 @@ -77,4 +77,4 @@ Other affected variables: nat-ip works with IPv4 as it used to. It has no meaning for IPv6 and is not queried for IPv6 connections. -Copyright (C) 2010 - 2019 Eggheads Development Team +Copyright (C) 2010 - 2020 Eggheads Development Team diff --git a/doc/KNOWN-PROBLEMS b/doc/KNOWN-PROBLEMS index 8b95cea7df..27ee89f27c 100644 --- a/doc/KNOWN-PROBLEMS +++ b/doc/KNOWN-PROBLEMS @@ -21,4 +21,4 @@ KNOWN PROBLEMS characters are handled in a script as text, you run into errors. Eggdrop can't handle these errors at the moment. - Copyright (C) 2003 - 2019 Eggheads Development Team + Copyright (C) 2003 - 2020 Eggheads Development Team diff --git a/doc/MODULES b/doc/MODULES index 5c25a39d43..a6488976ec 100644 --- a/doc/MODULES +++ b/doc/MODULES @@ -425,4 +425,4 @@ WHAT TO DO WITH A MODULE? the modules directory on ftp.eggheads.org. Don't forget to mention in your text file which version Eggdrop the module is written for. -Copyright (C) 1999 - 2019 Eggheads Development Team +Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/doc/PARTYLINE b/doc/PARTYLINE index 6300d4db1f..ae3d3d1ea4 100644 --- a/doc/PARTYLINE +++ b/doc/PARTYLINE @@ -37,4 +37,4 @@ prefixed with an apostrophe is sent to all users on the local bot only. You can change channels with the ".chat" command or even leave all channels with ".chat off". -Copyright (C) 2002 - 2019 Eggheads Development Team +Copyright (C) 2002 - 2020 Eggheads Development Team diff --git a/doc/PATCH-HOWTO b/doc/PATCH-HOWTO index a646a561eb..ba1fb3cbd0 100644 --- a/doc/PATCH-HOWTO +++ b/doc/PATCH-HOWTO @@ -120,4 +120,4 @@ To create a patch using the diff tool: ftp://ftp.eggheads.org/pub/eggdrop/patches/1.9 -Copyright (C) 1999 - 2019 Eggheads Development Team +Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/doc/TEXT-SUBSTITUTIONS b/doc/TEXT-SUBSTITUTIONS index 9f1e41e165..f2fd0e9e36 100644 --- a/doc/TEXT-SUBSTITUTIONS +++ b/doc/TEXT-SUBSTITUTIONS @@ -56,4 +56,4 @@ Other variables: | %{center} | center the following text (70 columns) | +-------------+---------------------------------------------------------+ - Copyright (C) 1999 - 2019 Eggheads Development Team + Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/doc/TLS b/doc/TLS index 3091e5846b..aa471c33bc 100644 --- a/doc/TLS +++ b/doc/TLS @@ -211,4 +211,4 @@ verification and authorization. Higher values enable specific exceptions like allowing self-signed or expired certificates. Details are documented in eggdrop.conf. -Copyright (C) 2010 - 2019 Eggheads Development Team +Copyright (C) 2010 - 2020 Eggheads Development Team diff --git a/doc/TRICKS b/doc/TRICKS index cffb6d6289..42f0666562 100644 --- a/doc/TRICKS +++ b/doc/TRICKS @@ -42,4 +42,4 @@ EGGDROP TRICKS set userfile "$myvar.user" set chanfile "$myvar.chan" - Copyright (C) 1999 - 2019 Eggheads Development Team + Copyright (C) 1999 - 2020 Eggheads Development Team diff --git a/doc/USERS b/doc/USERS index 011d8fbbdc..8018715c5b 100644 --- a/doc/USERS +++ b/doc/USERS @@ -58,4 +58,4 @@ global flag applies to all channels. The standard global flags are: user-defined flags. These are used by scripts, and their uses very depending on the script that uses them. -Copyright (C) 2002 - 2019 Eggheads Development Team +Copyright (C) 2002 - 2020 Eggheads Development Team diff --git a/doc/WEIRD-MESSAGES b/doc/WEIRD-MESSAGES index ec6f42dd5e..66b5620f2b 100644 --- a/doc/WEIRD-MESSAGES +++ b/doc/WEIRD-MESSAGES @@ -51,4 +51,4 @@ WEIRD MESSAGES THAT GET LOGGED When converted to lowercase, these symbols fail to get processed, and joins are not reported, although parts are. - Copyright (C) 2003 - 2019 Eggheads Development Team + Copyright (C) 2003 - 2020 Eggheads Development Team diff --git a/doc/html/appendices/first-script.html b/doc/html/appendices/first-script.html index b198280ca8..44f9ad3a90 100644 --- a/doc/html/appendices/first-script.html +++ b/doc/html/appendices/first-script.html @@ -184,7 +184,7 @@
-+Copyright (C) 1999 - 2019 Eggheads Development Team
loadmodule assoc
Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -138,8 +138,8 @@loadmodule blowfish
Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -143,8 +143,8 @@}
-Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -519,8 +519,8 @@Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -151,8 +151,8 @@Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -153,8 +153,8 @@There are also several variables to help make your bot less noticeable. They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set to set them to values you’d like.
-Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -170,8 +170,8 @@Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -166,8 +166,8 @@Copyright (C) 2019 - 2019 Eggheads Development Team
+Copyright (C) 2019 - 2020 Eggheads Development Team
@@ -207,8 +207,8 @@These were the core irc module settings. There are more settings for -‘net-type’ 1 and 5. net-type has to be set in the server module config +‘net-type’ IRCnet and Efnet. net-type has to be set in the server module config section.
-Use the following settings only if you set ‘net-type’ to 1!
+Use the following settings only if you set ‘net-type’ to IRCnet!
--
- set prevent-mixing 1
@@ -216,7 +216,7 @@Search
mixing of b, o and v modes with e and I modes. This might be changed in the future, so use 1 at the moment for this setting.Use the following settings only if you set ‘net-type’ to 5!
+Use the following settings only if you set ‘net-type’ to Efnet!
- set kick-method 1
- If your network supports more users per kick command then 1, you can @@ -241,7 +241,7 @@
Search
set this to 0.
Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -269,8 +269,8 @@Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -161,8 +161,8 @@loadmodule seen
Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -140,8 +140,8 @@There are also some variables you can set in your config file:
--
- set net-type 0
-- +
What is your network?
----
-- - -- - - 0 -EFnet -- 1 -IRCnet -- 2 -Undernet -- 3 -DALnet -- 4 -+e/+I/max-bans 20 Hybrid -- - 5 -Others -- set net-type Efnet
+- What is your network? Possible allowed values are Efnet, IRCnet, Undernet, +DALnet, freenode, Quakenet, Rizon, Other. If the network you use is not +listed, using “Other” is a good sane choice and can be customized with +settings both here and in the IRC module sections of the config file.
- set nick “LamestBot”
- Set the nick the bot uses on IRC, and on the botnet unless you specify a separate botnet-nick, here.
@@ -302,7 +276,7 @@Search
- Allow identical messages in the server queue?
- set double-help 0
- Allow identical messages in the help queue?
-- set use-penalties 1 (default on net-type 1)
+- set use-penalties 1 (default on net-type IRCnet)
- This enables Eggdrop’s penalty calculation. Every command Eggdrop sends to the IRC server raises its penalty points. If Eggdrop reaches a server limit, it gets disconnected with “excess flood” message. Eggdrop is able @@ -337,10 +311,10 @@
Search
There are additional settings for ‘net-type’ 5.
+There are additional settings for ‘net-type’ Efnet.
@@ -385,8 +359,8 @@net-type 5 specific features:
-Attention: Use this settings only if you set ‘net-type’ to 5!
+Attention: Use this settings only if you set ‘net-type’ to Efnet!
-
- set check-mode-r 1
@@ -348,15 +322,15 @@Search
networks use +r to indicate a restricted connection. If this is your case, and you want your bot to leave restricted servers and jump to the next server on its list, then set it to 1. -Please note, this setting is automatically set to 0 for net-type 0/2/3/4, -and set to 1 for net-type 1. +Please note, this setting is automatically set to 0 for net-type of +Efnet, Undernet, and DALnet, and set to 1 for net-type IRCNet.- set nick-len 9
- 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.
Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -170,8 +170,8 @@Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -165,8 +165,8 @@loadmodule uptime
Copyright (C) 2001 - 2019 Eggheads Development Team
+Copyright (C) 2001 - 2020 Eggheads Development Team
@@ -146,8 +146,8 @@loadmodule woobie
Copyright (C) 2000 - 2019 Eggheads Development Team
+Copyright (C) 2000 - 2020 Eggheads Development Team
@@ -139,8 +139,8 @@ps x
) and then restart it with the -mnt flag, which will launch you directly into the partyline, to assist with troubleshooting. Note that if you use the -nt flag, the bot will not persist and you will kill it once you quit the partyline.
If you’re still unsure what the problem is, try asking in #eggdrop on Freenode, and be sure to include any relevant information from the logfile. Good luck!
-Now that your bot is online, you’ll want to join the partyline to further use the bot. First, read what it tells you when you started it up:
STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
@@ -276,7 +279,51 @@ First steps- log on to the partylineThis will make the bot recognize you as the master.
If you choose not to telnet to connect to the partyline, you can either /dcc chat BotNick
or /ctcp BotNick chat
. If one of those methods does not work for you, try the other. Once you’re on the bot for the first time, type .help
for a short list of available commands, or .help all
for a more thorough list. Common first commands you’ll want to review are .help +chan
to tell the bot to join a channel, .help +user
to add a user, .help whois
for a list of flags you can add to that user, and .help chattr
to add those flags to a user.
You can either telnet to the bot, or connect to the bot using DCC Chat. To telnet, you’ll either need a program like Putty (Windows), or you can do it from the command line of your shell using the telnet command:
+telnet <IP of bot> <listen port>
+
You can find the IP and port the bot is listening on by a) remembering what you set in the config file ;) or b) reading the display the bot presented when it started up. Look for a line that looks similar to this:
+Listening for telnet connections on 2.4.6.9:3183 (all).
+
This tells you that the bot is listening on IP 2.4.6.9, port 3183. If you see 0.0.0.0 listed, that means Eggdrop is listening on all available IPs on that particular host.
+If you choose not to telnet to connect to the partyline, you can either /dcc chat BotNick
or /ctcp BotNick chat
. If one of those methods does not work for you, try the other. Once you’re on the bot for the first time, type .help
for a short list of available commands, or .help all
for a more thorough list.
To learn more about any of these commands, type .help <command> on the partyline. It will provide you the syntax you need, as well as a short description of how to use the command.
+To tell the Eggdrop to join a channel, use:
+.+chan #channel
+
To register a user with the bot, use:
+.+user <handle>
+
The handle is the name that the bot uses to track a user. No matter what nickname on IRC a user uses, a single handle is used to track the user by their hostmask. To add a hostmask of a user to a handle, use:
+.+host <handle> <hostmask>
+
where the hostmask is in the format of <nick>!<ident>@hostname.com . Wildcards can be used; common formats are *!*@hostname.com for static hosts, or *!ident@*.foo.com for dynamic hostnames.
+To assign an access level to a user, first read .help whois
for a listing of possible access levels and their corresponding flags. Then, assign the desired flag to the user with:
.chattr <+flag> <handle>
+
So to grant a user the voice flag, you would do:
+.chattr +v handle
+
It is important to note that, when on the partyline, you want to use the handle of the user, not their current nickname.
+Finally, Eggdrop is often used to moderate and control channels. This is done via the .chanset
command. To learn more about the (numerous!) settings that can be used to control a channel, read:
.help chaninfo
+
Common uses involve setting channels modes. This can be done with the chanmode channel setting:
+.chanset #channel chanmode +snt
+
which will enforce the s, n, and t flags on a channel.
Copyright (C) 1999 - 2019 Eggheads Development Team
+Copyright (C) 1999 - 2020 Eggheads Development Team
@@ -249,8 +249,8 @@++Value: a string containing the language with the highest priority for use by Eggdrop. This commonly reflects what is added with addlang in the config file
+Module: core
+
+bind invt <flags> <mask> <proc>
+procname <nick> <user@host> <channel> <invitee>
+Description: triggered when eggdrop received an INVITE message. The mask for the bind is in the format “#channel nickname”, where nickname (not a hostmask) is that of the invitee. For the proc, nick is the nickname of the person sending the invite request, user@host is the user@host of the person sending the invite, channel is the channel the invitee is being invited to, and invitee is the target (nickname only) of the invite. The invitee argument was added to support the IRCv3 invite-notify capability, where the eggdrop may be able to see invite messages for other people that are not the eggdrop.
+