I saw this on usent and think it might be interesting to dabble around abit with for a while.
Anyway the goal is to have a normal user (not a irc op or channel op) be able to take away their own ability to chat on a channel. So they dont accidently type in the wrong window and send chat to a channel they dont want to send it into.
I have may basic script of:
on 1:input:#channelname:{
echo -a This is a read only channel
halt
}
But I want to add some functionality to it. I want to be able to edit the channel or channels on the fly. Probably with typing something somewhere. Remember this is all being entered by the user running the script not by others so it could be tricky but I think there is a way, just not sure what it is.
Thanks!