rp!search - LikeLakers2/mettaton GitHub Wiki
NOTICE:
Please note that this command will be revamped in the future so as not to be so confusing.
Also, this page specifically is not completely up-to-date, so please bear with me as I make the bot more accessible.
rp!search <character name>
rp!search <field/property>
<operator>
<search text>
[page]
-
First form:
Parameter name Description Optional? Default <character name>
The character name to search for. No -
Second form:
Parameter name Description Optional? Default <field/property>
The field or property name to search. Case-insensitive. No <operator>
The operator to search using. Execute rp!help charmanage search op
for help with this.<search text>
The search text to use for this search. Case-insensitive. No [page]
The page of search results to return. Yes 1
Searches the character list for this server, for any characters that match the specified search terms. Useful if you swear you remember a character but can't quite get it off the tip of your tounge.
Operator(s) | Description |
---|---|
EQ , EQUALS , = , ==
|
Field text must exactly equal the search text. |
CO , CONTAINS , ~ , =~
|
Field text must contain the search text. |
REG , REGEX
|
Field text must match regex. |
!
followed by one of the above means NOT, or to return those which would not be shown by those above.
rp!search Name EQ Robert
would return any characters whose name is "Robert".
rp!search Name CO "Mr. Left"
would return any characters whose name contains "Mr. Left".
You can search using regex. This is useful primarily for administration purposes, but also if you have a complex search you want to perform all at once. Please note that you are not required to include the /
before or after the regex. In fact, the bot strips these off before doing a search, defaulting to case-insensitivity only.
rp!search Name REG ".*e.*"
shows any characters with an "e" in their name,