summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-07-28 11:59:19 +0200
committerSebastien Helleu <flashcode@flashtux.org>2010-07-28 11:59:19 +0200
commit7512ae4b1fa354ac66867767b6aa76a586c8246f (patch)
tree431c4c18eba2f449b45553ca3f25e94bb3ccf661 /doc
parent734fe231c97fdf340dfd612a72fed7ddbb91840c (diff)
downloadweechat-7512ae4b1fa354ac66867767b6aa76a586c8246f.zip
Add example of printed message with tag "no_log" in scripting guide
Diffstat (limited to 'doc')
-rw-r--r--doc/en/weechat_scripting.en.txt4
-rw-r--r--doc/fr/weechat_scripting.fr.txt4
-rw-r--r--doc/it/weechat_scripting.it.txt4
3 files changed, 12 insertions, 0 deletions
diff --git a/doc/en/weechat_scripting.en.txt b/doc/en/weechat_scripting.en.txt
index 5f67f0b71..74a55ca4c 100644
--- a/doc/en/weechat_scripting.en.txt
+++ b/doc/en/weechat_scripting.en.txt
@@ -363,6 +363,10 @@ Examples:
# display "hello" on core buffer
weechat.prnt("", "hello")
+# display "hello" on core buffer, but do not write it to log file
+# (version >= 0.3.3 only)
+weechat.prnt_date_tags("", 0, "no_log", "hello")
+
# display prefix "==>" and message "hello" on current buffer
# (prefix and message must be separated by tab)
weechat.prnt(weechat.current_buffer(), "==>\thello")
diff --git a/doc/fr/weechat_scripting.fr.txt b/doc/fr/weechat_scripting.fr.txt
index b55721f6c..45fa4dc6b 100644
--- a/doc/fr/weechat_scripting.fr.txt
+++ b/doc/fr/weechat_scripting.fr.txt
@@ -373,6 +373,10 @@ Exemples :
# afficher "bonjour" sur le tampon core
weechat.prnt("", "bonjour")
+# afficher "bonjour" sur le tampon core, mais ne pas l'écrire dans le fichier de log
+# (version >= 0.3.3 seulement)
+weechat.prnt_date_tags("", 0, "no_log", "bonjour")
+
# afficher le préfixe "==>" et le message "bonjour" sur le tampon courant
# (le préfixe et le message doivent être séparés par une tabulation)
weechat.prnt(weechat.current_buffer(), "==>\tbonjour")
diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.txt
index ea74cc64d..981f69891 100644
--- a/doc/it/weechat_scripting.it.txt
+++ b/doc/it/weechat_scripting.it.txt
@@ -374,6 +374,10 @@ Esempi:
# display "hello" on core buffer
weechat.prnt("", "hello")
+# display "hello" on core buffer, but do not write it to log file
+# (version >= 0.3.3 only)
+weechat.prnt_date_tags("", 0, "no_log", "hello")
+
# visualizza il prefisso "==>" ed il messaggio "hello" sul buffer corrente
# (prefisso e messaggio vanno separati da una tabulazione)
weechat.prnt(weechat.current_buffer(), "==>\thello")