feat(Scripts/Commands): Implement opendoor command (#21136)

This commit is contained in:
Andrew
2025-01-10 20:48:58 -03:00
committed by GitHub
parent 8b21b6150f
commit 07937d34da
3 changed files with 28 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
--
DELETE FROM `acore_string` WHERE `entry` IN (5086, 5087);
INSERT INTO `acore_string` (`entry`, `content_default`) VALUES
(5086, 'No doors found within range ({} yards).'),
(5087, 'Door {} (Entry: {}) opened!');
DELETE FROM `command` WHERE `name` = 'opendoor';
INSERT INTO `command` (`name`, `security`, `help`) VALUES
('opendoor', 1, 'Syntax: .opendoor [$range]\nOpens the nearest door within the range provided (default 5.0yd)');