mIRC Home    About    Download    Register    News    Help

Print Thread
S
sparkster
sparkster
S
Is there a way to send a message (via /notice or otherwise) to voiced nicks only? Similar to the /onotice for OPS only.

N
NeUtRoN_StaR
NeUtRoN_StaR
N
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
Code:
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-
    }
  }
}


Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
/notice +#channel <message> or /wallvoices #channel <message>

S
sparkster
sparkster
S
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?

S
sparkster
sparkster
S
I like that little script. Thanks

Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
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.


Link Copied to Clipboard