In the irssi config add the following:

Setting up crapbuser.pl

In the aliases section add

cb = "/crapbuster";

In the setting section add

  "perl/core/scripts" = {
              crapbuster_levels = "JOINS PARTS QUITS  CLIENTCRAP CRAP MODE  KICKSi";
   };

Setting Up logging

In the setting section add the following

settings = {
  core = {    log_timestamp = "%H:%M:%S ";
    recode_autodetect_utf8 = "yes";
    recode_fallback = "ISO-8859-15";
    recode_out_default_charset = "ISO-8859-15";
    recode_transliterate = "yes";
    recode = "yes";
  };
  "fe-text" = { actlist_sort = "refnum"; };
  "fe-common/core" = {
    autolog = "yes";
    autolog_path = "~/.irssi/logs/%Y/$0/%m-%d.log";
    term_charset = "utf-8";
    activity_hide_level = "= JOINS QUITS";
  };
 
};

Downloading the Scripts

In .irssi/scripts add the following perlscripts from https://scripts.irssi.org/

  • awayproxy.pl

  • crapbuster.pl

  • screen_away.pl (may want to eidt this script)

Startup

Create a startup script in .irssi/startup

/set term_charset utf-8
/set recode_autodetect_utf8 ON
/set recode_fallback ISO-8859-15
/set recode_out_default_charset ISO-8859-15
/set recode_transliterate ON
/set recode ON
/load crapbuster.pl
/set crapbuster_levels JOINS PARTS QUITS  CLIENTCRAP CRAP MODE  KICKSi
/alias cb /crapbuster
/load awayproxy.pl
/load screen_away.pl