Jump to content

Broker: Handling multiple flags per command

broker multiple flags regex

  • Please log in to reply
No replies to this topic

#1 Miles O'Neal

Miles O'Neal

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts

Posted 20 July 2018 - 07:28 PM

The broker docs say:

# The general syntax is:
# command: <regex pattern>
# {
#    # Conditions for the command to meet (optional)
#    # Note that with the exception of 'flags', these are regex patterns.

Why are flags excepted?

Is there a way to handle multiple flags in one command scope? Or to negate a flag (as in anything but this flag)?

I know I can have multiple handlers for the same command, one flag per instance, but blargh.[1]


[1] A highly technical term. If you don't understand it, you don't want to know.

Also tagged with one or more of these keywords: broker, multiple, flags, regex

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users