Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Regex Triggers #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Basic Regex Triggers #15

wants to merge 1 commit into from

Conversation

Kebap
Copy link
Contributor

@Kebap Kebap commented Jan 28, 2022

Copy of #13 as PR


Now with the preamble out of the way, let's begin by clicking Triggers to open the script editor up to the Triggers page. I'll start by making a group to keep my triggers organized, call it "Basic Regex Triggers", and click "Save Item". Then let's click "Add Item" and name this one "Regex1". Then let's click the dropdown next to the first pattern and change it from substring to perl regex. The color for this pattern line changes from black to blue to give a visual clue as to what type of trigger it is.

It needs a pattern, so let's go with something simple for now, `You pick up (\d+) gold\.$`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grafik

@Kebap Kebap closed this Jan 28, 2022
@Kebap Kebap deleted the markdown_files branch January 28, 2022 14:19
@Kebap Kebap restored the markdown_files branch January 28, 2022 14:21
@Kebap Kebap reopened this Jan 28, 2022
@Kebap
Copy link
Contributor Author

Kebap commented Jan 28, 2022

(Shouldn't rename a branch mid-PR..)

@Kebap Kebap mentioned this pull request Jan 28, 2022
@Kebap Kebap marked this pull request as ready for review January 28, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant