set tr "."
set cc "."
set nopub "#exz"
bind pub m|m ${tr}setwebsite setweb
bind pub -|- ${tr}Website Web
proc setweb {nick host hand chan arg} {
global url pathqstat cc nopub Website
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv "PRIVMSG $chan :Usage: ${cc}setwebsite <^BIP Address^B>"
return 0
}
#set Website "0,1*8eXistenZ0*0,1 $arg 0,1 0,1*8Website0*"
set Website "0,1*8eXistenZ0*0,1 $arg 0,1*8Website0*"
putserv "PRIVMSG $chan :Website set to $Website"
}
proc Website {nick host hand chan arg} {
global url pathqstat cc nopub Website
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv "PRIVMSG $chan :0,1*8eXistenZ0*0,1 $Website 0,1*8Website0*"
return 0
}
}
my problem is when i type .website it notices me the website instead of msging the channel.. i dont see why its still doing it when its set to privmsg the channel: