Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: How can i hook on the event "killed" ?  (Read 4096 times)

0 Members and 1 Guest are viewing this topic.

stdin

  • Anope User
  • Offline Offline
  • Posts: 19
How can i hook on the event "killed" ?
« on: April 16, 2008, 06:56:04 AM »

How can i make a hook, to everynick that gets killed?
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #1 on: April 18, 2008, 02:26:12 PM »

Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

katsklaw

  • Guest
(No subject)
« Reply #2 on: April 18, 2008, 02:47:13 PM »

you'll have to hook into EVENT_USER_LOGOFF and parse for key words in the quit message.

A kill sends a quit message so there is no difference between a kill and a quit as far as any server is concerned. IN fact, there is no such thing as a kill to the ircd, it's only a quit.
Logged
Pages: [1]   Go Up