| View previous topic :: View next topic |
| Author |
Message |
thecircuitbox Voice
Joined: 29 Jun 2007 Posts: 4
|
Posted: Fri Jun 29, 2007 2:18 am Post subject: Connect but with issues |
|
|
Ok, me and my friend decided to put up a torrent site for legal and free stuff. Mostly videos (help, homemade, bloopers, parodies), tutorials I>E> text files and/or html pages, open source programs, homemade games, and pictures. We created a channel on already existing server. I decided to make an eggy or eggdrop to have some moderation. Basiclly op/hop/flood. I need the bot to join set certain modes and do the kick/banning when approriate. I can get the bot to connect but it will not change channel modes (it has ~(highest level)) will not op anyone. I it will not respond to telnet or DCC. I was wondering if i need to forward ports or something.
So its fuction is to connect, op certain people, kick/ban on unwanted text or actions., keep channel modes to +mnrtSCT-i, keep channel alive (means to have the bot in channel @ all times). Here is my conf too if you need it. I also can't seem to save or open a chan file.
| Code: |
set username "fubar"
set admin "fubar <email: thecircuitbox@gmail.com>"
set network "irc.p2p-network.net"
set timezone "MST"
set offset "6"
#set env(TZ) "$timezone $offset"
#set my-hostname "virtual.host.com"
#set my-ip "99.99.0.0"
# Languages included with Eggdrop: Danish, English, French, Finnish, German.
#addlang "english"
set max-logs 5
set max-logsize 0
set quick-logs 0
set raw-log 0
logfile mco * "logs/eggdrop.log"
logfile jpk #thecircuitbox "logs/lamest.log"
set log-time 1
set keep-all-logs 0
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"
set userfile "thecircuitbox.user"
#set pidfile "pid.LamestBot"
set sort-users 0
set help-path "help/"
set text-path "text/"
set temp-path "/tmp"
set motd "text/motd"
set telnet-banner "text/banner"
set userfile-perm 0600
#set botnet-nick "LlamaBot"
listen 63333 all
set remote-boots 0
set share-unlinks 1
set protect-telnet 1
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 1
set open-telnets 0
set stealth-telnets 1
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 10
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15
#set firewall "!sun-barr.ebay:3666"
set nat-ip "192.168.1.101"
#set reserved-portrange 2010:2020
set ignore-time 15
set hourly-updates 56
set owner "Fubar"
set notify-newusers "Fubar"
set default-flags "v"
set whois-fields "url birthday"
set die-on-sighup 0
set die-on-sigterm 1
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 1
unbind dcc n simul *dcc:simul
set max-dcc 50
set allow-dk-cmds 1
set dupwait-timeout 5
#die "Please make sure you edit your config file completely."
set mod-path "modules/"
loadmodule dns
loadmodule channels
set chanfile "thecircuitbox.chan"
set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 10:60
set global-flood-deop 3:10
set global-flood-kick 3:10
set global-flood-join 5:60
set global-flood-ctcp 3:60
set global-flood-nick 5:60
set global-aop-delay 5:30
set global-idle-kick 0
set global-chanmode "mrntSCT"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 120
set global-exempt-time 60
set global-invite-time 60
set global-chanset {
+autoop +autovoice
-bitch +cycle
+dontkickops +dynamicbans
+dynamicexempts +dynamicinvites
+enforcebans +greet
-inactive -nodesynch
+protectfriends +protectops
-revenge -revengebot
-secret -seen
-shared -statuslog
-userbans +userexempts
-userinvites +protecthalfops
+autohalfop
}
channel add #thecircuitbox {
chanmode "+mrntSCT-i"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay 5:30
need-op { putserv "PRIVMSG #lamest :op me cos i'm lame!" }
need-invite { putserv "PRIVMSG #lamest :let me in!" }
need-key { putserv "PRIVMSG #lamest :let me in!" }
need-unban { putserv "PRIVMSG #lamest :let me in!" }
need-limit { putserv "PRIVMSG #lamest :let me in!" }
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}
channel add #thecircuitbox {
chanmode "+mntrSCT -i"
idle-kick 0
}
# channel set #thecircuitbox +bitch +enforcebans -greet +revenge
loadmodule server
set net-type 0
set nick "Spork"
set altnick "TCBot"
set realname "/msg Spork hello"
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
putquick "PRIVMSG nickserv :identify (password)"
}
set default-port 6667
set servers {
citadel.us.p2p-network.net:6667
}
set keep-nick 1
set strict-host 0
set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 5:60
set flood-ctcp 3:60
set never-give-up 1
set server-cycle-wait 60
set servlimit 0
set check-stoned 1
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set exclusive-binds 0
set double-mode 1
set double-server 1
set double-help 1
set optimize-kicks 1
set stack-limit 4
#set check-mode-r 1
#set nick-len 9
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 1
set bounce-exempts 0
set bounce-invites 0
set bounce-modes 0
set max-bans 30
set max-exempts 20
set max-invites 20
set max-modes 30
#set use-exempts 0
#set use-invites 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
#unbind msg - hello *msg:hello
bind msg - test *msg:hello
unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#set opchars "@"
set opchars "@&~"
set no-chanrec-info 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set include-lk 1
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 0
set copy-to-tmp 1
set xfer-timeout 30
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-global 0
#set private-globals "mnot"
#set private-user 0
#set override-bots 0
#loadmodule compress
set share-compressed 1
#set compress-level 9
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 0
loadmodule notes
set notefile "thecircuitbox.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1
#die "You didn't edit your config file completely like you were told, did you?"
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0
#loadmodule woobie
#loadmodule seen
loadmodule blowfish
#loadmodule assoc
#loadmodule wire
loadmodule uptime
# source scripts/script.tcl
source scripts/alltools.tcl
source scripts/action.fix.tcl
#source scripts/compat.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help
|
|
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Jun 29, 2007 7:38 pm Post subject: |
|
|
Are you sure you have the correct net-type set? _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Sat Jun 30, 2007 7:41 pm Post subject: |
|
|
you also have two seperate channel add "thecircuitbox" variables there. I would suggest removing one of them, likely the second one, as this might possibly confuse the bot. _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
thecircuitbox Voice
Joined: 29 Jun 2007 Posts: 4
|
Posted: Sun Jul 01, 2007 5:28 am Post subject: |
|
|
I commented out the second channel add, and change net-set to other. It is a Unreal3.2.6. citadel.us.p2p-network.net FinXeOoZEM3 [*=2309]. I connect, register with nickserv, but it wont change modes or dcc. Also I get an error opening chan file. I am behind a router, also using wireless.
set my-ip "192.168.1.101" (ip from router)
set nat-ip "24.8.172.128"
set net-type 5
This is the current changes I made.
//EDIT:I ran just a few minutes after posting this. I was already in channel so I left. and when I came back the bot oped me.
| Code: |
BEFORE
[07:01:07:03:40:22] >> Spork: Hi, Fubar.
[07:01:07:03:40:28] <Fubar> hey
After
[07:01:07:03:43] * Disconnected
[07:01:07:03:43] * Attempting to rejoin channel #thecircuitbox
[07:01:07:03:43] * Rejoined channel #hecircuitbox
[07:01:07:03:43] * Spork sets mode: +o Fubar |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|