Core/Commands: Implemented mmaps commands.

This commit is contained in:
Venugh
2012-09-06 00:36:24 +02:00
parent e7c0d8bef0
commit c9eb42f246
4 changed files with 305 additions and 0 deletions
@@ -0,0 +1,9 @@
DELETE FROM `command` WHERE `name`='mmap' OR `name` LIKE 'mmap%';
INSERT INTO `command` (`name`, `security`, `help`) VALUES
('mmap', 3, 'Syntax: Syntax: .mmaps $subcommand Type .mmaps to see the list of possible subcommands or .help mmaps $subcommand to see info on subcommands'),
('mmap path', 3, 'Syntax: .mmap path to calculate and show a path to current select unit'),
('mmap loc', 3, 'Syntax: .mmap loc to print on which tile one is'),
('mmap loadedtiles', 3, 'Syntax: .mmap loadedtiles to show which tiles are currently loaded'),
('mmap stats', 3, 'Syntax: .mmap stats to show information about current state of mmaps'),
('mmap testarea', 3, 'Syntax: .mmap testarea to calculate paths for all nearby npcs to player');