Age | Commit message (Collapse) | Author |
|
|
|
|
|
The filter can be set with /trigger monitor <filter> or by entering data
in the trigger monitor input.
|
|
|
|
|
|
"string"
|
|
|
|
|
|
|
|
|
|
|
|
cmd_pass/msg_auth
|
|
from "none")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pointer in signal_data
|
|
|
|
|
|
|
|
wrong/missing
|
|
Now the command "/trigger recreate" does not delete the trigger any more.
Instead the option "addreplace" is used in input, so the existing trigger
is overwritten if the command is sent.
|
|
state)
|
|
|
|
|
|
|
|
modifier and focus hooks
|
|
|
|
|
|
enable|disable|toggle)
|
|
The "recreate" option is the same as "input" but the trigger is first
deleted. So this lets you recreate the same trigger and edit some things
if needed.
|
|
|
|
|
|
"weechat_print" and hook print
For modifier "weechat_print", variables added:
- tg_string_nocolor (same as tg_string, without colors)
- tg_prefix_nocolor (same as tg_prefix, without colors)
- tg_message_nocolor (same as tg_message, without colors)
For hook print, variables added:
- tg_prefix_nocolor (same as tg_prefix, without colors)
- tg_message_nocolor (same as tg_message, without colors)
|
|
"weechat_print"
|
|
|
|
|
|
creating the trigger)
|
|
|
|
|
|
The parsed message is added into hashtable "extra_vars".
For example, signal "freenode,irc_in_PRIVMSG" received with the message
"hello world!" on channel #weechat gives in the hashtable:
extra_vars:
tags: ""
host: "tester!user@host.com"
tg_signal: "freenode,irc_in_PRIVMSG"
channel: "#weechat"
tg_signal_data: ":tester!user@host.com PRIVMSG #weechat :hello world!"
arguments: "#weechat :hello world!"
nick: "tester"
command: "PRIVMSG"
message_without_tags: ":tester!user@host.com PRIVMSG #weechat :hello world!"
|
|
|
|
|
|
|
|
|
|
|