Id like this to be set to allow [all] users on channel access and not jus bot ops. So, !blah can be used public by people not added to bot as well as ones in.
This is current:
set chanrules {
"1blah"
"2blah"
"3blah"
"4blah"
"5bleh"
}
bind pub o !rulez pub:t
proc pub:t {nick uhost hand chan text} {
global chanrules
set rulenick [lindex [split $text " "] 0]
if {$text != "" && [onchan $rulenick $chan]} {
puthelp "NOTICE $rulenick :Help:-"
foreach line $chanrules { puthelp "NOTICE $rulenick :$line" }
return 0
}
foreach line $chanrules {puthelp "PRIVMSG $chan :$line" }
}
I did try removin the "o" from "bind pub" but did not work?
Thankies