From 94d5491052a04b65c4b47806a2bac9987da72c98 Mon Sep 17 00:00:00 2001 From: Asriel Camora Date: Wed, 19 Jun 2024 14:35:17 -0700 Subject: [PATCH] More command aliases --- Craftimizer/Plugin.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Craftimizer/Plugin.cs b/Craftimizer/Plugin.cs index 4408443..1742bd6 100644 --- a/Craftimizer/Plugin.cs +++ b/Craftimizer/Plugin.cs @@ -81,13 +81,21 @@ public sealed class Plugin : IDalamudPlugin { HelpMessage = "Open the crafting macros window.", }); + Service.CommandManager.AddHandler("/macrolist", new CommandInfo((_, _) => OpenMacroListWindow()) + { + HelpMessage = "Open the crafting macros window.", + }); Service.CommandManager.AddHandler("/crafteditor", new CommandInfo((_, _) => OpenEmptyMacroEditor()) { HelpMessage = "Open the crafting macro editor.", }); + Service.CommandManager.AddHandler("/macroeditor", new CommandInfo((_, _) => OpenEmptyMacroEditor()) + { + HelpMessage = "Open the crafting macro editor.", + }); Service.CommandManager.AddHandler("/craftaction", new CommandInfo((_, _) => ExecuteSuggestedSynthHelperAction()) { - HelpMessage = "Execute the suggested action in the synthesis helper. This command mostly exists for controller players.", + HelpMessage = "Execute the suggested action in the synthesis helper. Can also be run inside a macro. This command is useful for controller players.", }); }