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),用于以向您告知按邮政编码查询的天气情况。
API, makes sending an alert require a few lines of code with all the necessary bot interfaces provided by the package itself.
IMEasy软件包由watchit . sendchatsAPI调用,它发送警报需要几行代码和由软件本身提供的所有必要的bot接口。
Also, the code can be updated to let the Lotus Sametime bot connect to different data sources.
另外,可以更新代码以便LotusSametimebot能连接到不同的数据源。
To run the Watchit bot in the foreground on UNIX or Linux operating systems, use this code.
要在UNIX或Linux操作系统的前台运行Watchitbot,请使用此代码。
Listing 7 shows a sample code that allows you to deploy the Lotus Sametime bot as a servlet.
清单7中的示例代码允许您将LotusSametimebot部署为一个servlet。
To run the Watchit bot in the foreground on Microsoft Windows, use this code.
要在MicrosoftWindows的前台运行Watchitbot,请使用此代码。
The bot in this article looks for users who start messages with the word weather, followed by a ZIP code.
本文中聊天机器人(bot)查找的用户消息以weather开始,后跟邮政编码。
The bot in this article looks for users who start messages with the word weather, followed by a ZIP code.
本文中聊天机器人(bot)查找的用户消息以weather开始,后跟邮政编码。
应用推荐