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/07/20 03:26]
baby
openbsd:irc:eggdrop [2020/07/26 19:20] (current)
fizi
Line 27: Line 27:
  
 To verify the signature: To verify the signature:
 +
  
 <​code>​ <​code>​
Line 32: Line 33:
 </​code>​ </​code>​
  
-Here is a simple ​configuration file to use. + 
-Just make sure to change all in CAPITAL LETTERS with your preferred settings.+An Example for below configuration file.
  
 <​code>​ <​code>​
-set admin "REPLACE WITH YOURNAME"  +Core Setting Example: 
-set nick "REPLACE WITH YOUR BOT'S NICKNAME"  + 
-set altnick "REPLACE WITH AN ALTERNATIVE BOT NICKNAME"  +set admin "ABC"  
-set realname "REPLACE WITH ANY DESCRIPTION YOU LIKE FOR YOUR BOT" ​+set nick "Shooter"  
 +set altnick "Shooter_"  
 +set realname "Channel Bot" 
 + 
 +AN example of Set Server: 
 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 YOUR SHELL'​S IPV4 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 75: 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 "​REPLACE WITH YOUR BOT'S NICKNAME" ​ 
 #listen 1337 all  #listen 1337 all 
 set remote-boots 0  set remote-boots 0 
Line 85: 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 93: 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 #REPLACE WITH YOUR CHANNEL'​S NAME +        -autohalfop ​    -static 
 +} 
 + 
 +# Replace your channel name with below-mentioned CHANNELNAME 
 + 
 +channel add #CHANNELNAME ​
 chanmode "​+tn" ​ chanmode "​+tn" ​
 idle-kick 0  idle-kick 0 
Line 132: 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 147: Line 235:
  
 ### Module Settings ###  ### Module Settings ### 
-loadmodule dns +loadmodule dns
 loadmodule transfer ​ loadmodule transfer ​
 loadmodule share  loadmodule share 
Line 158: 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 214: 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 ​ 
-</​code>​  +# and then can add below line as source scripts/example.tcl 
 +# Resash the eggdrop after adding the scripts to work.
  
 +source scripts/​alltools.tcl ​
 +source scripts/​action.fix.tcl ​
 +source scripts/​cmd_resolve.tcl ​
 +source scripts/​compat.tcl
 +</​code>​