Skip to content

Instantly share code, notes, and snippets.

@fapestniegd
Created February 23, 2011 22:00
Show Gist options
  • Select an option

  • Save fapestniegd/841281 to your computer and use it in GitHub Desktop.

Select an option

Save fapestniegd/841281 to your computer and use it in GitHub Desktop.
# put this in ~/.irssi/scripts/autorun/connect.pl
use strict;
use vars qw($VERSION %IRSSI);
$VERSION = '0.01';
%IRSSI = (
authors => 'fapestniegd',
contact => '###########@gmail.com',
name => 'autoconnectssl',
description => 'automatically connect to SSL servers on startup',
license => 'Public Domain||GPLv2 or greater',
url => 'http://',
changed => '2010-12-18'
);
use Irssi qw(command_bind servers channels windows command);
command "/connect -SSL $ENV{'IRC_SERVER'} 8080 $ENV{'IRC_USER'}:$ENV{'IRC_PASSWORD'}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment