Code: Select all
bind join - "\[ABC\]*" greet
proc greet { nick chan} {
puthelp "PRIVMSG $chan :Hello $nick. Nice To see you"
return 0
}
Code: Select all
bind join - "\[ABC\]*" greet
proc greet { nick chan} {
puthelp "PRIVMSG $chan :Hello $nick. Nice To see you"
return 0
}
so tryJOIN (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 join - "* \[ABC\]*!*@*" greet
proc greet {nick uhost hand chan} {
puthelp "PRIVMSG $chan :Hello $nick. Nice To see you"
return 0
}