mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2008
Posts: 1
A
Awoo Offline OP
Mostly harmless
OP Offline
Mostly harmless
A
Joined: Nov 2008
Posts: 1
I've been trying to find a way to detect notices that are only sent to channel ops (ie. /notice @#channel ...) but none of them have really worked.

I've tried
Code:
on *:NOTICE:*:@#channel: {}
on *:NOTICE:*:#@channel: {}

just to name a few, but none of them gets called. Is there a easy way (or a way at all) to detect these notices with mIRC events? I would be very pleased if there was a way.

Thanks in advance.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I just tested
Code:
ON *:NOTICE:*:@#channel:{ echo -t $chan Ops Notice }
and it worked fine on two networks that both use UnrealIRCd.

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Also make sure you have no on NOTICE scripts above it that get called first.


Link Copied to Clipboard