2014-05-26 06:17:51 -06:00
|
|
|
--[[
|
|
|
|
Copyright (C) 2014 HarpyWar (harpywar@gmail.com)
|
|
|
|
|
|
|
|
This file is a part of the PvPGN Project http://pvpgn.pro
|
|
|
|
Licensed under the same terms as Lua itself.
|
|
|
|
]]--
|
|
|
|
|
|
|
|
|
|
|
|
function handle_channel_message(channel, account, text, message_type)
|
|
|
|
if config.quiz and channel.name == config.quiz_channel then
|
|
|
|
quiz_handle_message(account.name, text)
|
|
|
|
end
|
|
|
|
|
2014-06-17 02:53:49 -06:00
|
|
|
--DEBUG(text)
|
2014-05-26 06:17:51 -06:00
|
|
|
--return 1
|
|
|
|
end
|
|
|
|
function handle_channel_userjoin(channel, account)
|
2014-06-17 02:53:49 -06:00
|
|
|
--DEBUG(account.name.." joined "..channel.name)
|
2014-05-26 06:17:51 -06:00
|
|
|
end
|
|
|
|
function handle_channel_userleft(channel, account)
|
2014-06-17 02:53:49 -06:00
|
|
|
--DEBUG(account.name.." left "..channel.name)
|
2014-05-26 06:17:51 -06:00
|
|
|
end
|