September 01, 2024, 04:11:38 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Anope IRC Services
>
Anope Development
>
Modules
>
Hooks
« previous
next »
Pages: [
1
]
Go Down
Print
Author
Topic: Hooks (Read 4453 times)
0 Members and 1 Guest are viewing this topic.
Gwainir
Guest
Hooks
«
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
Logged
Trystan Scott Lee
Contributor
Offline
Gender:
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
Logged
my God my tourniquet, return to me salvation
Pieter Bootsma
Team
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »