the user interacts with the server by entering characters
users may enter multiple characters, such as
one
two
three
four
.
50
these strings are defined and have no features. when they match this keyword, they automatically reply to the user with a fixed command
.for example, when user input helps me find a xxx, it matches "one"
.when the user enters another bunch of strings that match this keyword, reply to another fixed command
currently uses the match method, but each condition needs to be defined once
is there a more convenient way?