ircII help - on/notice

Usage: ON [#|+|-|^|&|@]NOTICE [-|^]<parameters> [action]

This is activated whenever you receive a notice from someone. The parameters for the action are as follows:

    $0    nickname of person who sent the NOTICE
    $1    target of the NOTICE
    $2-   The message

Warning: If you attempt to send a msg from within a msg action, it will be automatically converted to a NOTICE, as this will prevent msg loops from being sent between two or more users. Also, you will not be permitted to send either msgs or notices from within a notice action. The irc protocol states that notices may not generate automatic replies so this will prevent loops of automatic messages from flooding the net.

Note that in ircII 20020902 and earlier, $1 is not the target of the NOTICE, instead $1- is the message. For example:

    IF (V > 20020902) {
      ON NOTICE "% % % *" ECHO notice from $0 to $1: $2-
    } {
      ON NOTICE "% % *" ECHO notice from $0: $1-
    }

Up index Top level index