-
-
Save tomoe-mami/e70213c5d1d159df7309 to your computer and use it in GitHub Desktop.
Trigger for checking if hook_process returned corrupted data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/trigger add check_gist timer 300000;0;0 | |
/trigger set check_gist command /exec -hsignal check_gist url:https://gist.githubusercontent.com/anonymous/516b08a56c6b8c1c8ff5/raw | |
/trigger add check_gist_cb hsignal check_gist | |
/trigger set check_gist_cb conditions ${rc} == 0 && ${out} != AAAAAAAAAA | |
/trigger set check_gist_cb command /print -error -tags notify_highlight ERROR! exec returns different content!;/print -error expected string: AAAAAAAAAA;/print -error returned string: ${out};/print -error returned string in hex:;/exec -name hex -stdin -norc -nosh xxd -g 1;/exec -inclose hex ${out} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suspect this is due to a gist error though, not weechat.