It can watch preferentially for individual users, but this facility should not be used without the prior consent of the target. ledctrl will notify the target that they are being watched.
If you want to know who is being told information about IRC activity, say
/msg ledctrl whoand it will report something like this
-ledctrl- monitoring #starcraft for ijackson:sc -ledctrl- monitoring #test for ijackson:#test -ledctrl- sending ijackson:sc to ijackson, davenant.relativity.greenend.org.uk:1447 -ledctrl- sending ijackson:#test to ijackson, davenant.relativity.greenend.org.uk:1447In this example, the channels
sc
and #test
are being monitored on behalf of ijackson, who has chosen to name the
monitoring functions ijackson:sc
and
ijackson:#test
. The results are being sent only to the
LED server on port 1447 of davenant.relativity.greenend.org.uk:1447,
also on behalf of ijackson.
remoteleds
on chiark to manipulate the relevant LEDs.
.led-client-pass
that you're using to
~/.userv/irc-ledcontrol-passwords
(taking care to make
sure it's not world-readable).
~/.userv/irc-ledcontrol-config
. See below for the file
format.
#ledctrl
. This is where the debug and
diagnostic output goes. You should also look here if it seems not to
be working at some later point. When you think everything is right, say
/msg ledctrl reload username
where username is your own username. If all is well it
should just say
<ledctrl> reloaded username
and shortly afterwards your LEDs should be set.
/msg ledctrl debug username
and see if you can make any sense of the output. NB that this
produces lots of output in the channel, which will disrupt other
people's use of it, and cause ledctrl to become lagged, so please
don't leave the debug enabled. It will turn itself off after a while
anyway.
~/.userv/irc-ledcontrol-config
contains the
configuration file for your ledctrl settings. If this file doesn't
exist, ledctrl will assume you don't want it to run on your behalf.
The file may contain definitions of two kinds of objects:
Monitors have names of the form
username:suffix
where suffix is
chosen by the user who defines the monitor.
ijackson:#chiark
ijackson:#starcraft
~ijackson/.userv/irc-ledcontrol-config
for exact
details. To suggest changes to this configuration, consult
ircop@chiark.
If you define a deviceset which refers to a nonexistent monitor, it will be silently ignored.
#
)
and blank lines are ignored. Lines (including comment lines) may be
continued using \
.
monitor monname #chan [#chan ...]
Defines a monitor named monname which monitors the
specified channel(s). monname must start with
username:
where username is the
username whose file the directive occurs in.
nick ignore [glob-pattern ...]
Defines a list of nick patterns to completely ignore. No activity on the part of nicks matching any of the patterns will have any effect.
Affects all monitors defined, until the next nick ignore
.
nick nopresence [glob-pattern ...]
Defines a list of nick patterns to ignore when deciding whether anyone is present. If the affected nicks speak in channel they will still count.
Affects all monitors defined, until the next nick nopresence
.
nick prefer [glob-pattern ...]
Defines a list of nick patterns to be extra interested in, when they
talk on channel. See the preftalk
and
preftalknow
monitor state conditions in the
leds
directive, below.
Affects all monitors defined, until the next nick nopresence
.
Important: Use of this directive can amount to fairly intrusive monitoring of the activity of the affected nicks. Ask permission from the target before using this directive on a real person. ledctrl will inform the target of the surveillance.
times talk-now-time talk-time
Specifies the times, in seconds, for which someone speaking in channel
will satisfy the talknow
and talk
conditions, respectively. talk-now-time should be no more
than talk-time.
Affects all monitors defined, until the next times
.
The initial values are 120 and 450.
leds led-group monname state=value ...
Defines an LED group, driven by monname. Each time the monitor's state changes, the list of states will be searched, and the first which is true for the monitor's new state will take effect. If none of the states apply then the LEDs are left unchanged.
The state conditions are:
talk
talknow
preftalk
nick prefer
has spoken on channel
since talk-time ago.
preftalknow
nick prefer
has spoken on channel
since talk-now-time ago.
present
nick nopresence
) is present on
channel. ledctrl itself does not count.
default
led-group and each value should be as specified in the LED protocol document. The LED group will be accessed in an exclusive manner and should not be accessed by any other LED clients.
irc-ledcontrol-config irc-ledcontrol-passwordswhich simply spit out the relevant files.
The irc-ledcontrol-config
service must succeed;
if you do not want ledctrl configuration it should exit zero without
printing any output at all.
If irc-ledcontrol-config
produces any output (even just
whitespace or comments) then irc-ledcontrol-passwords
must succeed, and produce a standard format LED password file.
(See the
LED
specification documents.)