The next step in creating an IRC bot is to set up a server the bot can log into.
创建IRC聊天机器人(bot)的下一个步骤是设置聊天机器人(bot)能够登录的服务器。
This article shows you how to create an IRC bot in PHP that can tell you the weather on demand for your ZIP code.
本文向您展示如何在PHP中创建一个IRC聊天机器人(bot),用于以向您告知按邮政编码查询的天气情况。
Now, with the server running locally, the IRC client up and running, and the PEAR modules installed, I can write the PHP bot that will retrieve the weather conditions in my hometown.
现在,服务器已在本地运行,IRC 客户机已安装好并在运行,并且安装了 PEAR 模块,我就可以编写接收我所在地区的天气状况的 PHP 聊天机器人(bot) 了。
应用推荐