From 3d9886f82eac4b76aca772c42158d7a914d85609 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 26 Jan 2013 07:48:20 +0100 Subject: doc: add command "/script" in scripting guide --- doc/en/weechat_scripting.en.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'doc/en') 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 ---------------------- -- cgit v1.2.3