Skip to content

kala13x/derpina

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Derpina 1.2.56 - Internet Realy Chat (IRC) Bot

Derpina is Internet Realy Chat (IRC) Bot which is responsible to answer your basic questions, answer PING requests with PONG to stay online and log everything from chat. Derpina has agent mode, if you will enable agent mode, derpina searchs keywors in whole chat and if he detects keywords which are defined in stdinc.h file, derpina sends you message in mobile nomber via magtisun library. You can add your question/answers in proto.c file to handle more messages from chat and make bot more communicative. Software is written for educational purposes and is distributed in the hope that it will be useful for anyone interested in this field.

###Usage

Usage: derp [-u <user>] [-n <nick>] [-s <server>] [-p <port>] [-c <room>] [-h]
options are:
 -u         # Username for IRC
 -n         # Nickname for IRC
 -s         # Server address for IRC
 -p         # Port for IRC
 -c         # Channel room for IRC

Without those arguments, bot can parse all options from config file. Here is conf.cfg example:

LOGLEVEL 3
LOGTOFILE 0

USERNAME Derpity
NICKNAME Derp

SERVER irc.server.com
PORT 6667
CHANNEL channel

###Agent mode Derpina has agent mode, if you will enable agent mode, derpina searchs keywors in whole chat and if he detects keywords which are defined in agent.cfg file, derpina sends you message in mobile nomber via magtisun library. Here is arguments how to use agent mode:

-a  #enable agent mode
-o  #disable agent mode

With argument -a, derpina enables agent mode and makes you able to input your magtifun number and password. Derpina searches keywords which are defined as ALERT in agent.cfg file and if deprina founds keywords in IRC chat, it sends whole message at your phone number, which is defined in agent.cfg file as NUMBER.

With argument -o, derpina disables recently enabled agent mode and runs normally.

###Compilation Compilation is possible with build.sh script and Makefiles

git clone git@github.com:kala13x/derpina.git
cd derpina
chmod +x build.sh
./build.sh

After succsessful compilation, executable binaries will be moved in bin directory which is located in your derpina directory.

###Get more info from blog

About

Internet Realy Chat (IRC) Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published