mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 20:48:26 +00:00
[Commands] Add entity variable command (#3345)
* [Commands] Add entity variable commands # Commands - Add `#clearentityvariables` to clear all entity variables from yourself or your target. - Add `#deleteentityvariable [Variable Name]` to delete an entity variable from yourself or your target. - Add `#setentityvariable [Variable Name] [Variable Value]` to set an entity variable for yourself or your target. - Add `#viewentityvariables [Search Criteria]` to view your or your target's entity variables. # Notes - `#setentityvariable` can use multi-word names/values by using double quotes like `#setentityvariable "Test Variable" "Test Value"`. - `#viewentityvariable` does not require a search criteria, not using one shows all entity variables on yourself or your target. * Update viewentityvariables.cpp * Unnecessary parameter. * Consolidate commands. * Update entityvariable.cpp * Update command.cpp * Proper arguments.
This commit is contained in:
@@ -131,6 +131,7 @@ int command_init(void)
|
||||
command_add("emptyinventory", "Clears your or your target's entire inventory (Equipment, General, Bank, and Shared Bank)", AccountStatus::GMImpossible, command_emptyinventory) ||
|
||||
command_add("enablerecipe", "[Recipe ID] - Enables a Recipe", AccountStatus::QuestTroupe, command_enablerecipe) ||
|
||||
command_add("endurance", "Restores your or your target's endurance.", AccountStatus::Guide, command_endurance) ||
|
||||
command_add("entityvariable", "[clear|delete|set|view] - Modify entity variables for yourself or your target", AccountStatus::GMAdmin, command_entityvariable) ||
|
||||
command_add("exptoggle", "[Toggle] - Toggle your or your target's experience gain.", AccountStatus::QuestTroupe, command_exptoggle) ||
|
||||
command_add("faction", "[Find (criteria | all ) | Review (criteria | all) | Reset (id)] - Resets Player's Faction", AccountStatus::QuestTroupe, command_faction) ||
|
||||
command_add("factionassociation", "[factionid] [amount] - triggers a faction hits via association", AccountStatus::GMLeadAdmin, command_faction_association) ||
|
||||
@@ -977,6 +978,7 @@ void command_bot(Client *c, const Seperator *sep)
|
||||
#include "gm_commands/emptyinventory.cpp"
|
||||
#include "gm_commands/enablerecipe.cpp"
|
||||
#include "gm_commands/endurance.cpp"
|
||||
#include "gm_commands/entityvariable.cpp"
|
||||
#include "gm_commands/exptoggle.cpp"
|
||||
#include "gm_commands/faction.cpp"
|
||||
#include "gm_commands/feature.cpp"
|
||||
|
||||
Reference in New Issue
Block a user