wanha 2008-06-06-r207

wanha project is a combination of Perl-script to run a bot on IRC to watch the channel for URLs.
wanha
  1 Screenshot
wanha project is a combination of Perl-script to run a bot on IRC to watch the channel for URLs and another script to run as a web-interface on a HTTP-server.

The bot will watch over the channel, friendly and warmly keeping the conversation going, discreetly discouraging people not to paste already pasted URLs again.

wanha currently uses PostgreSQL as a database for persistent information, and
module "Pg" as the API. Using any other SQL-database should be trivial by
modifying db.pl which houses the API to access the data. In addition to Pg,
wanha also uses module "Socket". Both should be trivial to find and install if
not installed already.

The web-interface obviously requires a set-up HTTP-server that can run external
application (CGI). Only "Socket" module should be required for the
web-interface. The web-interface can take advantage for mod_rewrite.pl for
pretty URLs but this is not required.

wanha will keep track of pasted links for given channels. The bot remembers who
pasted the link first and when. When pasted again, constructive guidance to
avoid making the same mistake again is given discreetly to the user. If a link
is known to be already seen, this can be told to the bot by placing "w:" or
"w!" on front of the link (like "w! http://www.google.com/intl/en/").

When a URL is first pasted it will be inserted in the database. When the same
URL is pasted again, things get nasty.

a) User who originally pasted the URL will be rewarded with a fame point.
b) If the URL was pasted without "w!" marker, user who pasted the URL again
will receive a shame point.
c) If the URL was pasted with "w!" marker, user will receive a wanha point.

Exceptions:

- To prevent abuse of using "w!" marker, pasting previously unseen URL with the
"w!" marker will be awarded with a cheat score.
- User who originally pasted the URL can be repaste it again as many times as
(s)he wants. No points are accumulated by this.

last updated on:
September 19th, 2008, 6:03 GMT
price:
FREE!
homepage:
www.cs.helsinki.fi
license type:
GPL (GNU General Public License) 
developed by:
Tommi Saviranta
category:
ROOT \ Communications \ Chat
wanha
Download Button

In a hurry? Add it to your Download Basket!

user rating 14

2.9/5
 

0/5

Rate it!
What's New in This Release:
  • This release fixes minor localization errors and improves URL catching a bit.
read full changelog

Add your review!

SUBMIT