summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-01-26 07:48:20 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-01-26 07:48:20 +0100
commit3d9886f82eac4b76aca772c42158d7a914d85609 (patch)
treee7c119037035d694d4fa04e87eff5a4ecfe6d857 /doc/en
parent05390016c0064d3eabd3a897b16ac60cb832ed06 (diff)
downloadweechat-3d9886f82eac4b76aca772c42158d7a914d85609.zip
doc: add command "/script" in scripting guide
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_scripting.en.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/en/weechat_scripting.en.txt b/doc/en/weechat_scripting.en.txt
index ea8a93740..f1d88c0a4 100644
--- a/doc/en/weechat_scripting.en.txt
+++ b/doc/en/weechat_scripting.en.txt
@@ -163,7 +163,18 @@ weechat::print "" "Hello, from tcl script!"
Load script
~~~~~~~~~~~
-You have to use command, depending on language:
+It is recommended to use the "script" plugin to load scripts, for example:
+
+----------------------------------------
+/script load script.py
+/script load script.pl
+/script load script.rb
+/script load script.lua
+/script load script.tcl
+/script load script.scm
+----------------------------------------
+
+Each language has also its own command:
----------------------------------------
/python load python/script.py
@@ -184,6 +195,10 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
+[NOTE]
+When installing a script with command `/script install` the link in 'autoload'
+directory is automatically created.
+
[[differences_with_c_api]]
Differences with C API
----------------------