Add example of printed message with tag "no_log" in scripting guide
parent
734fe231c9
commit
7512ae4b1f
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue