diff options
Diffstat (limited to 'doc/en/weechat_scripting.en.txt')
-rw-r--r-- | doc/en/weechat_scripting.en.txt | 17 |
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 ---------------------- |