On unotify

From Scriptwiki
Revision as of 09:19, 2 July 2007 by Cail (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The on UNOTIFY event triggers when a user in your notify list leaves IRC.

on <level>:UNOTIFY:<commands>

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

Example

on *:UNOTIFY: {
 echo -a $nick has just left IRC.
}

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


on *:UNOTIFY: {
 if ($nick == Dana) {
  msg #mychannel Dana has just left IRC!
 }
}

This example would trigger when someone with the nick Dana leaves IRC (if the nick is in your notify list only ofcourse) and sends this information to your channel.

See Also

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