Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Add new events  (Read 9951 times)

0 Members and 1 Guest are viewing this topic.

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
Add new events
« on: February 04, 2006, 02:57:53 PM »

EVENT_NICK_LOGOUT  on /ns logout
EVENT_CHAN_KICK       on user being kicked out of channel
Logged
my God my tourniquet, return to me salvation

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #1 on: February 04, 2006, 07:40:06 PM »

yer that would be cool

SkaterStuff

  • Guest
(No subject)
« Reply #2 on: February 04, 2006, 08:08:46 PM »

that sounds kool but EVENT_CHAN_KICK sounds like it would be the same as you see it on the channel
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #3 on: February 04, 2006, 08:13:29 PM »

In a module kick messages have to be parsed to find the user and channel, with an event in the core it could pass the kick to the modules without having to hack down to find the user and channel.

I ran into this while coding channel limit module, cause if you kick a user there is no part sent so the module author has to hack down and find the user and channel.

Events system was added to make life easier on the coder
Logged
my God my tourniquet, return to me salvation

Pieter Bootsma

  • Team
  • *
  • Offline Offline
  • Posts: 189
    • http://geniusdex.net/
(No subject)
« Reply #4 on: February 04, 2006, 08:56:45 PM »

Added in r962 :)
Logged

SkaterStuff

  • Guest
(No subject)
« Reply #5 on: February 05, 2006, 12:57:42 AM »

kool
Logged

steven_elvisda

  • Guest
(No subject)
« Reply #6 on: March 22, 2006, 03:14:39 PM »

what is r962?
Logged

Pieter Bootsma

  • Team
  • *
  • Offline Offline
  • Posts: 189
    • http://geniusdex.net/
(No subject)
« Reply #7 on: March 22, 2006, 03:45:42 PM »

SVN revision 962

Or the simple way: if we say "fixed in r<something>" it means it will be included in the next release.
Logged
Pages: [1]   Go Up