Previous Next Contents

2. Features

2.1 Supported commands

Standard irc commands (Rfc1459)

Gnirc should support most of these commands . This include JOIN, PART, LIST, MODE, WHO, WHOIS, ...

Program specific commands

<command> : <syntax>

server : server <server address> <port>

This command is used to connect to an irc server when you havn't provided one on startup.

leave : leave

Is used to leave the current channel. It's not the same command as PART since it could be used to close all kinds of "channels":

  1. Chat between 1 user and the channel
  2. Chat between 2 users
  3. Dcc chat

log : log [[<channel>|<nick>] [&;lt;logfile name>]]

Log the conversation on one channel or (between 2 users) to a file. If no argument is given then : <channel> = current channel <logfile name> = the name of the current channel

level : level [[+-][ ALL|PUBLIC|MSGS|NOTICES|WALLOPS|ACTIONS|REPLIES|JOINS]]*

Define what should be displayed in the current window. '+' means show. '-' means hide.

set : set <name> <value>

Change the value of a variable. The following variables may be used to customize gnirc:

alias : alias <name> <command>

Create a new command names <name> that is an alias to <command>. eg :

alias j join $0
where $0 will be replaced with the first parameter provided to "j"


Previous Next Contents