On notify

From Scriptwiki
Jump to: navigation, search

The on NOTIFY event triggers when a user in your notify list joins IRC.

on <level>:NOTIFY:<commands>

Read access levels to get more info about the <level> field.

Example

on *:NOTIFY: {
 echo -a $nick has just joined IRC.
}

This event would trigger when someone in your notify list joins IRC and echo it to your acive window.


on *:NOTIFY: {
 if ($nick == Dana) {
  msg $nick Hey, I'm online too!
 }
}

This example would trigger when someone with the nick Dana joins IRC (if the nick is in your notify list only ofcourse) and write him a message.

See Also

  • On unotify event to react when people in your notify list leave IRC.
  • $notify to get information about your notify list.