Site Tools


on_kill
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


on_kill [2006/08/29 16:08] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Synopsis:======
 +[[on]] [<modes>]kill [<serial#>] [-|^]<match> { <action> }
 +
 +======Description:======
 +This hook is triggered whenever someone is [[kill]](3)ed by an oper.
 +
 +======Parameters:======
 +|$0    |server who sent the message (your server) |
 +|$1    |the victim being killed |
 +|$2    |the oper who issued the kill |
 +|$3    |server path to the oper |
 +|$4-   |reason for the kill |
 +
 +======Examples:======
 +To display kills in a more sane manner:
 +   on ^kill "*" {
 +      xecho -b $1 was killed by $2: ($4-)
 +   }
 +
  
on_kill.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1