summaryrefslogtreecommitdiff
path: root/doc/it/autogen/user/script_commands.txt
blob: d74987f0a8e7e052d464997faa2cd5434ede0f1f (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[[command_script_script]]
[command]*`script`* WeeChat scripts manager::
........................................
/script  list
         search <text>
         show <script>
         load|unload|reload <script> [<script>...]
         install|remove|hold <script> [<script>...]
         upgrade
         update

    list: list loaded scripts (all languages)
  search: search scripts by tags or text and display result on scripts buffer
    show: show detailed info about a script
    load: load script(s)
  unload: unload script(s)
  reload: reload script(s)
 install: install/upgrade script(s)
  remove: remove script(s)
    hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
 upgrade: upgrade all installed scripts which are obsolete (new version available)
  update: update local scripts cache

Without argument, this command opens a buffer with list of scripts.

On script buffer, the possible status for each script are:
  * i a H r N
  | | | | | |
  | | | | | obsolete (new version available)
  | | | | running (loaded)
  | | | held
  | | autoloaded
  | installed
  popular script

Keys on script buffer:
  alt+i  install script
  alt+r  remove script
  alt+l  load script
  alt+L  reload script
  alt+u  unload script
  alt+h  (un)hold script

Input allowed on script buffer:
  i/r/l/L/u/h  action on script (same as keys above)
  q            close buffer
  $            refresh buffer
  s:x,y        sort buffer using keys x and y (see /help script.look.sort)
  s:           reset sort (use default sort)
  word(s)      filter scripts: search word(s) in scripts (description, tags, ...)
  *            remove filter

Examples:
  /script search url
  /script install iset.pl buffers.pl
  /script remove iset.pl
  /script hold urlserver.py
  /script reload urlserver
  /script upgrade
........................................