iii is a frontend to
iim so that one can easily view and send messages.
it outputs text, formatted, and colored, and allows for some configuration.
options are passed as enviromental variables.
u: the user's nickname i: the root directory [default: $HOME/irc] n: the network in which the channel resides [default: irc.oftc.net] c: the channel to interact with [default: none - the network view] m: max length for nicks [default: 12] h: the number of lines to include from history [default: 20] s: the separator between the nick and the message r: randomization of nick colors l: the highlight color when nick is mentioned
typical usage would be:
c=#suckless iii.sh h=50 n=irc.freenode.net c=#musl iii.sh
iii just send
to mark the current spot on the conversation send
to quit and mark send
some common commands are supported,
tmiii is a wrapper to
iii to spawn
iii instances inside a
tmux session named IRC.
iii instance inside
tmux is on each own window, named by the channel it shows.
tmiii acceps the same env vars as
t to set the TERM variable, used by
l=false h=50 n=irc.freenode.net c=#cat-v tmiii.sh
notifiii monitors a hierarchy of files and automatically spawns a terminal running
iii with the channel that got activity.
notifiii by default ignores joins, parts, quits and any message from the network (user
notifiii accepts the irc root directory - by default
$HOME/irc - to monitor as an argument.
connect is a script to automatically connect
iim to the specified networks and channels.
in addition, it knows when the connection was dropped and automatically tries to reconnect.
moreover, given a file named
ident, containing the identification passphrase of the user,
it sends an identify command to the nickserv, to automatically identify the connected user.
ident file should be under
connect accepts two arguments in the form of env vars,
nick which sets the user's nickname, else it will use
ircdir which specifies the base irc directory.
$ freenode=foo oftc=bar connect.sh $ ^ notice the extra space here $ this serves as to ignore the command from being saved in the shell history $ one should also close the terminal or clear the scrollback buffer $ so that the command cannot be seen on scroll up
edit this script to add the networks you'd like to autoconnect as a function,
which sets the server name, the channels on that server to autoconnect as a
list of strings separated by a space, and the port to use for the connection.
add your network to the
networks list, and you're set.
- inotify is not portable - linux only interface.
code and text for
notifiii are unlicensed.
see UNLICENSE file and unlicense.org for more information.
original hacks by Ivan c00kiemon5ter V Kanakarakis. if you have cookies, share :]