bind pub - - @test proc:test
proc proc:test { nick host hand chan text } {
if {$chan != #chan} {
putquick "PRIVMSG $chan :Hi"
}
}
However, when I use this, it creates an error, rather then executing it. If you could please give me the proper way to do a command like this, I would most appreciate it.
for a right elegant solution. You'd just need to put a ! in front of the if expression, changing the logic to "if this flag doesn't exist, do..." All that's left then is to .chanset #chan +flag on the chans you want to exclude.