IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
openbsd:irc:eggdrop [2020/05/10 10:46]
dennis
openbsd:irc:eggdrop [2020/07/26 19:20] (current)
fizi
Line 1: Line 1:
 +To install eggdrop:
 +
 <​code>​ <​code>​
 $ cd ~ $ cd ~
Line 5: Line 7:
 </​code>​ </​code>​
  
-SHA256 Sum: 79644eb27a5568934422fa194ce3ec21cfb9a71f02069d39813e85d99cdebf9e+The SHA256 Sum should be: 79644eb27a5568934422fa194ce3ec21cfb9a71f02069d39813e85d99cdebf9e
  
 <​code>​ <​code>​
Line 14: Line 16:
 $ make config $ make config
 $ make $ make
-$ make install ​DEST=/​home/​user/​botnick+$ make install
 $ cd ~ $ cd ~
-$ cd botnick +$ cd eggdrop
-$ ./eggdrop ​-m yourbotnick.conf+
 </​code>​ </​code>​
  
 +Edit eggdrop.conf or Create your own configuration file (.conf) using nano or vi then run it using:
 <​code>​ <​code>​
-Here is a simple ​eggdrop.conf ​too use+$ ./eggdrop ​-m <​configuration filename>​.conf 
-Just make sure too change some setting ,before you start it+</​code>​ 
 + 
 +To verify the signature:​ 
 + 
 + 
 +<​code>​ 
 +$ gpg --keyserver ha.pool.sks-keyservers.net --recv-key E01C240484DE7DBE190FE141E7667DE1D1A39AFF 
 +</​code>​ 
 + 
 + 
 +An Example for below configuration file. 
 + 
 +<​code>​ 
 +Core Setting Example: 
 + 
 +set admin "​ABC"​  
 +set nick "​Shooter"​  
 +set altnick "​Shooter_"​  
 +set realname "​Channel Bot" 
 + 
 +AN example of Set Server:
  
-set admin "​YOURNAME" ​ 
-set nick "​BOTNICK" ​ 
-set altnick "​BOTNICK" ​ 
-set realname "​eggdrop by #​YOURCHANNEL" ​ 
 set network "​ircnow" ​ set network "​ircnow" ​
 +set net-type "​5"​
 +set init-server { putserv "mode Shooter i" }
 +set default-port 6667
 +set servers { irc6.ircnow.org:​6667 irc.ircnow.org:​6667 any1.lecturify.com:​6667 } 
 +</​code>​
 +
 +
 +Here is a simple configuration file to use.
 +Just make sure to change all in CAPITAL LETTERS with your preferred settings. As demonstrated in above example.
 +Strings with # as prefix are comments. Edit & save this config with your botname.conf .
 +
 +
 +<​code>​
 +### Core Settings ### 
 +
 +set admin "​OWNERNICK" ​
 +set nick "​BOTNICK" ​
 +set altnick "​ALTBOTNICK" ​
 +set realname "​CHANNEL BOT"
 +
 +#### SERVER MODULE ####
 +# What is your network?
 +# Type = Network Name
 +#    0 = EFnet
 +#    1 = IRCnet
 +#    2 = Undernet
 +#    3 = DALnet
 +#    4 = +e/​+I/​max-modes 20 Hybrid
 +#    5 = Others
 + 
 +set network "​NETWORK NAME" ​
 set net-type "​5" ​ set net-type "​5" ​
-set init-server { putserv "​mode ​eggdrop ​i" } +set init-server { putserv "​mode ​BOTNICK ​i" } 
 set default-port 6667  set default-port 6667 
-set servers { irc6.ircnow.org:6667 irc.ircnow.org:6667 any1.lecturify.com:6667 +set servers { 
 +  YOU.NEED.TO.CHANGE.THIS:6667 
 +  ANOTHER.EXAMPLE.COM:7000:​PASSWORDifANY 
 +  SSL.EXAMPLE.NET:+6697 
 +}
 set timezone "​GMT" ​ set timezone "​GMT" ​
 set offset "​0" ​ set offset "​0" ​
-set env(TZ) "​$timezone $offset" ​  +set env(TZ) "​$timezone $offset" ​ 
-set my-ip "​PUT ​THE IP HERE" ​+set my-hostname "PUT YOUR SHELL'​S IPV4 VHOST HERE OR LEAVE  IT BLANK" ​ 
 +set my-ip "​PUT ​YOUR SHELL'​S IPV4 HERE OR LEAVE  IT BLANK" ​ 
 + 
 +### Logfile Settings ### 
  
 set max-logs 5  set max-logs 5 
 set max-logsize 0  set max-logsize 0 
 set quick-logs 0  set quick-logs 0 
 +set raw-log 0
 +logfile mcobxs * "​logs/​BOTNICK.log"​
 +logfile jkp #​CHANNELNAME "​logs/#​CHANNELNAME.log"​
 set log-time 1  set log-time 1 
 set keep-all-logs 1  set keep-all-logs 1 
-set logfile-suffix "" ​+set logfile-suffix ".%d%b%Y"
 set switch-logfiles-at 300  set switch-logfiles-at 300 
 set quiet-save 0  set quiet-save 0 
 +
 +### Console Settings ### 
  
 set console "​mkcobxs" ​ set console "​mkcobxs" ​
-set userfile "eggdrop.user"  + 
-set pidfile "pid.eggdrop"  +### File & Directory Settings ###  
-set chanfile "eggdrop.chan" ​+# Replace "​BOTNICK"​ below with your bot nick. 
 + 
 +set userfile "BOTNICK.user"  
 +set pidfile "pid.BOTNICK"  
 +set chanfile "BOTNICK.chan" ​
 set force-expire 0  set force-expire 0 
 set share-greet 0  set share-greet 0 
Line 63: Line 128:
 set mod-path "​modules/" ​ set mod-path "​modules/" ​
  
 +##### BOTNET/​DCC/​TELNET #####
 +# Replace "​BOTNICK"​ below with your bot nick.
  
 +set botnet-nick "​BOTNICK" ​
 +
 +# If you wish to use only one port, use this format:
 +# listen 3333 all
 +# change the port number in order to open
 +# the listen port. You should not keep this set to 3333.
 +# Put your shell/​server listening port below and uncomment it. (remove # )
  
-set botnet-nick "​eggdrop" ​ 
 #listen 1337 all  #listen 1337 all 
 set remote-boots 0  set remote-boots 0 
Line 73: Line 146:
 set ident-timeout 0  set ident-timeout 0 
 set require-p 1  set require-p 1 
-set open-telnets ​+set open-telnets ​
 set stealth-telnets 0  set stealth-telnets 0 
 set use-telnet-banner 0  set use-telnet-banner 0 
Line 81: Line 154:
 set paranoid-telnet-flood 1  set paranoid-telnet-flood 1 
 set resolve-timeout 15  set resolve-timeout 15 
 +
 +### Channel Settings ### 
  
 loadmodule channels ​ loadmodule channels ​
-set global-flood-chan ​4: +set default-flood-chan ​15:60 
-set global-flood-deop ​0: +set default-flood-deop ​3:10 
-set global-flood-kick ​0: +set default-flood-kick ​3:10 
-set global-flood-join ​4:05  +set default-flood-join ​5:60 
-set global-flood-ctcp ​2:02  +set default-flood-ctcp ​3:60 
-set global-flood-nick 5:20  +set default-flood-nick 5:60 
-set global-aop-delay 0:00  +set default-aop-delay 0:00 
-set global-idle-kick 0  +set default-idle-kick 0 
-set global-chanmode "​nt"​  +set default-chanmode "​nt"​ 
-set global-stopnethack-mode 0  +set default-stopnethack-mode 0 
-set global-revenge-mode 0  +set default-revenge-mode 0 
-set global-ban-time ​ +set default-ban-type 3 
-set global-exempt-time 60  +set default-ban-time ​120 
-set global-invite-time 60  +set default-exempt-time 60 
-set global-chanset {  +set default-invite-time 60 
-        -autoop -autovoice  + 
-        -bitch ​-cycle  +set default-chanset { 
-        +dontkickops ​-dynamicbans  +        -autoop ​        ​-autovoice 
-        +dynamicexempts +dynamicinvites  +        -bitch ​         +cycle 
-        -enforcebans ​-greet  +        +dontkickops ​   +dynamicbans 
-        -inactive ​+nodesynch  +        +dynamicexempts +dynamicinvites 
-        -protectfriends ​-protectops  +        -enforcebans ​   +greet 
-        -revenge -revengebot  +        -inactive ​      -nodesynch 
-        -secret ​+seen  +        -protectfriends ​+protectops 
-        +shared -statuslog  +        -revenge ​       -revengebot 
-        +userbans +userexempts  +        -secret ​        -seen 
-        +userinvites -protecthalfops  +        +shared ​        ​-statuslog 
-        -autohalfop  +        +userbans ​      ​+userexempts 
-}  +        +userinvites ​   -protecthalfops 
-channel add #YOURCHANNEL ​+        -autohalfop ​    -static 
 +} 
 + 
 +# Replace your channel name with below-mentioned CHANNELNAME 
 + 
 +channel add #CHANNELNAME ​
 chanmode "​+tn" ​ chanmode "​+tn" ​
 idle-kick 0  idle-kick 0 
Line 120: Line 200:
 flood-deop 0:0  flood-deop 0:0 
 flood-kick 0:0 }  flood-kick 0:0 } 
-channel set #dennis ​-enforcebans -dynamicbans -autoop -autovoice -protectops -protectfriends ​+channel set #CHANNELNAME ​-enforcebans -dynamicbans -autoop -autovoice -protectops -protectfriends 
 + 
 + 
 +### Advanced Settings ### 
  
 set ignore-time 5  set ignore-time 5 
 set hourly-updates 00  set hourly-updates 00 
-set owner "dennis" ​+ 
 +# Replace Your nick name with below mention “OWNERNICK” 
 + 
 +set owner "OWNERNICK" ​ 
 + 
 +# Also replace below mention port no 1337 with your listening port no. 
 set notify-newusers "​1337" ​ set notify-newusers "​1337" ​
 +
 set default-flags "​hp" ​ set default-flags "​hp" ​
 set whois-fields "url birthday" ​ set whois-fields "url birthday" ​
 set die-on-sighup 0  set die-on-sighup 0 
 +set die-on-sigterm 1
 +
 +
 +# if you wish to disable the .tcl and .set commands.
 +# Uncomment (Remove # ) from below these two lines. If you select your owners wisely, you should be okay enabling these
 +
 +#unbind dcc n tcl *dcc:​tcl ​
 +#unbind dcc n set *dcc:​set ​
 +set muste-owner 1
 +unbind dcc n simul *dcc:​simul ​
 set max-dcc 50  set max-dcc 50 
 set enable-simul 1  set enable-simul 1 
Line 135: Line 235:
  
 ### Module Settings ###  ### Module Settings ### 
-loadmodule dns +loadmodule dns
 loadmodule transfer ​ loadmodule transfer ​
 loadmodule share  loadmodule share 
Line 146: Line 246:
 checkmodule blowfish ​ checkmodule blowfish ​
 loadmodule uptime ​ loadmodule uptime ​
 +loadmodule channels
 set keep-nick 1  set keep-nick 1 
 set strict-host 0  set strict-host 0 
Line 202: Line 303:
 set info-party 0  set info-party 0 
  
-  +### Script Settings ###  
-source scripts/alltools.tcl+# For additional TCL scripts, addition can be made under Script Settings . 
 +# You can add any desire tcl script example.tcl file in scripits folder: ​ /​user/​eggdrop/​scripts ​ 
 +# and then can add below line as source scripts/example.tcl 
 +# Resash the eggdrop after adding the scripts to work.
  
-</code> ​ +source scripts/alltools.tcl ​ 
- +source scripts/​action.fix.tcl  
- +source scripts/​cmd_resolve.tcl  
-To verify the signature:​ +source scripts/​compat.tcl
- +
-<​code>​ +
-$ gpg --keyserver ha.pool.sks-keyservers.net --recv-key E01C240484DE7DBE190FE141E7667DE1D1A39AFF+
 </​code>​ </​code>​