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

Support multiple triggers for a gambit #352

Open
IanRogers-LShift opened this issue Jun 20, 2017 · 0 comments
Open

Support multiple triggers for a gambit #352

IanRogers-LShift opened this issue Jun 20, 2017 · 0 comments
Labels

Comments

@IanRogers-LShift
Copy link

IanRogers-LShift commented Jun 20, 2017

E.g. what I'd like to do is something like

+ the cat sat
+ the dog ate
+ the flea jumped
+ the cow mooed
- animals are cool

+ *
- I don't think you have that right

there are two workarounds I can see but they're both a bit unhelpful:

+ (the cat sat|the dog ate)
- nice

+ the flea jumped
- {@__respond__}
+ the cow mooed
- {@__respond__}
+ __respond__
- indeed

The first (trigger one|trigger two|..trigger N) seems exactly equivalent to having each trigger on its own line.

NB. yes I know this particular example could be implemented as

+ the ~animal <verb>

but

  1. this is just a simplified example and the real problem can't be solved that way
  2. it would allow daft combinations like "the cat mooed" which I want to trap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants