From fda8293188d548c755188fe7a4b4b67ef9f6e0c2 Mon Sep 17 00:00:00 2001 From: AardCrowley <12467582+AardCrowley@users.noreply.github.com> Date: Thu, 20 Aug 2020 17:23:06 -0400 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aa33f15..dba3909 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,13 @@ If you're wanting to add new triggers, locate the `triggerLines` section, and ad ``` -As long as you follow that format, you should be able to add as many triggers as you like. +An example pulled directly from the plugin is this, for quest alerts: + +```lua +{name = "questAlert", match = "^QUEST: You may now quest again.", message = "Quest time!"}, +``` + +Please note, you can use wildcard symbols (use regular expression for the matches), but it will not process within the message. Otherwise, as long as you follow this format, you should be able to add as many triggers as you like. If you are wanting to add channel messages to Telegram such as tell notifications, you'll need to incorporate GMCP data into the plugin. It will look something like the following: