This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Bot won't talk to channel. Period. (Updated with .conf file)

Old posts that have not been replied to for several years.
Locked
P
Pikachu

Bot won't talk to channel. Period. (Updated with .conf file)

Post by Pikachu »

I'm probably overlooking something simple, but no matter what I do, the bot won't talk to the channel is sits in. the .say command won't do it a !help in the channel won't, nothing seems to work. Any ideas?
Last edited by Pikachu on Thu Nov 20, 2003 7:52 pm, edited 1 time in total.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Make sure that the console module is loaded (just type .modules), then set your console to the channel.
.help console
.console #channelname +mobcxs
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

try

.msg #chan text
P
Pikachu

Post by Pikachu »

Tried the above with no success.

The console settings are mckobsx, and the modules loaded are:
uptime
wire
assoc
encryption
seen
console
notes
irc
ctcp
server
channels
dns
eggdrop

And the silly thing still won't put any text to the channel.

It only sits on one channel, and it does echo channel text in the telnet and dcc chat windows. I've pulled my hair out with this one, and can't find anything in the .conf file or elsewhere to explain it. No errors on startup, or in the logs. The channel mode +stn is applied. It is Eggdrop v1.6.15. This is driving me nucking futs.
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Try this:

Code: Select all

bind pub -|- "!msg" pub:msg

proc pub:msg {nick uhost hand chan args} {
	set chan [lindex $args 0]
	set text [lindex $args 1]
putquick "PRIVMSG $chan $text"

} 
save like script, load it, and on chan type !msg #chan textm and you will see if it will work..
P
Pikachu

Post by Pikachu »

]Kami[ wrote:Try this:

Code: Select all

bind pub -|- "!msg" pub:msg

proc pub:msg {nick uhost hand chan args} {
	set chan [lindex $args 0]
	set text [lindex $args 1]
putquick "PRIVMSG $chan $text"

} 
save like script, load it, and on chan type !msg #chan textm and you will see if it will work..
I tried that just now, saving it as testscript.tcl, and adding the line
source scripts/testscript.tcl
to the .conf file, did a .die and ./eggdrop <file>.conf, then !msg #<mychannel> <text>, but it still doesn't do a thing. It didn't echo the command in the telnet window either. Any other thoughts?
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

If you dont know what to do, reinstall eggdrop :)
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

does it give you an error or anything when you .say ?
does you bot realize he is in fact in that channel? try .status what does the bot say for that channel?
a.k.a. hellios
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Please add to your console +d, the use .say blahblahblah, copy all that and paste. :wink:
P
Pikachu

Post by Pikachu »

Ok, added debugging. Stil the same result. No errors, the bot responds in the telnet session that it "DCC said" to the channel, but no text shows up. If it will help, I can copy/paste the non-commented lines from the .conf file..... This is the second install of eggdrop, and it is in a fresh directory with a newly edited .conf file.
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Hm...Copy your conf
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

.status... and paste everything to do with that channel
a.k.a. hellios
P
Pikachu

Post by Pikachu »

This is the result of the .status.... The bot is on a local machine, if that helps.

The .conf file (commented lines edited out) is pasted below it.

Code: Select all

I am <name deleted>, running Eggdrop v 1.6.15: 2 users (mem 98k)
Online for 02:57 (background)  CPU 00:00 Cache hit 42.9%
Admin: <deleted>
Config file: config.conf
os: Linux 2.4.8-26mdk
Tcl library: /usr/lib/tcl8.3
Tcl version: 8.3.3 (header version 8.3.3)
     Channels: #blahblah
     Online as: blah!~blah@<SNIP>.rr.com
     Server: [correct server is in here....]:6667 (connected for 04:01)
     #blahblah :  2 members, enforcing "+stn" (autoop, bitch)

.conf file

Code: Select all

##### BASIC SETTINGS #####
set username "*******" # I edited this out before cut/paste...

set admin "Testy <email: dontspam-me.com>"

set network "coolchat.net"

set timezone "EST"

set offset "5"

##### LOG FILES #####
set max-logs 5

set max-logsize 1024

set quick-logs 0

set raw-log 0

logfile mco * "logs/eggdrop.log"

logfile jpk #captain "logs/captain.log"

# Use this feature to timestamp entries in the log file.
set log-time 1

set keep-all-logs 0

set logfile-suffix ".%d%b%Y"

set switch-logfiles-at 300

set quiet-save 0


##### CONSOLE #####

set console "mkcobxs"


##### FILES AND DIRECTORIES #####

set userfile "captain.user"

set sort-users 1

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


##### BOTNET/DCC/TELNET #####

listen [edited out] all

set remote-boots 2

set share-unlinks 1

set protect-telnet 0

set dcc-sanitycheck 1

set ident-timeout 5

set require-p 1

set open-telnets 1

set stealth-telnets 1

set use-telnet-banner 0

set connect-timeout 15

set dcc-flood-thr 3

set telnet-flood 5:60

set paranoid-telnet-flood 1

set resolve-timeout 15


##### MORE ADVANCED SETTINGS #####

set ignore-time 15

set hourly-updates 00

set owner "[edited out]"

set notify-newusers "$owner"

set default-flags "hp"

set whois-fields "url birthday"

set die-on-sighup 0

set die-on-sigterm 1

set must-be-owner 2

set max-dcc 50

set allow-dk-cmds 1

set dupwait-timeout 5

##### MODULES #####

set mod-path "modules/"


#### DNS MODULE ####

loadmodule dns


#### CHANNELS MODULE ####

loadmodule channels

set chanfile "captain.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 "nt"
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 #[edited out] {
     chanmode "+nts"
     idle-kick 1
   }
   channel set #captain +bitch +enforcebans +greet +revenge +autoop


#### SERVER MODULE ####

loadmodule server

set net-type 5

set nick "[edited out]"

set realname "Testy"

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
}

set default-port 6667

set servers {
[edited out]
}

set keep-nick 1

set strict-host 1

set quiet-reject 0

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 120

set server-timeout 60

set servlimit 0

set check-stoned 1

set serverror-quit 1

set max-queue-msg 300

set trigger-on-ignore 0

set double-mode 0

set double-server 0

set double-help 0

set optimize-kicks 1

set stack-limit 4

### SERVER MODULE - OTHER NETWORKS (net-type 5) ###

set nick-len 32

#### CTCP MODULE ####

loadmodule ctcp

set ctcp-mode 2

#### IRC MODULE ####

loadmodule irc

set bounce-bans 1

set bounce-modes 0

set max-bans 20

set max-modes 30

set kick-fun 1

set ban-fun 0

set learn-users 1

set wait-split 600

set wait-info 180

set mode-buf-length 200

set no-chanrec-info 0

### IRC MODULE - IRCnet SPECIFIC FEATURES (net-type 1) ###

# Attention: Use these settings *only* if you set 'net-type' to 1!

set bounce-exempts 0

set bounce-invites 0

set max-exempts 20

set max-invites 20

set prevent-mixing 1

### IRC MODULE - OTHER NETWORKS (net-type 5) ###

set kick-method 1

set modes-per-line 3

set include-lk 1

set use-354 0

set rfc-compliant 1


#### TRANSFER MODULE ####

loadmodule transfer

set max-dloads 3

set dcc-block 0

set copy-to-tmp 1

set xfer-timeout 30


#### SHARE MODULE ####

loadmodule share

set allow-resync 0

set private-global 0

set private-globals "mnot"

set private-user 0

set override-bots 0


#### COMPRESS MODULE ####

loadmodule compress

set share-compressed 1

set compress-level 9


#### FILESYSTEM MODULE ####

loadmodule filesys

set files-path "/filesys"

set incoming-path "[edited out]"

set upload-to-pwd 0

set filedb-path ""

set max-file-users 20

set max-filesize 1024


#### NOTES MODULE ####

loadmodule notes

set notefile "channel.notes"

set max-notes 20

set note-life 60

set allow-fwd 0

set notify-users 0

set notify-onjoin 1

#### CONSOLE MODULE ####

loadmodule console

set console-autosave 1

set force-channel 0

set info-party 0

#### SEEN MODULE ####

loadmodule seen


#### BLOWFISH MODULE ####

loadmodule blowfish

#### ASSOC MODULE ####

loadmodule assoc

#### WIRE MODULE ####

loadmodule wire

#### UPTIME MODULE ####

loadmodule uptime

##### SCRIPTS #####


source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help
Last edited by Pikachu on Fri Nov 21, 2003 1:32 am, edited 1 time in total.
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

what network is this bot on? like as in what type of ircd..
a.k.a. hellios
P
Pikachu

Post by Pikachu »

The net uses bahamut ircd
Locked