Does that file even exist in the main eggdrop folder?source logon
Code: Select all
# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
}
Code: Select all
set init-server { source logon }
Code: Select all
# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
putquick "PRIVMSG NickServ :IDENTIFY <nickpass>"
}
Code: Select all
#I think you should change this bind to the new notc bind.
bind raw "*" NOTICE raw:cserv
#The bind which will trigger on a notice
bind notc - "*" raw:cserv
also use string matching:
#To check if the notice is sent to the bot and not to a channel as bind
#notice can trigger on channel notices as well as private notices.
if {([string equal -nocase $botnick $dest])} {
or
if {([isbotnick $dest])} {
Be sure to use the correct number of parameters for the bind notc procedure as they will be different from bind raw procedure.
Code: Select all
channel add #blabla { #settings here }