Valid XHTML 1.0 Strict

Valid CSS!

Page News

09/11/2007
Updated Profile page.

12/12/2006
Updated Profile page.

29/06/2006
Added Movies page.
Added Gnuworld page.
Added Irssi page.

20/01/2006
Added Photos page.
Added Links page.

12/01/2006
Added Profile page.
Added Contact page.

Hello World! ;)


Irssi

Irssi Quotes System v1.2



Commands:
  1. !quote [id] - Shows the quote with that id, or a random quote if none is used.
  2. !search <string> - Searches for *string* - SQL-style wildcards.
  3. !whoset <id> - Shows the author of the quote under that id.
  4. !addquote <text> - Adds a quote in the database.
  5. !db - Prints number of non-deleted quotes in the database.
  6. /delquote <id> - Deletes a quote (actually it just marks the quote as deleted, nobody will be able to see it unless you restore it)
  7. /restore <id> - Restores a quote.


In order to install the irssi quotes system you have to do the following:

  1. Download http://mitko.com.mk/irssi_quotes.sql
  2. Execute it: mysql -p yourdbname < irssi_quotes.sql
  3. Go to your Irssi scripts directory, normally it is ~/.irssi/scripts/
  4. Download http://mitko.com.mk/irssi_quotes.pl-file
  5. Open irssi_quotes.pl-file with your favorite text editor and edit these variables:
$database = ('yourdbname');
$username = ('dbuser');
$password = ('dbpass');

  1. By default only ops can add quotes, in order to change that edit this:
$addqlevel = ('1');
# 1 - only +o users can add quotes
# 2 - only +o and +v users can add quotes
# 3 - everyone can add quotes

  1. Save it as irssi_quotes.pl
  2. In your Irssi client type: /script load irssi_quotes.pl


  3. That's it! If you want the script to be loaded automatically at startup, put irssi_quotes.pl in the ~/.irssi/scripts/autorun/ directory. If the directory doesn't exist, create it. If you have problems or you find bugs feel free to contact me via my Contact page, or on irc.undernet.org (my nickname is Mitko).