Code: Select all
bind join - * your_procedure_name
JOIN (stackable)
bind join <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel>
Description: triggered by someone joining the channel. The mask in the bind is matched against "#channel nick!user@host" and can contain wildcards.
Code: Select all
bind evnt - init-server your_procedure_name
There are many binds availiable for eggdrops, as mIRC has.EVNT (stackable)
bind evnt <flags> <type> <proc>
proc-name <type>
Description: Description: triggered whenever one of these events happen; flags are ignored; valid events are:
sighup called on a kill -HUP <pid>
sigterm called on a kill -TERM <pid>
sigill called on a kill -ILL <pid>
sigquit called on a kill -QUIT <pid>
save called when the userfile is saved
rehash called just after a rehash
prerehash called just before a rehash
prerestart called just before a restart
logfile called when the logs are switched daily
loaded called when the bot is done loading
* userfile-loaded called after userfile has been loaded
connect-server called just before we connect to an IRC server
init-server called when we actually get on our IRC server
disconnect-server called when we disconnect from our IRC server