Advertisement
Seb

simple.conf

Seb
Sep 11th, 2012
611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 5.52 KB | None | 0 0
  1. #simple.conf eggdrop configuration file by Seb @ undernet
  2. #Start editing
  3.  
  4. set admin "You <email: your@email.com>"
  5. #use , to separate bot owners. You don't HAVE to have other nicks then yours.
  6. set owner "yournick, yourfriend"
  7.  
  8. #bot info
  9. set username "mainbot"
  10. set nick "MainNick"
  11. set altnick "OtherNick"
  12. set realname "My real name is anna"
  13. proc evnt:init_server {type} {
  14.     global botnick
  15.     putquick "PRIVMSG x@channels.undernet.org :login user password"
  16.     putquick "MODE $botnick +ix-ws"
  17. }
  18.  
  19. set servers {
  20.   irc.server.net
  21. }
  22. #edit this port (5 digits and make sure its opened)
  23. listen 67845 all
  24. set network "freenode"
  25. set my-ip "1.2.3.4"
  26.  
  27. #remove the next line, or your bot will not start.
  28. die "I'm a noob, and i didn't read the whole file"
  29.  
  30. #end of required edits, but you should still read the whole file
  31. set userfile "bot.user"
  32. set pidfile "pid.bot"
  33. set botnet-nick "netbot"
  34. set notefile "bot.notes"
  35. set chanfile "bot.chan"
  36. set default-port "6667"
  37.  
  38. set timezone "EST"
  39. set offset "-5"
  40. set max-logs 800
  41. set max-logsize 0
  42. set quick-logs 1
  43. set log-time 0
  44. set keep-all-logs 2
  45. set logfile-suffix ".log"
  46. set timestamp-format {[%H:%M]}
  47. set switch-logfiles-at 300
  48. logfile mco * "logs/eggdrop"
  49. set quiet-save 0
  50. set console "mkcobxs"
  51. set sort-users 0
  52. set help-path "help/"
  53. set text-path "text/"
  54. set temp-path "/tmp"
  55. set motd "text/motd"
  56. set telnet-banner "text/banner"
  57. set userfile-perm 0600
  58. set remote-boots 2
  59. set share-unlinks 1
  60. set protect-telnet 0
  61. set dcc-sanitycheck 0
  62. set ident-timeout 5
  63. set require-p 1
  64. set open-telnets 0
  65. set stealth-telnets 0
  66. set use-telnet-banner 0
  67. set connect-timeout 3600
  68. set dcc-flood-thr 300
  69. set telnet-flood 5:60
  70. set paranoid-telnet-flood 1
  71. set resolve-timeout 7
  72. set ignore-time 3
  73. set hourly-updates 00
  74. set notify-newusers "$owner"
  75. set default-flags "hp"
  76. set whois-fields "url birthday"
  77. set die-on-sighup 0
  78. set die-on-sigterm 1
  79. #unbind dcc n tcl *dcc:tcl
  80. #unbind dcc n set *dcc:set
  81. set must-be-owner 1
  82. unbind dcc n simul *dcc:simul
  83. set max-socks 100
  84. set allow-dk-cmds 1
  85. set dupwait-timeout 5
  86. set strict-host 1
  87. set cidr-support 0
  88. set mod-path "modules/"
  89. loadmodule blowfish
  90. loadmodule dns
  91. loadmodule channels
  92. set force-expire 0
  93. set share-greet 0
  94. set use-info 1
  95. set allow-ps 0
  96.  
  97. #Those are flood protections, on most utilisy bots, they are not needed.
  98. #But if your bot is a moderator bot, you should tweak those.
  99. set global-flood-chan 0:0
  100. set global-flood-deop 0:0
  101. set global-flood-kick 0:0
  102. set global-flood-join 0:0
  103. set global-flood-ctcp 0:0
  104. set global-flood-nick 0:0
  105. set global-aop-delay 0:0
  106. set global-idle-kick 0
  107. set global-chanmode "nt"
  108. set global-stopnethack-mode 0
  109. set global-revenge-mode 0
  110. set global-ban-type 2
  111. set global-ban-time 120
  112. set global-exempt-time 60
  113. set global-invite-time 60
  114.  
  115. set global-chanset {
  116.         +autoop         +autovoice
  117.         -bitch          +cycle
  118.         +dontkickops    -dynamicbans
  119.         -dynamicexempts -dynamicinvites
  120.         -enforcebans    -greet
  121.         -inactive       -nodesynch
  122.         -protectfriends -protectops
  123.         -revenge        -revengebot
  124.         -secret         -seen
  125.         -shared         -statuslog
  126.         -userbans       -userexempts
  127.         -userinvites    -protecthalfops
  128.         -autohalfop     -static
  129. }
  130.  
  131. loadmodule server
  132. set net-type 2
  133. bind evnt - init-server evnt:init_server
  134. set msg-rate 2
  135. set keep-nick 1
  136. set quiet-reject 1
  137. set lowercase-ctcp 0
  138. set answer-ctcp 3
  139. set flood-msg 0:0
  140. set flood-ctcp 3:60
  141. set never-give-up 1
  142. set server-cycle-wait 20
  143. set server-timeout 60
  144. set servlimit 0
  145. set check-stoned 1
  146. set serverror-quit 1
  147. set max-queue-msg 300
  148. set trigger-on-ignore 0
  149. set exclusive-binds 0
  150. set double-mode 1
  151. set double-server 1
  152. set double-help 1
  153. set optimize-kicks 1
  154. set stack-limit 4
  155. loadmodule ctcp
  156. set ctcp-mode 0
  157. loadmodule irc
  158. set bounce-bans 0
  159. set bounce-exempts 0
  160. set bounce-invites 0
  161. set bounce-modes 0
  162. set max-bans 30
  163. set max-exempts 20
  164. set max-invites 20
  165. set max-modes 30
  166. set kick-fun 0
  167. set ban-fun 0
  168. set learn-users 0
  169. set wait-split 600
  170. set wait-info 180
  171. set mode-buf-length 200
  172. unbind msg - ident *msg:ident
  173. unbind msg - addhost *msg:addhost
  174. set opchars "@"
  175. set no-chanrec-info 0
  176. set prevent-mixing 1
  177. loadmodule transfer
  178. set max-dloads 3
  179. set dcc-block 0
  180. set copy-to-tmp 1
  181. set xfer-timeout 30
  182. loadmodule share
  183. set share-compressed 1
  184.  
  185. #If you use the file system, set those. if not, ignore them.
  186. loadmodule filesys
  187. set files-path "/home/mydir/filesys"
  188. set incoming-path "/home/mydir/filesys/incoming"
  189. #keep the next line pls. (Spread the word yo)
  190. set ctcp-version "eggdrop running simple.conf from http://pastebin.com/8E1iy7Gk"
  191. set upload-to-pwd 0
  192. set filedb-path ""
  193. set max-file-users 20
  194. set max-filesize 1024
  195. loadmodule notes
  196. set max-notes 50
  197. set note-life 60
  198. set allow-fwd 0
  199. set notify-users 0
  200. set notify-onjoin 1
  201. loadmodule console
  202. set console-autosave 1
  203. set force-channel 0
  204. set info-party 0
  205. loadmodule uptime
  206. loadhelp userinfo.help
  207. # loadmodule megahal
  208. #loadmodule chanlimit
  209. #loadmodule log2html
  210. #loadmodule chanlimit
  211. #loadmodule lastlog
  212. #loadmodule noclones
  213.  
  214. if {[info exists net-type]} {
  215.   switch -- ${net-type} {
  216.     "0" {
  217.       # EFnet
  218.       source scripts/quotepong.tcl
  219.     }
  220.     "2" {
  221.       # Undernet
  222.       source scripts/quotepass.tcl
  223.     }
  224.   }
  225. }
  226.  
  227. #This is where you load your scripts, those 4 should stay there.
  228. source scripts/alltools.tcl
  229. source scripts/action.fix.tcl
  230. source scripts/dccwhois.tcl
  231. source scripts/userinfo.tcl
  232. #add more after this line. (Keep an empty line at the bottom of the file)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement