mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2006
Posts: 3
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Mar 2006
Posts: 3
Is there a way to send a message (via /notice or otherwise) to voiced nicks only? Similar to the /onotice for OPS only.

Joined: Mar 2005
Posts: 212
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
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,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
/notice +#channel <message> or /wallvoices #channel <message>

Joined: Mar 2006
Posts: 3
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Mar 2006
Posts: 3
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?

Joined: Mar 2006
Posts: 3
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Mar 2006
Posts: 3
I like that little script. Thanks

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