Irssi (config)

Arquivo de configuração do Irssi

Categoria: Miscelânea

Software: Irssi

[ Hits: 8.737 ]

Por: Rafael


Esse arquivo é a configuração do programa de IRC chamado Irssi. Você deverá copiar o seu conteúdo e salvar em um arquivo com o nome "config" (sem aspas) dentro do diretório do seu Irssi. Exemplos: Para o seu usuário, salvar em: /home/Seu-Usuário/.irssi/
Para todos os usuários, salvar em: /etc/. Obs.: Para todos os usuários, o nome do arquivo mudará de "config" para "irssi.conf", portanto, o conteúdo deverá ser colado no arquivo "irssi.conf" no diretório /etc/. Bom, fácil não?! Espero que goste, e lhe ajude. Obs.: Não esqueça de LER atentamente a conf, pois você terá que editar algumas informações. Atenciosamente, Rafael × leaf


servers = (
   # Aqui você Adiciona os Servidores ...
   # Como utilizo só esses, terá só eles :D ...
   # Mas, fique a vontade de Adicionar mais ...

  { address = "br.brasnet.org";
    port = "6667";
    use_ssl = "no";
    ssl_verify = "no";
  },

  { address = "sp.brasnet.org";
    port = "6667";
    use_ssl = "no";
    ssl_verify = "no";
  },
  
  { address = "irc.brasnet.org";
    port = "6667";
    use_ssl = "no";
    ssl_verify = "no";
  },
);

chatnets = {
  BRASNet = { type = "IRC"; };
};

channels = ( );

aliases = {
   # Aqui você coloca os Aliases ...
   # Código:
   # comando-para-digitar = "comando : O que ele faz";
   # Ex.: jan1 = "window new hide";
   # Fique a vontade, coloque quantos quiser ...
   # Deixei alguns, se quiser, apague ...

  jan1 = "window new hide";
  jan2 = "window level notices";
  jan3 = "window level dcc";
  J = "join";
  WJOIN = "join -window";
  WQUERY = "query -window";
  DESCRIBE = "action";
  DATE = "time";
  HOST = "userhost";
  LAST = "lastlog";
  SAY = "msg *";
  WI = "whois";
  WII = "whois $0 $0";
  WW = "whowas";
  W = "who";
  M = "msg";
  C = "clear";
  CL = "clear";
  K = "kick";
  KB = "kickban";
  KN = "knockout";
  B = "ban";
  MUB = "unban *";
  UB = "unban";
  IG = "ignore";
  UNIG = "unignore";
  SB = "scrollback";
  UMODE = "mode $N";
  WC = "/window close $0 $1";
  WN = "window new hide";
  SV = "say Irssi $J ($V) - http://irssi.org/";
  GOTO = "sb goto";
  CHAT = "dcc chat";
  RUN = "SCRIPT LOAD";
  SBAR = "STATUSBAR";
  INVITELIST = "mode $C +I";
  Q = "QUERY";
  pag = "/set scroll_page_count";
  ops = "/names -o";
  vcs = "/names -v";
  ver = "/ctcp $0 version";
  nmn = "/names -n";
  nms = "/names";
  away = "/away Coloca sua MSG aqui ...";
  back = "/away";
  cs = "/quote chanserv op $C $N";
  memoserv = "/quote memoserv";
  dc = "/dcc list";
  brasnet = "/server irc.brasnet.org 6667";
  botserv = "/quote botserv";
  wg = "/window goto $0";
  hl = "/hilight -line -color %$0%$1 $2";
  wk = "/window kill";
   # Pronto, esses são alguns Aliases ...
   # Se quiser, Edite como preferir ...
};

statusbar = {
  # formats:
  # when using {templates}, the template is shown only if it's argument isn't
  # empty unless no argument is given. for example {sb} is printed always,
  # but {sb $T} is printed only if $T isn't empty.

  items = {
    # start/end text in statusbars
    barstart = "{sbstart}";
    barend = "{sbend}";

    topicbarstart = "{topicsbstart}";
    topicbarend = "{topicsbend}";

    # treated "normally", you could change the time/user name to whatever
    time = "{sb $Z}";
    user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";

    # treated specially .. window is printed with non-empty windows,
    # window_empty is printed with empty windows
    window = "{sb $winref:$tag/$T{sbmode $M}}";
    window_empty = "{sb $winref{sbservertag $tag}}";
    prompt = "{prompt $[.15]itemname}";
    prompt_empty = "{prompt $winname}";
    topic = " $topic";
    topic_empty = " Irssi v$J - http://irssi.org/help/";

    # all of these treated specially, they're only displayed when needed
    lag = "{sb Lag: $0-}";
    act = "{sb Act: $0-}";
    more = "-- more --";
  };

  # there's two type of statusbars. root statusbars are either at the top
  # of the screen or at the bottom of the screen. window statusbars are at
  # the top/bottom of each split window in screen.
  default = {
    # the "default statusbar" to be displayed at the bottom of the window.
    # contains all the normal items.
    window = {
      disabled = "no";

      # window, root
      type = "window";
      # top, bottom
      placement = "bottom";
      # number
      position = "1";
      # active, inactive, always
      visible = "active";

      # list of items in statusbar in the display order
      items = {
        barstart = { priority = "100"; };
        time = { };
        user = { };
        window = { };
        window_empty = { };
        lag = { priority = "-1"; };
        act = { priority = "10"; };
        more = { priority = "-1"; alignment = "right"; };
        barend = { priority = "100"; alignment = "right"; };
      };
    };

    # statusbar to use in inactive split windows
    window_inact = {
      type = "window";
      placement = "bottom";
      position = "1";
      visible = "inactive";
      items = {
        barstart = { priority = "100"; };
        window = { };
        window_empty = { };
        more = { priority = "-1"; alignment = "right"; };
        barend = { priority = "100"; alignment = "right"; };
      };
    };

    # we treat input line as yet another statusbar :) It's possible to
    # add other items before or after the input line item.
    prompt = {
      type = "root";
      placement = "bottom";
      # we want to be at the bottom always
      position = "100";
      visible = "always";
      items = {
        prompt = { priority = "-1"; };
        prompt_empty = { priority = "-1"; };
        # treated specially, this is the real input line.
        input = { priority = "10"; };
      };
    };

    # topicbar
    topic = {
      type = "root";
      placement = "top";
      position = "1";
      visible = "always";
      items = {
        topicbarstart = { priority = "100"; };
        topic = { };
        topic_empty = { };
        topicbarend = { priority = "100"; alignment = "right"; };
      };
    };
  };
};
settings = {
  core = {
    real_name = "Coloque seu RealName Aqui ...";
    user_name = "Coloque seu UserName Aqui ...";
    nick = "Coloque seu Nick ...";
    awaylog_file = "~/.irssi/logs/away.log";
    quit_message = "Coloque sua MSG de QUIT ...";
  };
  "fe-common/core" = {
    autolog = "yes";
    autolog_path = "~/.irssi/logs/$tag/$0.log";
    show_names_on_join = "no";
    autoclose_windows = "no";
    beep_when_away = "no";
    names_max_columns = "7";
    hilight_color = "%Y";
    autolog_colors = "no";
    completion_char = " ";
    autocreate_query_level = "MSGS DCCMSGS NOTICES";
    #    bell_beeps = "yes";
    #    beep_msg_level = "MSGS DCCMSGS HILIGHT";
  };
  "irc/dcc" = {
    dcc_download_path = "/home/Seu-Usuário/.irssi/download";
    dcc_autoget = "no";
    dcc_autoresume = "no";
    dcc_autorename = "no";
  };
  "irc/core" = {
    alternate_nick = "Coloque seu Nick Alternativo ...";
    ctcp_version_reply = "Coloque uma MSG aqui ..."; 
   # Essa é a parte do CTCP Version, se alguem usar em você ...
   # Você mandará a MSG que colocar para o usuário que utilizou o CTCP em você ...
   # Será enviado a MSG automáticamente ...
   # Coloque uma MSG maneira para deixar o cara Bobo hehehe :D ...
    usermode = "+i";
  };
  "fe-text" = { scroll_page_count = "/.99"; };
  "perl/core/scripts" = {
    l33ttrigger_enabled = "no";
    l33twarning_read = "yes";
    l33ttrigger = "toca";
    xmms_info_pipe = "~/tmp/xmms.0=";
  };
  "fe-common/irc" = { netsplit_max_nicks = "500"; };
  "perl/core" = {
    perl_use_lib = "/usr/lib/perl5/site_perl/5.8.0/i486-linux";
  };
};
logs = {
  "~/.irssi/irssi-log-status" = {
    level = "ALL";
    items = ( { type = "window"; name = "1"; } );
  };
  "~/.irssi/irssi-log" = {
    level = "ALL";
    items = ( { type = "window"; name = "3"; } );
  };
  "~/.irssi/irssi-mp3" = {
    level = "ALL";
    items = ( { type = "window"; name = "4"; } );
  };
};
hilights = (
   # Aqui no lugar de "Nick1/Nick2/etc" ...
   # Você coloca quantos Nicks quiser ...
   # Pq, qndo alguem chamar o mesmo, ele ficará de outra COR ...
  { text = "Nick1"; color = "%B"; nick = "yes"; word = "yes"; },
  { text = "Nick2"; color = "%B"; nick = "yes"; word = "yes"; },
  { text = "Nick3"; color = "%B"; nick = "yes"; word = "yes"; },
  { text = "Nick4"; color = "%1%Y"; nick = "no"; word = "no"; },
  { text = "Nick5"; color = "%1%C"; nick = "no"; word = "no"; },
);

notifies = {
   # Aqui coloque os Nicks ...
   # Que você quiser que fique na sua ...
   # Lista de Notificação ...
   # Coloque quantos quiser ...
  Nick1 = { };
  Nick2 = { };
  Nick3 = { };
  ircnets = ( "Nick1", "Nick2", "Nick3" );
};

ignores = ( );
  


Comentários
[1] Comentário enviado por thiago9999 em 09/05/2007 - 16:15h

bom galera , n sei se to no lugar certo
mais eu queria aprender a mexer cum shell pra kick internet
tendo o ip da pessoa
alguem pode me ajudar ?
indicando foruns ou alguma coisa do genero
desde ja agradeço
vles todos
e abraços


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts