Add a custom message
Search modes:
contains (checks if input is anywhere in the message)
normal (checks if message is equal to or close to message)
replace (copy the other persons message and replace the input)
starts_with (checks if a message starts with the input)
ends_with (checks if a message ends with the input)
regex (checks if a regex is in the message or replace the regex with a message)
Input: the input to trigger cm
Output: the message sent when input is found
If mode is normal the close to threshold checks how much the user’s message matches the input and is a number from 0.1-1. 0.1 is 10% and 1 is 100% of the message needs to match the input
Anchor: none, end, or n-x. the anchor automatically moves the custom message to a spot. this can be useful when you want a custom message that gets applied later than other custom messages. multiple custom messages are applied in the top-down order. example: setting the anchor to n means it will be at the end, and n-1 means it will be right before the last one. end tried to move a cm to the end but has a lower priority than n. none anchor goes to the start
Special Phrases: these phrases can be used in the output parameter and replaces the phrase with a random one from the bot.
"(roast)" replaces this phrase with a random roast. output example: "bob (roast)" will send a message with "bob" before a random roast
"(joke)" does the same thing as (roast) but uses a random joke
";;" can be used to make a list of outputs that are chosen randomly and use weights (::). output example: "hi::4;;(roast)" the "::4" after hi means it has a weight of 4, and (roast) has a weight of 1 because it wasn't assigned. this means hi has an 80% chance to send and (roast) has a 20% chance to be sent because the total weight is 5 and 4/5 is 80% and 1/5 is 20%. the weights must be in descending order to work properly.