about summary refs log tree commit diff
path: root/weechat/.weechat/trigger.conf
diff options
context:
space:
mode:
Diffstat (limited to 'weechat/.weechat/trigger.conf')
-rw-r--r--weechat/.weechat/trigger.conf40
1 files changed, 24 insertions, 16 deletions
diff --git a/weechat/.weechat/trigger.conf b/weechat/.weechat/trigger.conf
index 59aacb8..8409a21 100644
--- a/weechat/.weechat/trigger.conf
+++ b/weechat/.weechat/trigger.conf
@@ -25,6 +25,30 @@ trigger = green
 trigger_disabled = red
 
 [trigger]
+autojoin.arguments = "*,irc_in_join"
+autojoin.command = "/autojoinem add ${server} ${channel};/mute save"
+autojoin.conditions = ""
+autojoin.enabled = on
+autojoin.hook = signal
+autojoin.post_action = none
+autojoin.regex = ""
+autojoin.return_code = ok
+autojoinem_on_quit.arguments = "quit"
+autojoinem_on_quit.command = "/allchan /autojoinem add"
+autojoinem_on_quit.conditions = ""
+autojoinem_on_quit.enabled = on
+autojoinem_on_quit.hook = signal
+autojoinem_on_quit.post_action = none
+autojoinem_on_quit.regex = ""
+autojoinem_on_quit.return_code = ok
+autopart.arguments = "*,irc_in_part"
+autopart.command = "/autojoinem del ${server} ${channel};/mute save"
+autopart.conditions = ""
+autopart.enabled = on
+autopart.hook = signal
+autopart.post_action = none
+autopart.regex = ""
+autopart.return_code = ok
 beep.arguments = ""
 beep.command = "/print -beep"
 beep.conditions = "${tg_highlight} || ${tg_msg_pv}"
@@ -33,14 +57,6 @@ beep.hook = print
 beep.post_action = none
 beep.regex = ""
 beep.return_code = ok
-chansaver.arguments = "buffer_closed;buffer_opened"
-chansaver.command = "/mute /autojoin --run;/mute /save"
-chansaver.conditions = ""
-chansaver.enabled = on
-chansaver.hook = signal
-chansaver.post_action = none
-chansaver.regex = ""
-chansaver.return_code = ok
 cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
 cmd_pass.command = ""
 cmd_pass.conditions = ""
@@ -97,14 +113,6 @@ msg_auth.hook = modifier
 msg_auth.post_action = none
 msg_auth.regex = "==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
 msg_auth.return_code = ok
-pong.arguments = ""
-pong.command = "pong"
-pong.conditions = "${type} == private && ${tg_message} == ping"
-pong.enabled = on
-pong.hook = print
-pong.post_action = none
-pong.regex = ""
-pong.return_code = ok
 resize_big.arguments = "signal_sigwinch"
 resize_big.command = "/bar show nicklist"
 resize_big.conditions = "${info:term_width} >= 100"