Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Vikingbot is yet another simple PHP based IRC bot with support for plugins and secure IRC servers. The bot requires Unix/Linux shell access with PHP support and SSL support in PHP for use against secure IRC servers.

branch: master
========== INSTALLING ==========
1) copy config.dist.php to config.php
2) update config.php with correct settings
3) run it, sh
4) check log outout in logs/vikingbot.log

========== SUPPORTED COMMANDS ==========
The following commands are supported out of the box
(aka they are not controlled via plugins):

!quit [password]	-	Shuts down the bot
!restart [password]	-	Restarts the bot

The following commands are supported via the plugins that 
is installed per default:

!botlog [password] [rows]	-	The bot responds with the [rows] last rows of the bot log file (default: 10 rows)
!memory				-	The bot responds with memory usage statistics
!ping				-	The bot responds with a pong to say that it is still alive
!uptime				-	The bot responds with the bots uptime
!upgrade [password]		-	The bot will attempt to upgrade itself to the latest version via GIT pull
!op nick channel [password]	-	The bot attempts to give *user* on *channel OP status

========== INSTALLED PLUGINS ========== 
The following plugins are installed per default:

	- Outputs data from db/fileReaderOutput.db to channel specified in the plugin, 
	useful for GIT/SVN commit hooks or anything other that should push data to a 

	- Plugin that responds to a "!log" with the last N rows of the bot`s log file

	- Plugin that responds to a "!memory" with information about memory usage

	- Plugin that respons to a "!op ..." by oping a user if the bot has op itsefl

	- Plugin that responds to a "!ping" with a "pong".

	- Plugin that responds to a "!uptime" with the bots uptime

	- Plugin that pulls RSS feeds at specified intervals and outputs new 
	  RSS elements to a specified channel. 

	- Plugin that upgrades the bot via git pull.
	- Plugin that gives +o to everyone or to certain nicks on channel join.

========== TEXT FORMATTING  ==========
If you wish, you can format text the bot sends to a channel/user, via your plugins.
Use any of the following codes to apply the relevant text color or format. The text will
keep the given format until either end of string, or the {reset} tag.

Available colors:
{white}, {black}, {blue}, {green}, {red}, {darkRed}, {purple}, 
{orange}, {yellow}, {lime}, {teal}, {cyan}, {lightBlue}, {pink}, {grey} & {lightGrey}

Other tags:
{reset}, {bold} & {underline}

"{bold}i am bold and {red}red{reset}, but now i am normal"

PS: Different IRC-clients may display colors differently, some servers even deny color use!

========== BUGS/PROBLEMS? ==========
Feel free to contact me via IRC on EfNet/Freenode/Undernet (Ueland)
or via e-mail: tor.henning AT
Something went wrong with that request. Please try again.