def init(): event.listen('Rehash', do_rehash)
def init(): event.listen('Command/QUIT', doQuit)
def init(): event.listen('Command/DICE', rollDice)
def init(): event.listen("Network/Incoming/Message/*", sendNickServ) def cleanup(): event.unlisten(sendNickServ)
def init(): event.listen('Command/DECIDE', decide)
def init(): event.listen('Network/Incoming/Raw', dispatchMessages) event.listen('Server/Connect/Success', sendAuthentication) event.listen('Network/Incoming/Message/PING', respondToPing) event.listen('Network/Incoming/Message/[001-005]', setRegistered) event.listen('Server/Disconnect', handleDisconnect) event.listen('Server/Connect/Failure', handleDisconnect) event.listen('Network/Authenticated', doAutojoin) event.listen('Network/Incoming/Message/JOIN', handleChannelUserChange) event.listen('Network/Incoming/Message/353', handleChannelUserChange) event.listen('Network/Incoming/Message/PART', handleChannelUserChange) event.listen('Network/Incoming/Message/QUIT', handleChannelUserChange) event.listen('Network/Incoming/Message/KICK', handleChannelUserChange) event.listen('Network/Incoming/Message/PRIVMSG', dispatchCommands) event.listen('Command/XYZZY', zork) if core.DEBUG: event.listen('Network/Incoming/Message/*', printmsgs) event.listen('Network/Incoming/Message/366', handleChannelUserChange)