Difference between revisions of "On unotify"

From Scriptwiki
Jump to: navigation, search
 
m
 
Line 18: Line 18:
  
 
== See Also ==
 
== See Also ==
To react when people in your notify list join IRC, take a look at the [[On_notify|On notify event]]
+
* [[On_notify|On notify event]] to react when people in your notify list join IRC.
 +
* [[$notify]] to get information about your notify list.
  
 
[[Category:Events]]
 
[[Category:Events]]
 
[[Category:Notify List]]
 
[[Category:Notify List]]

Latest revision as of 10:19, 2 July 2007

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.