From: Ailin Nemui Date: Thu, 22 Oct 2020 14:34:10 +0000 (+0200) Subject: add merge_resources script X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=be0d51f41c71dc975331b033fe4c1ea2718ea3cc;p=irssi-scripts.irssi.org.git add merge_resources script this script will automatically group multiple XMPP queries from different resources of the same person, and automatically unquery old resources. --- diff --git a/scripts/merge_resources.pl b/scripts/merge_resources.pl new file mode 100644 index 0000000..9430b09 --- /dev/null +++ b/scripts/merge_resources.pl @@ -0,0 +1,172 @@ +use strict; +use warnings; + +use Irssi; +use Irssi::UI; + +our $VERSION = '1.1'; # b76da1ea52ee366 +our %IRSSI = ( + authors => 'Nei', + contact => 'Nei @ anti@conference.jabber.teamidiot.de', + url => "http://anti.teamidiot.de/", + name => 'merge_resources', + description => 'Merge queries with multiple resources of the same person.', + license => 'GNU GPLv2 or later', + ); + +# Usage +# ===== +# Once loaded, this script will put all queries from one jid into +# the same window no matter which resource is used. + +# Options +# ======= +# /set autoclose_resource_query