User Tools

(aka 'the best point military institute')

Site Tools

tools:irc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:irc [2025/08/31 07:02] Humphrey Boa-Garttools:irc [2025/12/02 05:27] (current) – old revision restored (2025/10/11 10:47) Humphrey Boa-Gart
Line 1: Line 1:
 ====== Internet Relay Chat (IRC) ====== ====== Internet Relay Chat (IRC) ======
- 
-[{{ :tools:ss_1756546943.png?300|Use the following Hexchat config to connect to our IRC server. //(Click to enlarge)//}}] 
  
 **Internet Relay Chat** (or **IRC**) is one of the oldest chat platforms. However, it is not a service, nor an application, but a //**communication protocol**//. Using the IRC protocol, anyone can spin up a chat server with any number of individual chat rooms, and any compatible program can connect to any of these servers. **Internet Relay Chat** (or **IRC**) is one of the oldest chat platforms. However, it is not a service, nor an application, but a //**communication protocol**//. Using the IRC protocol, anyone can spin up a chat server with any number of individual chat rooms, and any compatible program can connect to any of these servers.
Line 7: Line 5:
 Its simple no-frills interface has led to IRC being affectionately nicknamed //Multiplayer Notepad//. To win in IRC, you go and talk, become popular, amass friends, and get ops. Now for most things in life you can just go read Wikipedia, but IRC is confusing as fuck. So let's break it down for the new operatives to learn. Its simple no-frills interface has led to IRC being affectionately nicknamed //Multiplayer Notepad//. To win in IRC, you go and talk, become popular, amass friends, and get ops. Now for most things in life you can just go read Wikipedia, but IRC is confusing as fuck. So let's break it down for the new operatives to learn.
  
- 
-===== AMI @ IRC ===== 
- 
-The Anonymous Military Institute's conference hall is located at **#ami** on [[irc://irc.freenode.net/ami|irc.freenode.net]]. If you are using IRC for the first time, it is recommended you use something simple like [[https://irc.com|IRC.com]], or install [[https://hexchat.github.io/|HexChat]]. Refer to the image to the right for configuring Hexchat, then type ''/join #ami'' once you are connected to Freenode. 
  
 ===== IRC Clients ===== ===== IRC Clients =====
Line 23: Line 17:
 If you're just getting started and are feeling apprehensive about installing software right away, perhaps consider a **browser-based client** to get a feel for the IRC ecosystem first. If you're just getting started and are feeling apprehensive about installing software right away, perhaps consider a **browser-based client** to get a feel for the IRC ecosystem first.
  
-  * [[https://irc.com|IRC.com]] //("official" Freenode webchat, type ''/join #ami'' after connecting)// 
   * [[https://kiwiirc.com/|KiwiIRC]]   * [[https://kiwiirc.com/|KiwiIRC]]
   * [[https://www.irccloud.com/|IRCCloud]] //("always-on" paid service)//   * [[https://www.irccloud.com/|IRCCloud]] //("always-on" paid service)//
Line 73: Line 66:
 Chat rooms on IRC are called **channels**, which are hosted on **servers**. One server will typically have many channels, and not everyone in one channel will be in the other channels on the same server. Before you can join a channel, you have to connect to a server first. Chat rooms on IRC are called **channels**, which are hosted on **servers**. One server will typically have many channels, and not everyone in one channel will be in the other channels on the same server. Before you can join a channel, you have to connect to a server first.
  
-There are many servers, but for the sake of this tutorial, we will use **Freenode** as an example, since that's where the AMI'channel is hosted. In most clients, you can do this with the ''/server'' command:+There are many servers, none of who want demo traffic from this article, so for the sake of this article we will be joining the nonexistent **#test** channel on **irc.server.org**. In most clients, you can do this with the ''/server'' command:
  
-  /server irc.freenode.net+  /server irc.server.org
      
-Once you are connected, you can type ''/join #ami'' to join our channel.+Once you are connected, you can type ''/join #test'' to join the channel.
  
 All channels are prefixed with the pound (#) sign //(like a hashtag)//. You can type ''/list'' to get a full list of other channels on the server, which you can also join with the ''/join'' command. All channels are prefixed with the pound (#) sign //(like a hashtag)//. You can type ''/list'' to get a full list of other channels on the server, which you can also join with the ''/join'' command.
Line 85: Line 78:
 ==== Managing Your "Account" ==== ==== Managing Your "Account" ====
  
-IRC does not require registration, and allows you to chat under almost any name //(aka 'nick' or 'nickname' in IRC terminology)// as a guest. To change your nick, type ''/nick newnickhere''. There is a limit on how long the nick can be; some networks only allow a maximum of 9 characters, while others let you go up to 18.+IRC does not require registration, and allows you to chat under almost any name //(aka 'nick' or 'nickname' in IRC terminology)// as a guest. To change your nick, type ''/nick newnickhere''.
  
-Some servers have nickname registration services, allowing you to keep other people from stealing your nick. On Freenode (and many other servers) this service is called **NickServ**.+Some servers have nickname registration services, allowing you to keep other people from stealing your nick. On many networks this service is called **NickServ**.
  
 You can get a list of available NickServ options with the ''help'' command: You can get a list of available NickServ options with the ''help'' command:
Line 238: Line 231:
 ===== Application Specific Instructions ===== ===== Application Specific Instructions =====
  
-==== Configuring HexChat ==== 
- 
-{{wst>expand}} 
- 
-==== Configuring irssi ==== 
- 
-{{wst>expand}} 
  
 ==== Configuring WeeChat ==== ==== Configuring WeeChat ====
  
-WeeChat is probably the simplest of the terminal clients to set up. It also has a pretty robust out-of-the-box setup without having to track down plugins. For both these reasons, we recommend using WeeChat if you have never used a terminal-based client before.+Eventually you may need more functionality out of your IRC client, and when that time comes you will need a [[tools:bash|terminal]] client. WeeChat is probably the simplest of the terminal clients to configure. It also has a pretty robust out-of-the-box setup without having to track down plugins. For both these reasons, we recommend using WeeChat if you have never used a terminal-based client before.
  
 You can install WeeChat in Debian with the ''apt'' command, and then the ''weechat'' command to start it: You can install WeeChat in Debian with the ''apt'' command, and then the ''weechat'' command to start it:
Line 259: Line 245:
   /set irc.server_default.autojoin_dynamic on   /set irc.server_default.autojoin_dynamic on
  
-Next, you need to connect WeeChat to a server //(again, we will use Freenode as an example)//. To do this, you first need to define some details about the server:+Next, you need to connect WeeChat to a server. To do this, you first need to define some details about the server:
  
-  /server add freenode irc.freenode.net/6697 -ssl -autoconnect+  /server add SERVERNAME irc.server.org/6697 -ssl -autoconnect
      
-Then, use the ''/connect'' command to connect to Freenode:+Then, use the ''/connect'' command to connect:
  
-  /connect freenode+  /connect SERVERNAME
      
-Once you are connected, you can type ''/join #ami'' to enter our IRC channel. To test that autoconnect works, type ''/quit'' to exit WeeChat. Then reopen WeeChat. It should dump you right back into #ami on Freenode. There is no real limit to how many servers/channels you can have WeeChat automatically join.+Once you are connected, you can type ''/join #test'' to enter the channel. To test that autoconnect works, type ''/quit'' to exit WeeChat. Then reopen WeeChat. It should dump you right back into #test. There is no real limit to how many servers/channels you can have WeeChat automatically join. 
 + 
 +To keep WeeChat alive on a remote machine, simply run it inside [[tools:byobu]] or [[tools:tmux]] via [[tools:ssh|SSH]]. Then just reattach to your session when you SSH back in. 
 + 
 + 
 +== Autosorting Channels == 
 + 
 +Make the following tweaks to enable sane autosorting in the channel list: 
 + 
 +  /set script.scripts.download_enabled on 
 +  /script install autosort.py 
 +  /set irc.look.server_buffer independent 
 + 
 +   
 +== Aliases == 
 + 
 +Make your life easier by setting aliases for talking to Nickserv/Chanserv/Hostserv: 
 + 
 +  /alias add ns /msg nickserv 
 +  /alias add cs /msg chanserv 
 +  /alias add hs /msg hostserv 
 + 
 + 
 +== Custom Quit/Part Messages == 
 + 
 +You do not need custom quit/part messages, but it's generally not a good idea to broadcast your software version to the internet //(which is Weechat's default behavior)//. You can change them to blank strings with the two commands below:
  
-To keep WeeChat alive on a remote machine, simply run it inside [[tools:byobu]] or [[tools:tmux]]Then just reattach to your session when you SSH back in.+  /set irc.server_default.msg_part "" 
 +  /set irc.server_default.msg_quit ""
  
 +To use these same commands to set custom quit/part messages, simply place your message in the quotes.
  
 {{tag>Tools Communication}} {{tag>Tools Communication}}
tools/irc.1756623734.txt.gz · Last modified: (external edit)

Find this page online at: https://bestpoint.institute/tools/irc