Add api function to get areas matching pattern/in range
Switch to a single chat command with subcommands