doc: add command "/script" in scripting guide

v2.8-utf8proc
Sebastien Helleu 2013-01-26 07:48:20 +01:00
parent 05390016c0
commit 3d9886f82e
6 changed files with 109 additions and 7 deletions

View File

@ -163,8 +163,20 @@ weechat::print "" "Hallo, von einem tcl Skript!"
Laden von Skripten
~~~~~~~~~~~~~~~~~~
Der Befehl zum Laden von Skripten ist davon abhängig welche Skriptsprache
genutzt werden soll:
// TRANSLATION MISSING
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
----------------------------------------
// TRANSLATION MISSING
Each language has also its own command:
----------------------------------------
/python load python/skript.py
@ -185,6 +197,11 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
// TRANSLATION MISSING
[NOTE]
When installing a script with command `/script install` the link in 'autoload'
directory is automatically created.
[[differences_with_c_api]]
Unterschiede zur C API
----------------------

View File

@ -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
----------------------

View File

@ -165,7 +165,19 @@ weechat::print "" "Bonjour, du script tcl !"
Chargement du script
~~~~~~~~~~~~~~~~~~~~
Vous devez utiliser la commande, dépendant du langage :
Il est recommandé d'utiliser le plugin "script" pour charger les scripts,
par exemple :
----------------------------------------
/script load script.py
/script load script.pl
/script load script.rb
/script load script.lua
/script load script.tcl
/script load script.scm
----------------------------------------
Chaque langage a également sa propre commande :
----------------------------------------
/python load python/script.py
@ -186,6 +198,10 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[NOTE]
Lors de l'installation d'un script avec la commande `/script install` le lien
dans le répertoire 'autoload' est automatiquement créé.
[[differences_with_c_api]]
Différences avec l'API C
------------------------

View File

@ -165,7 +165,20 @@ weechat::print "" "Hello, from tcl script!"
Caricare uno script
~~~~~~~~~~~~~~~~~~~
Il comando da utilizzare, in base al linguaggio:
// TRANSLATION MISSING
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
----------------------------------------
// TRANSLATION MISSING
Each language has also its own command:
----------------------------------------
/python load python/script.py
@ -186,6 +199,11 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
// TRANSLATION MISSING
[NOTE]
When installing a script with command `/script install` the link in 'autoload'
directory is automatically created.
[[differences_with_c_api]]
Differenze con le API in C
--------------------------

View File

@ -152,7 +152,20 @@ weechat::print "" "Hello, from tcl script!"
[[load_script]]
=== スクリプトのロード ===
スクリプト言語毎に異なる別のコマンドを使ってください:
// TRANSLATION MISSING
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
----------------------------------------
// TRANSLATION MISSING
Each language has also its own command:
----------------------------------------
/python load python/script.py
@ -173,6 +186,11 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
// TRANSLATION MISSING
[NOTE]
When installing a script with command `/script install` the link in 'autoload'
directory is automatically created.
[[differences_with_c_api]]
== C API との違い ==

View File

@ -163,7 +163,20 @@ weechat::print "" "Witaj ze skryptu tcl!"
Ładowanie skryptu
~~~~~~~~~~~~~~~~~
Musisz użyć komendy dla danego języka:
// TRANSLATION MISSING
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
----------------------------------------
// TRANSLATION MISSING
Each language has also its own command:
----------------------------------------
/python load python/skrypt.py
@ -184,6 +197,11 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../skrypt.py
----------------------------------------
// TRANSLATION MISSING
[NOTE]
When installing a script with command `/script install` the link in 'autoload'
directory is automatically created.
[[differences_with_c_api]]
Różnice pomiędzy API dla C
--------------------------