File: UTILITIES.HOWTO

package info (click to toggle)
licq 1.3.4-2
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 22,048 kB
  • ctags: 8,640
  • sloc: cpp: 76,924; sh: 9,845; ansic: 5,424; perl: 3,449; lex: 857; xml: 804; php: 691; makefile: 393; csh: 48
file content (40 lines) | stat: -rw-r--r-- 1,207 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Utilities are simple commands which can be spawned from licq and passed
various parameters from the selected user.
Utilities are installed simply by copying the <name>.utility file into
{prefix}/share/licq/utilities and restarting licq.

Here is an example utility file:

#----------------------------
[utility]
# Options here are TERM for xterm, LICQ for output only internal viewer, or
# GUI for a program's own window
Window = GUI
# Commands can take various % expressions:
# %e email
# %i ip
# %p port
# %n full name
# %f first name
# %l last name
# %a alias
# %u uin
# %w webpage
# %h phone number
# %c cellular phone
# %s full status string
# %S short status string with no spaces
# %o last seen online
# %O online since
# %% a percent symbol
# %# user will be prompted for input, for each %# a User#.Title field must be
#    present containing a description of the item, and a User#.Default field
#    may be present indicating the default value for the item (it may contain
#    any of the above % expressions)
Command = cmd %1@%i %e %2
User1.Title = Remote user name
User1.Default = %f
User2.Title = File name
# This could equivalently be omitted
User2.Default = none
#----------------------------