| 1 | --[[ |
| 2 | Copyright (C) 2014 HarpyWar ([email protected]) |
| 3 | |
| 4 | This file is a part of the PvPGN Project http://pvpgn.pro |
| 5 | Licensed under the same terms as Lua itself. |
| 6 | ]]-- |
| 7 | |
| 8 | |
| 9 | function handle_channel_message(channel, account, text, message_type) |
| 10 | if config.quiz and channel.name == config.quiz_channel then |
| 11 | quiz_handle_message(account.name, text) |
| 12 | end |
| 13 | |
| 14 | --DEBUG(text) |
| 15 | --return 1 |
| 16 | end |
| 17 | function handle_channel_userjoin(channel, account) |
| 18 | --DEBUG(account.name.." joined "..channel.name) |
| 19 | end |
| 20 | function handle_channel_userleft(channel, account) |
| 21 | --DEBUG(account.name.." left "..channel.name) |
| 22 | end |