-Adam
Code: Select all
putlog "Op loaded"
bind join o adamSs@hellagood.org join:me
proc join:me { chan nick } {
if { [isop $chan $botnick] == 1 } { pushmode $chan +o $nick }
}
Code: Select all
putlog "Op loaded"
bind join o adamSs@hellagood.org join:me
proc join:me { chan nick } {
if { [isop $chan $botnick] == 1 } { pushmode $chan +o $nick }
}
Code: Select all
putlog "Op loaded"
bind join o "*!adamSs@hellagood.org" join:me
proc join:me {nick uh hand chan} {
if {[botisop $chan]} { pushmode $chan +o $nick }
}
so..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.
Module: irc
Code: Select all
bind join o "% *!adamSs@hellagood.org" join:me
proc join:me {nick uhost hand chan} {
if {[botisop $chan]} {
pushmode $chan +o $nick
}
}
Some very useful and helpful reference material for you to read and bookmark:adamSs wrote: ...
I'm just getting my feet wet with bot scripting.
...