mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 06:18:21 +00:00
command grammar
This commit is contained in:
@@ -55,7 +55,7 @@ void bot_command_blocked_buffs(Client* c, const Seperator* sep)
|
|||||||
|
|
||||||
std::vector<std::string> actionables =
|
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 = { };
|
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 =
|
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 = { };
|
std::vector<std::string> options = { };
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ void bot_command_bot_settings(Client* c, const Seperator* sep)
|
|||||||
{
|
{
|
||||||
std::list<const char*> subcommand_list;
|
std::list<const char*> subcommand_list;
|
||||||
subcommand_list.push_back("behindmob");
|
subcommand_list.push_back("behindmob");
|
||||||
|
subcommand_list.push_back("blockedbuffs");
|
||||||
|
subcommand_list.push_back("blockedpetbuffs");
|
||||||
subcommand_list.push_back("distanceranged");
|
subcommand_list.push_back("distanceranged");
|
||||||
subcommand_list.push_back("copysettings");
|
subcommand_list.push_back("copysettings");
|
||||||
subcommand_list.push_back("defaultsettings");
|
subcommand_list.push_back("defaultsettings");
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ void bot_command_cast(Client* c, const Seperator* sep)
|
|||||||
|
|
||||||
std::vector<std::string> actionables =
|
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 = { };
|
std::vector<std::string> options = { };
|
||||||
|
|||||||
@@ -50,18 +50,12 @@ void bot_command_copy_settings(Client* c, const Seperator* sep)
|
|||||||
|
|
||||||
std::vector<std::string> actionables =
|
std::vector<std::string> actionables =
|
||||||
{
|
{
|
||||||
"target, byname, ownergroup, ownerraid",
|
"target, byname, ownergroup, ownerraid, targetgroup, namesgroup, healrotationtargets, mmr, byclass, byrace, spawned"
|
||||||
"targetgroup, namesgroup, healrotationtargets",
|
|
||||||
"mmr, byclass, byrace, spawned"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
std::vector<std::string> options =
|
std::vector<std::string> options =
|
||||||
{
|
{
|
||||||
"all, misc, spellsettings, spelltypesettings",
|
"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"
|
||||||
"holds, delays, minthresholds, maxthresholds",
|
|
||||||
"minmanapct, maxmanapct, minhppct, maxhppct",
|
|
||||||
"idlepriority, engagedpriority, pursuepriority",
|
|
||||||
"aggrochecks, targetcounts"
|
|
||||||
};
|
};
|
||||||
std::vector<std::string> options_one =
|
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 =
|
std::vector<std::string> options_two =
|
||||||
{
|
{
|
||||||
"[misc] copies all miscellaneous options such as:",
|
"[misc] copies all miscellaneous options such as:",
|
||||||
"- ^showhelm, ^followd, ^stopmeleelevel",
|
"- ^showhelm, ^followd, ^stopmeleelevel, ^enforcespellsettings, ^bottoggleranged, ^petsettype, ^behindmob, ^distanceranged, ^illusionblock, ^sitincombat, ^sithppercent, ^sitmanapercent, ^blockedbuffs, ^blockedpetbuffs",
|
||||||
"- ^enforcespellsettings, ^bottoggleranged, ^petsettype",
|
|
||||||
"- ^behindmob, ^distanceranged, ^illusionblock",
|
|
||||||
"- ^sitincombat, ^sithppercent and ^sitmanapercent",
|
|
||||||
|
|
||||||
};
|
};
|
||||||
std::vector<std::string> options_three =
|
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 =
|
std::vector<std::string> options =
|
||||||
{
|
{
|
||||||
"all",
|
"all",
|
||||||
"misc"
|
"misc",
|
||||||
"spellsettings",
|
"spellsettings",
|
||||||
"spelltypesettings",
|
"spelltypesettings",
|
||||||
"holds",
|
"spellholds",
|
||||||
"delays",
|
"spelldelays",
|
||||||
"minthresholds",
|
"spellminthresholds",
|
||||||
"maxthresholds",
|
"spellmaxthresholds",
|
||||||
"aggrochecks",
|
"spellminmanapct",
|
||||||
"minmanapct",
|
"spellmaxmanapct",
|
||||||
"maxmanapct",
|
"spellminhppct",
|
||||||
"minhppct",
|
"spellmaxhppct",
|
||||||
"maxhppct",
|
"spellidlepriority",
|
||||||
"idlepriority",
|
"spellengagedpriority",
|
||||||
"engagedpriority",
|
"spellpursuepriority",
|
||||||
"pursuepriority",
|
"spellaggrochecks",
|
||||||
"targetcounts"
|
"spelltargetcounts",
|
||||||
|
"showhelm",
|
||||||
|
"followd",
|
||||||
|
"stopmeleelevel",
|
||||||
|
"enforcespellsettings",
|
||||||
|
"bottoggleranged",
|
||||||
|
"petsettype",
|
||||||
|
"behindmob",
|
||||||
|
"distanceranged",
|
||||||
|
"illusionblock",
|
||||||
|
"sitincombat",
|
||||||
|
"sithppercent",
|
||||||
|
"sitmanapercent",
|
||||||
|
"blockedbuffs",
|
||||||
|
"blockedpetbuffs"
|
||||||
};
|
};
|
||||||
|
|
||||||
for (int i = 0; i < options.size(); i++) {
|
for (int i = 0; i < options.size(); i++) {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ void bot_command_default_settings(Client* c, const Seperator* sep)
|
|||||||
|
|
||||||
std::vector<std::string> actionables =
|
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 =
|
std::vector<std::string> options =
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
|
|||||||
|
|
||||||
std::vector<std::string> actionables =
|
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 = { };
|
std::vector<std::string> options = { };
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ void bot_command_spell_aggro_checks(Client* c, const Seperator* sep)
|
|||||||
|
|
||||||
std::vector<std::string> actionables =
|
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 = { };
|
std::vector<std::string> options = { };
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ void bot_command_spell_delays(Client* c, const Seperator* sep)
|
|||||||
|
|
||||||
std::vector<std::string> actionables =
|
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 = { };
|
std::vector<std::string> options = { };
|
||||||
|
|||||||
Reference in New Issue
Block a user