Difference between revisions of "AREAS"
(Created page with "{{CoffeeMUDWikiTOC}} {{CoffeeMUDCommandsTOC}} __NOTOC__ {{CommandTemplate|Name=AREAS|Usage=AREAS ("FILTER EXPRESSION") (SORT="SORTTYPE")|Examples=areas areas $population > 10...") |
(→Notes) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
===Notes=== | ===Notes=== | ||
− | . | + | *The filter uses a different engine than sorting does. In the string expression engine, *ALL* variables must begin with $ . However, in sorting, the column names aren't being evaluated; the name itself is the relevant data. |
+ | *To find areas with evil mobs: | ||
+ | **areas $med_alignment <= -2500 sort=med_level. | ||
+ | *To find areas with good mobs: | ||
+ | **areas $med_alignment >= 2500 sort=med_level. |
Latest revision as of 18:26, 7 December 2023
CoffeeMUD |
---|
Administrator Builder Player |
=CoffeeMUD Player Information= | |||
---|---|---|---|
Basics | Info Commands Socials Combat Groups | Character | Stats Races Classes Abilities Expertises Achievements |
World | Deities Areas Property Quests Clans Triumphs | Items | Items Crafting Ships |
=CoffeeMUD Commands= |
---|
Account Character Combat Commerce Communication Configuration Items Movement Role Play Sailing Ships |
Special A B C D E F G H I J K L M N O P Q R S T U V W Y |
===AREAS=== | |
---|---|
Usage: | AREAS ("FILTER EXPRESSION") (SORT="SORTTYPE") |
Examples: | areas
areas $population > 10 or ($avg_level < 5 and $avg_level > 2) areas $med_alignment >= 7500 areas $med_alignment >= 7500 sort=med_level |
Shorts: | |
Description: | This command will list all the areas in the known world of the game.
You can also filter the list by entering a expression that tests various statistics about the area in order to help find the one you want. You can use any normal mathematical calculation and comparisons ), (, )=, =, !=, (), (=, and can combine expressions using "and" or "or". Use parenthesis to affect the order of evaulation. Most importantly, you can test any of the following variables about the areas: $POPULATION, $MIN_LEVEL, $MAX_LEVEL, $AVG_LEVEL, $MED_LEVEL, $AVG_ALIGNMENT, $MED_ALIGNMENT, $TOTAL_LEVELS, $TOTAL_INTELLIGENT_LEVELS, $VISITABLE_ROOMS You can sort the list by the same variables that can be filtered, which will cause the display to show the value of that stat alongside the area name. You can also sort by REVERSE (name), LEVEL, and AUTHOR. You may also enter HELP (AREA NAME) to get more help on the areas you see listed with this command. |
Notes
- The filter uses a different engine than sorting does. In the string expression engine, *ALL* variables must begin with $ . However, in sorting, the column names aren't being evaluated; the name itself is the relevant data.
- To find areas with evil mobs:
- areas $med_alignment <= -2500 sort=med_level.
- To find areas with good mobs:
- areas $med_alignment >= 2500 sort=med_level.