command grammar

This commit is contained in:
nytmyr
2024-12-17 13:10:34 -06:00
parent 7ce37819f7
commit e1d4a68d89
8 changed files with 40 additions and 33 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ void bot_command_blocked_buffs(Client* c, const Seperator* sep)
std::vector<std::string> actionables =
{
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets mmr, byclass, byrace, spawned"
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
};
std::vector<std::string> options = { };
@@ -313,7 +313,7 @@ void bot_command_blocked_pet_buffs(Client* c, const Seperator* sep)
std::vector<std::string> actionables =
{
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets mmr, byclass, byrace, spawned"
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
};
std::vector<std::string> options = { };
+2
View File
@@ -4,6 +4,8 @@ void bot_command_bot_settings(Client* c, const Seperator* sep)
{
std::list<const char*> subcommand_list;
subcommand_list.push_back("behindmob");
subcommand_list.push_back("blockedbuffs");
subcommand_list.push_back("blockedpetbuffs");
subcommand_list.push_back("distanceranged");
subcommand_list.push_back("copysettings");
subcommand_list.push_back("defaultsettings");
+1 -1
View File
@@ -68,7 +68,7 @@ void bot_command_cast(Client* c, const Seperator* sep)
std::vector<std::string> actionables =
{
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets mmr, byclass, byrace, spawned"
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
};
std::vector<std::string> options = { };
+31 -26
View File
@@ -50,18 +50,12 @@ void bot_command_copy_settings(Client* c, const Seperator* sep)
std::vector<std::string> actionables =
{
"target, byname, ownergroup, ownerraid",
"targetgroup, namesgroup, healrotationtargets",
"mmr, byclass, byrace, spawned"
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
};
std::vector<std::string> options =
{
"all, misc, spellsettings, spelltypesettings",
"holds, delays, minthresholds, maxthresholds",
"minmanapct, maxmanapct, minhppct, maxhppct",
"idlepriority, engagedpriority, pursuepriority",
"aggrochecks, targetcounts"
"all, misc, spellsettings, spelltypesettings, spellholds, spelldelays, spellminthresholds, spellmaxthresholds, spellminmanapct, spellmaxmanapct, spellminhppct, spellmaxhppct, spellidlepriority, spellengagedpriority, spellpursuepriority, spellaggrochecks, spelltargetcounts, showhelm, followd, stopmeleelevel, enforcespellsettings, bottoggleranged, petsettype, behindmob, distanceranged, illusionblock, sitincombat, sithppercent, sitmanapercent, blockedbuffs, blockedpetbuffs"
};
std::vector<std::string> options_one =
{
@@ -72,10 +66,7 @@ void bot_command_copy_settings(Client* c, const Seperator* sep)
std::vector<std::string> options_two =
{
"[misc] copies all miscellaneous options such as:",
"- ^showhelm, ^followd, ^stopmeleelevel",
"- ^enforcespellsettings, ^bottoggleranged, ^petsettype",
"- ^behindmob, ^distanceranged, ^illusionblock",
"- ^sitincombat, ^sithppercent and ^sitmanapercent",
"- ^showhelm, ^followd, ^stopmeleelevel, ^enforcespellsettings, ^bottoggleranged, ^petsettype, ^behindmob, ^distanceranged, ^illusionblock, ^sitincombat, ^sithppercent, ^sitmanapercent, ^blockedbuffs, ^blockedpetbuffs",
};
std::vector<std::string> options_three =
@@ -120,22 +111,36 @@ void bot_command_copy_settings(Client* c, const Seperator* sep)
std::vector<std::string> options =
{
"all",
"misc"
"misc",
"spellsettings",
"spelltypesettings",
"holds",
"delays",
"minthresholds",
"maxthresholds",
"aggrochecks",
"minmanapct",
"maxmanapct",
"minhppct",
"maxhppct",
"idlepriority",
"engagedpriority",
"pursuepriority",
"targetcounts"
"spellholds",
"spelldelays",
"spellminthresholds",
"spellmaxthresholds",
"spellminmanapct",
"spellmaxmanapct",
"spellminhppct",
"spellmaxhppct",
"spellidlepriority",
"spellengagedpriority",
"spellpursuepriority",
"spellaggrochecks",
"spelltargetcounts",
"showhelm",
"followd",
"stopmeleelevel",
"enforcespellsettings",
"bottoggleranged",
"petsettype",
"behindmob",
"distanceranged",
"illusionblock",
"sitincombat",
"sithppercent",
"sitmanapercent",
"blockedbuffs",
"blockedpetbuffs"
};
for (int i = 0; i < options.size(); i++) {
+1 -1
View File
@@ -50,7 +50,7 @@ void bot_command_default_settings(Client* c, const Seperator* sep)
std::vector<std::string> actionables =
{
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets mmr, byclass, byrace, spawned"
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
};
std::vector<std::string> options =
+1 -1
View File
@@ -48,7 +48,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
std::vector<std::string> actionables =
{
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets mmr, byclass, byrace, spawned"
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
};
std::vector<std::string> options = { };
+1 -1
View File
@@ -70,7 +70,7 @@ void bot_command_spell_aggro_checks(Client* c, const Seperator* sep)
std::vector<std::string> actionables =
{
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets mmr, byclass, byrace, spawned"
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
};
std::vector<std::string> options = { };
+1 -1
View File
@@ -76,7 +76,7 @@ void bot_command_spell_delays(Client* c, const Seperator* sep)
std::vector<std::string> actionables =
{
"target, byname, ownergroup, ownerraid targetgroup, namesgroup, healrotationtargets mmr, byclass, byrace, spawned"
"target, byname, ownergroup, ownerraid targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
};
std::vector<std::string> options = { };