mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
doc: fix example of weechat.command without buffer: it is executed on current buffer, not core buffer (scripting guide)
This commit is contained in:
@@ -555,9 +555,10 @@ mit der [Enter] Taste bestätigen.
|
||||
|
||||
Beispiele:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# führt den Befehl "/help" im Core Buffer aus
|
||||
# execute command "/help" on current buffer (result is on core buffer)
|
||||
weechat.command("", "/help")
|
||||
|
||||
# sendet den Text "Hallo" in den IRC Channel #weechat (die Teilnehmer des Channels sehen diese Nachricht)
|
||||
|
||||
@@ -548,7 +548,7 @@ Examples:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# execute command "/help" on core buffer
|
||||
# execute command "/help" on current buffer (result is on core buffer)
|
||||
weechat.command("", "/help")
|
||||
|
||||
# send "hello" to #weechat IRC channel (users on channel will see message)
|
||||
|
||||
@@ -560,7 +560,7 @@ Exemples :
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# exécuter la commande "/help" sur le tampon core
|
||||
# exécuter la commande "/help" sur le tampon courant (le résultat est sur le tampon core)
|
||||
weechat.command("", "/help")
|
||||
|
||||
# envoyer "bonjour" au canal IRC #weechat (les utilisateurs sur le canal verront le message)
|
||||
|
||||
@@ -556,9 +556,10 @@ se si digitasse del testo o un comando, seguiti da [Enter].
|
||||
|
||||
Esempi:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# esegue il comando "/help" sul buffer core
|
||||
# execute command "/help" on current buffer (result is on core buffer)
|
||||
weechat.command("", "/help")
|
||||
|
||||
# invia "hello" sul canale IRC #weechat (gli utenti sul canale vedranno il messaggio)
|
||||
|
||||
@@ -527,9 +527,10 @@ Print 関数は Perl/Ruby/Lua/Tcl では `print` で、Python では `prnt` で
|
||||
|
||||
例:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# コマンド "/help" をコアバッファで実行
|
||||
# execute command "/help" on current buffer (result is on core buffer)
|
||||
weechat.command("", "/help")
|
||||
|
||||
# テキスト "hello" を #weechat IRC チャンネルに送信 (このチャンネルにいるユーザにはメッセージが見えます。)
|
||||
|
||||
@@ -544,9 +544,10 @@ w linii poleceń i wcisnąć [Enter].
|
||||
|
||||
Przykłady:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# wykona komendę "/help" w głównym buforze
|
||||
# execute command "/help" on current buffer (result is on core buffer)
|
||||
weechat.command("", "/help")
|
||||
|
||||
# wyśle "witaj" na kanał #weechat (użytkownicy na kanale zobaczą wiadomość)
|
||||
|
||||
Reference in New Issue
Block a user