Debian Codegraph @

help/on/notice

raw
1 ! $eterna: notice,v 1.9 2021/03/21 04:29:45 mrg Exp $
2 !
3 ! Copyright (c) 1990-2021 Michael Sandrof, Troy Rollo, Matthew Green,
4 ! and other ircII contributors.
5 !
6 ! All rights reserved. See the HELP IRCII COPYRIGHT file for more
7 ! information.
8 !
9 Usage: ON [#|+|-|^|&|@]NOTICE [-|^]<parameters> [action]
10 This is activated whenever you receive a NOTICE from someone.
11 The parameters for the action are as follows:
12 $0 nickname of person who sent the NOTICE
13 $1 target of the NOTICE
14 $2- The message
15
16 Warning: If you attempt to send a MSG from within a MSG
17 action, it will be automatically converted to a NOTICE, as
18 this will prevent MSG loops from being sent between two or
19 more users. Also, you will not be permitted to send either
20 MSGs or NOTICEs from within a NOTICE action. The irc
21 protocol states that NOTICEs may not generate automatic
22 replies so this will prevent loops of automatic messages from
23 flooding the net.
24
25 Note that in ircII 20020902 and earlier, $1 is not the target of
26 the NOTICE, instead $1- is the message. For example:
27
28 IF (V > 20020902) {
29 ON NOTICE "% % % *" ECHO notice from $0 to $1: $2-
30 } {
31 ON NOTICE "% % *" ECHO notice from $0: $1-
32 }