Add example of printed message with tag "no_log" in scripting guide

v2.8-utf8proc
Sebastien Helleu 2010-07-28 11:59:19 +02:00
parent 734fe231c9
commit 7512ae4b1f
3 changed files with 12 additions and 0 deletions

View File

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

View File

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

View File

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