Is there a way to send a message (via /notice or otherwise) to voiced nicks only? Similar to the /onotice for OPS only.
as far as i know there isnt
but you could certainly make one
im assuming this is for people in the same channel as you
alias vnotice {
var %tnum = $nick($chan,0)
var %op = 0
while (%op <= %tnum) {
inc %op
if ($nick($chan,%op) isvoice $chan) {
notice $nick($chan,%op) $$1-
}
}
}
/notice +#channel <message> or /wallvoices #channel <message>
Thanks hixxy - the first one works although it does send to OPs as well. The /wallvoices gives an "unknown command". Is it only available in new versions?
I like that little script. Thanks
On most networks you can specify a target prefix before the channel name; /notice @#channel (send to ops), /notice +#channel (send to voices), /notice @+#channel (send to ops and voices), but some don't have such a feature and have a different command instead.
/wallvoices is an Undernet command. I'm not sure if (m)any other networks have it.