Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1]   Go Down

Author Topic: Hooks  (Read 3972 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
« on: March 25, 2007, 08:10:43 PM »

Hi, i have some questions to hooks:
How can I get the old Nick of an user changing his nick in the EVENT_CHANGE_NICK Event?

How can I get the user who did the kick in the EVENT_CHAN_KICK Event?

Thx, gwainir

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #1 on: March 26, 2007, 02:35:03 AM »

With the current event system this is not possible, you will have to look into the actual KICK and NICK commands themselves to find this
my God my tourniquet, return to me salvation

Pieter Bootsma

  • Team
  • *
  • Offline Offline
  • Posts: 189
(No subject)
« Reply #2 on: March 26, 2007, 03:09:56 PM »

A workaround could be to store the user's nick in the module data for each User. You can then read that out after the nickchange to get the old nick.
Pages: [1]   Go Up