From 1966c07afa2c77e0da59a60b34b1a9e12eadcbde Mon Sep 17 00:00:00 2001 From: Pablo Martín Báez Echevarría Date: Sat, 20 Dec 2014 22:35:14 -0200 Subject: Add clones_scanner.pl --- scripts/clones_scanner.pl | 297 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 297 insertions(+) create mode 100644 scripts/clones_scanner.pl (limited to 'scripts') diff --git a/scripts/clones_scanner.pl b/scripts/clones_scanner.pl new file mode 100644 index 0000000..1f31fbb --- /dev/null +++ b/scripts/clones_scanner.pl @@ -0,0 +1,297 @@ +use strict; +use warnings; + +{ package Irssi::Nick } +# just in case, to avoid Irssi::Nick warnings ( see http://bugs.irssi.org/index.php?do=details&task_id=242 ) + +use Irssi; +use vars qw($VERSION %IRSSI); + +# Thanks to noi_esportista!#Girona@chathispano for his suggestions about how this script should work. + +$VERSION = '1.5'; +%IRSSI = ( + authors => 'Pablo Martín Báez Echevarría', + contact => 'pab_24n@outlook.com', + name => 'clones_scanner', + description => 'when a nick joins #channel, notifies you if there is (or there has been) someone in #channel with the same hostname', + license => 'Public Domain', + url => 'http://reirssi.wordpress.com', + changed => '22:30:25, Dec 20th, 2014 UYT', +); + +# +# USAGE +# ===== +# Copy the script to ~/.irssi/scripts/ +# +# In irssi: +# /run clones_scanner +# +# +# OPTIONS +# ======= +# Settings can be resetted to defaults with /set -default +# +# /set clones_scanner_maxtime