mIRC Home    About    Download    Register    News    Help

Print Thread
Message similar to /onotice #95321 23/08/04 09:24 PM
Joined: Aug 2004
Posts: 1
L
leonessa Offline OP
Mostly harmless
OP Offline
Mostly harmless
L
Joined: Aug 2004
Posts: 1
Fairly new to mIRC so please bear with me. smile

I heard of a command or script similar to the /onotice but instead of sending a notice to the ops in the current channel, it sent a note to everyone who had a + (voiced).

I'm looking for a simple command that would do that.

Thank you in advance!

leonessa

Re: Message similar to /onotice #95322 23/08/04 09:28 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
/notice +#channel messageHERE

Simple aliases can be made for messages like this. As an example, here's a /vn alias (voice notice):

vn notice + $+ $chan [Voices] $1-

If you add this to the Aliases section (ALT+D) on a new line, you can just type /vn messageHERE to send a voice notice. The [Voices] bit is just for decoratio so it sends the text '[Voices] <your message>' to the voices. It can be removed or edited to your liking.

Usually, /onotice can only be done if you are opped. With /notice you do not need to be opped. You can also do /notice @#channel for the channel ops, and /notice @+#channel for the voice AND ops.

Regards,


Mentality/Chris
Re: Message similar to /onotice #95323 23/08/04 09:55 PM
Joined: Aug 2004
Posts: 101
D
dr_Eamer Offline
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
This won't work on some servers!
mIRC's onotice command sends a mass notice and NOT notice @#channel!

Something like this will work everywhere ( I think and I hope... ):
Code:
alias vnotice {
  var %i = 1 , %nicks , %n = $nick($chan,1,v) , %maxtargets = 15
  while ( %n ) { 
    if ( %i % %maxtargets == 0 ) { 
      notice %nicks $1-
      %nicks = %n
    }
    else {
      %nicks = %nicks $+ , $+ %n
    }
    inc %i 
    %n = $nick($chan,%i,v)
  } 
  notice %nicks $1-
}  


Usage: /vnotice <text>

%maxtargets set to 15 is the maximum number of users you can mass notice on a server. The server I usually login (CR) allows 17!
The alias sends one command per %maxtargets voiced users. Too many users may flood you out of the server!

(I don't know if mIRC's onotice checks these things out cause I've never onoticed that many ops with mIRC's command...)


Maybe I wake up one day to notice that all my life was just a dream!
Re: Message similar to /onotice #95324 24/08/04 11:30 PM
Joined: Feb 2004
Posts: 50
D
Ddan Offline
Babel fish
Offline
Babel fish
D
Joined: Feb 2004
Posts: 50
Hmm sorry to disagree with you chap but I had to check up one what you said about mIRC sending a mass notice, not /notice @#channel.

-> efnet.demon.co.uk NOTICE @#channel :testing

type /debug @debug and send an /onotice, you'll see what i mean wink

Last edited by Mentality; 25/08/04 02:51 PM.
Re: Message similar to /onotice #95325 25/08/04 11:50 AM
Joined: Aug 2004
Posts: 101
D
dr_Eamer Offline
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
I've already done that more than once before posting what I said...
-> chat.mad.gr NOTICE nick1,nick2,nick3 :test

chat.mad.gr is a ConferenceRoom server although I don't think the command depends on the server...
Are you sure you don't have an alias that overrides the default action?
Check $isalias(onotice) and also try /!onotice ...
If not then I don't know what is going on...

I'm on the newest mIRC version although I remember trying it in older versions too...


Maybe I wake up one day to notice that all my life was just a dream!
Re: Message similar to /onotice #95326 25/08/04 01:09 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Quote:
although I don't think the command depends on the server...


It is. mIRC has to adjust the command output depending on the server software, because many servers are not smart enough to handle @#channel messages.

Code:
       |           |          |          | undernet  |          
       |           |          |          | quakenet  |          
       |  dalnet   |  efnet   |  ircnet  | gamesurge |          
       | (bahamut) | (hybrid) |          |   (ircu)  | (unreal) 
       |           |          |          |           |          
       |           |          |          |           |          
notice |    @+#    |    @#    |    -     |     @#    |   @+#    
       |           |          |          |           |          
 msg   |    @+#    |    -     |    -     |     -     |   @+#    
       |           |          |          |           |          

Re: Message similar to /onotice #95327 25/08/04 01:18 PM
Joined: Aug 2004
Posts: 101
D
dr_Eamer Offline
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
Cool! I didn't expect that!
CR 1.8.4 handles @# (but ircnet perhaps not?)

Anyway that solves things... Thanx

Last edited by dr_Eamer; 25/08/04 01:19 PM.

Maybe I wake up one day to notice that all my life was just a dream!
Re: Message similar to /onotice #95328 25/08/04 01:36 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
True, for some reason I thought IRCNet runs CR, but apparently they've got their own software.