![]() ![]() When prompted, enter the hex value for the color you chose. IE: had you chosen ANSI color 80 from the table on the website, the hex value would be #5fd7d7.ġ) Type 'find prompt'. It usually will for standard common prompts. Prompt Regular Expression syntax and examples: You can add your prompt manually to the script by typing 'add prompt prompthere' If it doesn't, you'll have to add your prompt manually.Ģ) Manually adding prompt - prompt recognition uses regular expression, with the exception being the escape character is % instead of \. Use ^ to denote the beginning of the line. %w is a multiple letter (non space) wildcardĬharacters such as (, [ and < must be escaped in a regular expression, or else they will be read as expression code. The regular expression for this would be ^%(HP:%d EP:%d %): $ You escape special characters with the % placed right before it. ![]() The first %d tells it to look for either a single or multiple digit HP value %( escapes the ( in my prompt so that it is read as an actual text character ^ here denotes that it is starting the line. The space and $ at the end of the regular expression is due to the mud adding a space to all prompts at the end of the line.Īdding my prompt to the mapper was done with the following command: The second %d after "EP:" tells it to look for a second digit value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |