feat(Scripts/Commands): Add command ".npc do" for calling DoAction() (#24281)

This commit is contained in:
Gultask
2026-01-01 05:42:12 -03:00
committed by GitHub
parent a3a7435ac3
commit 4a33c8f11e
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
--
DELETE FROM `acore_string` WHERE `entry` = 603;
INSERT INTO `acore_string` (`entry`, `content_default`) VALUES
(603, 'Do Action performed on [GUID: {}, entry: {}, name: {}] Action: {}');
DELETE FROM `command` WHERE `name` = 'npc do';
INSERT INTO `command` (`name`, `security`, `help`) VALUES
('npc do', 3, 'Syntax: .npc do $action\nRequests the NPC to perform DoAction with the specified ActionID. Used for testing scripts.');