Previous Next Table of Contents

4. Basic Commands

A little words about IRC

IRC clients

IRC is based on a client-server model. Clients are programs that connect to a server, a server is a program that transports data, (messages), from a user client to another.
Each client is distinguished from other clients by a unique nickname. In addition to the nickname, all servers must have the following information about all clients: the real name of the host that the client is running on, the username of the client on that host, and the server to which the client is connected. Keirc is one of the IRC client program.

Channels

The channel is created implicitly when the first client joins it, and the channel ceases to exist when the last client leaves it. While channel exists, any client can reference the channel using the name of the channel.
Channels names are strings (beginning with a '&' or '#' character) of length up to 200 characters. Apart from the the requirement that the first character being either '&' or '#'; the only restriction on a a comma (',').
There are two types of channels allowed on IRC. One is a distributed channel which is known to all the servers that are connected to the network. These channels are marked by the first character being a only clients on the server where it exists may join it. These are distinguished by a leading '&' character. To create a new channel or become part of an existing channel, a user is required to JOIN the channel. If the channel doesn't exist prior to joining, the channel is created and the creating user becomes a channel operator. If the channel already exists, whether or not your request to JOIN that channel is honoured depends on the current modes of the channel. For example, if the channel is invite-only, (+i), then you may only join if invited.

Channel Operators

The channel operator (also referred to as a "chop" or "chanop") on a given channel is considered to 'own' that channel. In recognition of this status, channel operators are endowed with certain powers which enable them to keep control and some sort of sanity in their channel. As an owner of a channel, a channel operator is not required to have reasons for their actions, although if their actions are generally antisocial or otherwise abusive, it might be reasonable to ask an IRC operator to intervene, or for the usersjust leave and go elsewhere and form their own channel.

The commands which may only be used by channel operators are:

A channel operator is identified by the '@' symbol next to their nickname whenever it is associated with a channel (ie replies to the NAMES, WHO and WHOIS commands).

Basic Commands on keirc

Connection Registration

PASS passwd
NICK nick
USER
OPER
QUIT
SQUIT

Channel operations

JOIN
PART
MODE
TOPIC
NAMES
LIST
INVITE
KICK

Server queries and commands

VERSION
STATS
LINKS
TIME
CONNECT
TRACE
ADMIN
INFO
PRIVMSG
NOTICE
WHO
WHOIS
WHOWAS

Miscellaneous messages

KILL
PING
PONG

Optionals

AWAY
REHASH
RESTART
SUMMON
USERS
WALLOPS
USERHOST
ISON
RAW
CTCP
CTCPREPLY
DCC

Extended Commands on keirc

BROWSER
TCL
ADDPAGE DELPAGE ADDFRIEND DELFRIEND ADDBAN DELBAN ADDIGNORE DELIGNORE

Internal Variables defined on keirc

You can use these Variables in the configuration (e.g in popup)
  [Popup] CTCP
  Ping:    /ctcp $u PING $time
  Version: /ctcp $u VERSION
  ...
$nick     your current nick
$u        current user...(selected user from userlist on channel, or user, you talk to)
$time     current time in millisecond  
$c        current channel 
$to       user, you talk to (examp. on privmessage) 
$?Komentar on topic:  force dialog
$selected text selected on OutputPage

Under construction


Previous Next Table of Contents