IRC bot + emulator Lua script