Command help cleanup

This commit is contained in:
nytmyr
2024-11-26 11:18:11 -06:00
parent 4702d74722
commit 3d67009de5
27 changed files with 300 additions and 315 deletions
+10 -12
View File
@@ -63,13 +63,16 @@ void bot_command_illusion_block(Client* c, const Seperator* sep)
popup_text = DialogueWindow::Table(popup_text);
c->SendPopupToClient(sep->arg[0], popup_text.c_str());
c->Message(
Chat::Yellow,
fmt::format(
"Use {} for information about race/class IDs.",
Saylink::Silent("^classracelist")
).c_str()
);
if (RuleB(Bots, SendClassRaceOnHelp)) {
c->Message(
Chat::Yellow,
fmt::format(
"Use {} for information about race/class IDs.",
Saylink::Silent("^classracelist")
).c_str()
);
}
return;
@@ -77,11 +80,6 @@ void bot_command_illusion_block(Client* c, const Seperator* sep)
std::string arg1 = sep->arg[1];
if (!arg1.compare("listid") || !arg1.compare("listname")) {
c->CastToBot()->SendSpellTypesWindow(c, sep->arg[0], sep->arg[1], sep->arg[2]);
return;
}
int ab_arg = 1;
bool current_check = false;
uint32 typeValue = 0;