wanha

wanha project is a combination of Perl-script to run a bot on IRC to watch the channel for URLs.
Download

wanha Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Tommi Saviranta
  • Publisher web site:
  • http://wnd.katei.fi/woclema/

wanha Tags


wanha Description

wanha project is a combination of Perl-script to run a bot on IRC to watch the channel for URLs. 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, andmodule "Pg" as the API. Using any other SQL-database should be trivial bymodifying 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 ifnot installed already.The web-interface obviously requires a set-up HTTP-server that can run externalapplication (CGI). Only "Socket" module should be required for theweb-interface. The web-interface can take advantage for mod_rewrite.pl forpretty URLs but this is not required.wanha will keep track of pasted links for given channels. The bot remembers whopasted the link first and when. When pasted again, constructive guidance toavoid making the same mistake again is given discreetly to the user. If a linkis 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 sameURL 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. What's New in This Release: · This release fixes minor localization errors and improves URL catching a bit.


wanha Related Software