instance method IRC#once
IRC#once( event, listener ) → null
-
event(String) – Event to listen for -
listener(Function) – Event listener, called when event is emitted.
Listen only once for an incoming IRC message.
Examples
irc_instance.once( 'ping', pingListener ) // Listens for the *next* PING message from server, then unregisters itself
Aliased as: IRC#listenOnce