On log directed

From Botnix

on_log_directed

Called for directed log messages to lprint_directed(). If no loaded modules have an on_log_directed handler, these messages will go to STDOUT instead.

Parameters:

  • $self - Module name
  • $command - Command to cause the event (e.g. PRIVMSG, JOIN, PART)
  • $nick - User's nickname
  • $net - Network context
  • $channel - Channel context
  • @text - Text to be output