Agents are tools to help you reduce the amount of button-click, click-drag, and other repetitive tasks within the Enhanced Client UI. Agents process UI controls at the same speed as a mouse click or button press, but can dramatically reduce the amounts of those types of user inputs needed to interact with the game. For things you have to do over and over again as a player, which is most of UO's inventory management, agents help you get back to playing the game, instead of playing the UI. If you find yourself constantly having to bother with item management and are feeling less enjoyment for UO because of it, try setting up an agent or two. Agents can make a world of difference in your engagement and happiness with UO.
If on the other hand, you really enjoy the fine control of moving each item from one place to another, you are free to continue doing so! Agents do not replace the basic discrete control over every item in the game, but instead provide a way to scale that control so that those players who do not enjoy moving each piece again and again, do not have to.
Six Agents are present in the Enhanced Client, each with a unique function. The [[Enhanced Client Guide]] has a tutorial for each:
Each character has their own unique agents. So, your fisher can have a different set of agents than your scribe. This is wonderful for customizing agents to fit each character's tasks, but also means there are no "global" agents. You will need to build each agent for each character. Building an agent once, or even a couple of times isn't bad. However, as you build more complex agents, or want to use the same agent on multiple characters, the task of building agents can become daunting. What follows is a set of instructions for finding your character's agent information. Once you know where the information is, you can back up an agent or agents to a .txt file, or export the agent to other characters.
Every character has a unique [[Enhanced Client Character File |character file]]. Within each [[Enhanced Client Character File |character file]] is a set of data which record all of the information about that character's agents. Each agent has a unique set of data. The data is contained in the last section, , of the [[Enhanced Client Character File |character file]]. The section has four subsections: StringVar, WStringVar, BoolVar, and NumberVar. Some agents have data in each section, some do not.
For most of the data, the entries will look something like Organizer1it1Name, which would be read "organizer 1, item 1 name". However, for certain lines of data the format is different. For example
is read as "Organizer 1 Items = 6", or there are 6 items in Organizer 1.
The line
would be read as "Organizer 2 Items = 8", or there are 8 items in Organizer 2.
These differences in syntax are called out in each example below, but are still worth highlighting in this introduction.
The data for each agent is unique to an agent and will have that agent's identifier (Buy1, Sell3, Restock5, etc.) somewhere in the lines of code associated with that agent. Most of the data for an agent will be grouped together in UIVaraibles by subsection (StringVar, WStringVar, BoolVar, or NumberVar). So, all of Sell3's data in NumberVar is likely to be in sequential lines of code, or a code chunk. However, there are two data lines for each type of agent which are shared between all agents of that type. There are two lines of code within the character file which relate to all the buy agents, two lines of code which relate to all the organizers, two lines of code which relate to all the undress agents, etc. These two lines are always in the NumberVar subsection of UIVariables, but can be anywhere in the subsection, as the lines are written and updated as agents are created and deleted. The two lines look like
--Total number of Buy Agents for this character (7)
--Active Buy Agent for this character (3)
where "Buy" will be replaced by "Organizer" or "Restock" depending on which agents the lines are associated with. When exporting or importing agents, these two lines do not need to be copied over, but they do need to be updated. As with syntax differences, these two lines are called out in each example below but are mentioned here to explicitly denote these two lines per agent as different from the other agent data.
Now, let us go through an example of each agent's data, to detail how agent data is stored.
Buy Agent
A buy agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of a buy agent to purchase items for poisoning. This is the first buy agent for this character, so it is listed as "Buy1". If you had a second buy agent for this character, that agent's associated data would be listed as "Buy2", etc.
--Buy1 Item1
--Buy1 Item2
--Buy1 Item3
PoisonTrain --Name of Buy Agent 1
--The number of items(value=3) in Buy Agent 1 (Buys_Items1)
--Buy1 Item1 icon
--Buy1 Item1 color
--Buy1 Item1 quantity
--Buy1 Item2 icon
--Buy1 Item2 color
--Buy1 Item2 quantity
--Buy1 Item3 icon
--Buy1 Item3 color
--Buy1 Item3 quantity
The entirety of this buy agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the buy agent. Since all of the data for this buy agent is stored as icon data, not specific objectID data, this buy agent is generic. You could copy the blockquote above into any character file, but you would need to account for three potential conflicts. First, the comments would need to be removed. Second, you would need to ensure the agent number (Buy1) did not conflict with an existing agent. If a character already had, say, two buy agents, you would need to rename all of this agent's data Buy3. Third, you would need to change the value in an additional line in the NumberVar subsection of UIVariables
--Total number of Buy Agents for this character (2) prior to import
to reflect the acutal number of buy agents that character has. If a character had zero buy agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had two buy agents and you imported a third buy agent, then you would need to update the line so that value=3
--Total number of Buy Agents for this character (3) after import
This particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with buy agent data, as the line is written when that character's second buy agent is created. If you import additional buy agents, but don't update this line, then not all buy agents will be shown in game. A character could have seven buy agents, but if OrganizerBuys value=3, only three of the seven buy agents would been seen in game.
One additional line is written to the character file when you set a buy agent as the active agent.
--Active Buy Agent for this character
This line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select a buy agent in game. This line does not have to be manually updated, as value="" simply controls the buy agent which will run when you click the buy agent button. This line will automatically update as you select different buy agents in game.
Organizer Agent
An organizer agent stores data in all four subsections of : StringVar, WStringVar, BoolVar, and NumberVar. Here is a commented example of an organizer to move gems. This is the first organizer agent for this character, so it is listed as "Organizer1". If you had a second organizer agent for this character, that agent's associated data would be listed as "Organizer2", etc.
--The number of items (value=10) in Organizer Agent 1 (Organizers_Items1)
--No destination container for Organizer 1
If a default container was set for this organizer (a container into which the organizer will place the gems), the final line would have a number instead of 0's.
--Destination container objectID for Organizer 1
The entirety of this organizer agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the organizer agent. Since all of the data for this organizer agent is stored as icon data, not specific objectID data, this organizer agent is generic. You could copy the blockquote above into any character file, but you would need to account for four potential conflicts. First, the comments would need to be removed. Second, you should reset the destination container. Third, you would need to ensure the agent number (Organizer1) did not conflict with an existing agent. If a character already had an organizer agent, you would need to rename all of this agent's data Organizer2. Fourth, you would need to change the value in an additional line in the NumberVar subsection of UIVariables
--Total number of Organizer Agents for this character (1) prior to import
to reflect the acutal number of organizer agents that character has. If a character had zero organizer agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had one organizer agent and you imported a second organizer agent, then you would need to update the line so that value=2
--Total number of Organizer Agents for this character (2) after import
This particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with organizer agent data, as the line is written when that character's second organizer agent is created. If you import additional organizer agents, but don't update this line, then not all organizer agents will be shown in game. A character could have four organizer agents, but if OrganizerOrganizers value=2, only two of the four organizer agents would been seen in game.
One additional line is written to the character file when you set a organizer agent as the active agent.
--Active Organizer Agent for this character
This line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select an organizer agent in game. This line does not have to be manually updated, as value="" simply controls the organizer agent which will run when you click the organizer agent button. This line will automatically update as you select different organizer agents in game.
Restock Agent
A restock agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of a restock agent to pick up items for carpentry. This is the second restock agent for this character, so it is listed as "Restock2". The first restock agent for this character will have it's associated data listed as "Restock1" and if you added a third restock agent, that agent's associated data would be listed as "Restock3", etc.
--Restock2 Item1
--Restock2 Item2
Carpentry --Name of Restock Agent 2
--The number of items (value=2) in Restock Agent 2 (Restocks_Items2)
--Restock2 Item1 icon
--Restock2 Item1 color
--Restock2 Item1 quantity
--Restock2 Item2 icon
--Restock2 Item2 color
--Restock2 Item2 quantity
--Default container objectID (value=1103322826) for Restock Agent 2 (Restocks_Cont2)
A default container is set for this restock (a container into which the restock will place the items) and is recorded in the line
--Destination container objectID for Restock 2
If no default container was set for this restock, then "value" would be 0
--No destination container for Restock 2
The entirety of this restock agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the restock agent. Since all of the data for this restock agent is stored as icon data, not specific objectID data, this restock agent is generic. You could copy the blockquote above into any character file, but you would need to account for four potential conflicts. First, the comments would need to be removed. Second, you should reset the destination container. Third, you would need to ensure the agent number (Restock2) did not conflict with an existing agent. If a character already had two restock agents, you would need to rename all of this agent's data Restock3. Fourth, you would need to change the value in the additional line in the NumberVar subsection of UIVariables
--Total number of Restock Agents for this character (2) prior to import
to reflect the acutal number of restock agents that character has. If a character had zero restock agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had two restock agents and you imported a third restock agent, then you would need to update the line so that value=3
--Total number of Restock Agents for this character (3) after import
This particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with restock agent data, as the line is written when that character's second restock agent is created. If you import additional restock agents, but don't update this line, then not all restock agents will be shown in game. A character could have four restock agents, but if OrganizerRestocks value=3, only three of the four restock agents would been seen in game.
One additional line is written to the character file when you set a restock agent as the active agent.
--Active Restock Agent for this character
This line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select a restock agent in game. This line does not have to be manually updated, as value="" simply controls the restock agent which will run when you click the restock agent button. This line will automatically update as you select different restock agents in game.
Scavenger Agent
To switch scavengers, since no icon exists in game to do so, open the Agents Settings Window, select the scavenger you would like to be the active scavenger from the drop down menu and push the green "+" button, labeled "Set As Default", to the right of the "Agents:" drop down menu. If the current scavenger is already the active scavenger, the green "+" button will be replaced by the text "Default".
A scavenger agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of a scavenger agent to pick up gold at champion spawns. This is the first scavenger agent for this character, so it is listed as "Scavenger1". If you had a second scavenger agent for this character, that agent's associated data would be listed as "Scavenger2", etc.
--Scavenger1 Item1
Gold --Name of Scavenger Agent 1
--Default container objectID (1096317) for Scavenger Agent 1 (Scavengers_Cont1)
--The number of items (value=1) in Scavenger Agent 1 (Scavengers_Items1)
--Scavenger1 Item1 icon
--Scavenger1 Item1 hue
A default container is set for this scavenger (a container into which the scavenger will place the items) and is recorded in the line
--Destination container objectID for Scavenger 1
If no default container was set for this scavenger, then "value" would be 0
--No destination container for Scavenger 1
The entirety of this scavenger agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the scavenger agent. Since all of the data for this scavenger agent is stored as icon data, not specific objectID data, this scavenger agent is generic. You could copy the blockquote above into any character file, but you would need to account for four potential conflicts. First, the comments would need to be removed. Second, you should reset the default container. Third, you would need to ensure the agent number (Scavenger1) did not conflict with an existing agent. If a character already had two scavenger agents, you would need to rename all of this agent's data Scavenger3. Fourth, you would need to change the value in the additional line in the NumberVar subsection of UIVariables
--Total number of Scavenger Agents for this character (2) prior to import
to reflect the acutal number of scavenger agents that character has. If a character had zero scavenger agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had two scavenger agents and you imported a third scavenger agent, then you would need to update the line so that value=3
--Total number of Scavenger Agents for this character (3) after import
This particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with scavenger agent data, as the line is written when that character's second scavenger agent is created. If you import additional scavenger agents, but don't update this line, then not all scavenger agents will be shown in game. A character could have three scavenger agents, but if OrganizerScavengers value=1, only one of the three scavenger agents would been seen in game.
One additional line is written to the character file when you set a scavenger agent as the active agent.
--Active Scavenger Agent for this character
This line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select a scavenger agent in game. This line does not have to be manually updated, as value="" simply controls the scavenger agent which will run when you display object handles (Control+Shift by default). This line will automatically update as you select different scavenger agents in game.
Sell Agent
A sell agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of a sell agent to peddle reagents to shopkeepers. This is the first sell agent for this character, so it is listed as "Sell1". If you had a second sell agent for this character, that agent's associated data would be listed as "Sell2", etc.
--The number of items(value=8) in Sell Agent 1 (Sells_Items1)
--Sell1 Item1 icon
--Sell1 Item1 color
--Sell1 Item1 quantity
--Sell1 Item2 icon
--Sell1 Item2 color
--Sell1 Item2 quantity
--Sell1 Item3 icon
--Sell1 Item3 color
--Sell1 Item3 quantity
--Sell1 Item4 icon
--Sell1 Item4 color
--Sell1 Item4 quantity
--Sell1 Item5 icon
--Sell1 Item5 color
--Sell1 Item5 quantity
--Sell1 Item6 icon
--Sell1 Item6 color
--Sell1 Item6 quantity
--Sell1 Item7 icon
--Sell1 Item7 color
--Sell1 Item7 quantity
--Sell1 Item8 icon
--Sell1 Item8 color
--Sell1 Item8 quantity
The entirety of this sell agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the sell agent. Since all of the data for this sell agent is stored as icon data, not specific objectID data, this sell agent is generic. You could copy the blockquote above into any character file, but you would need to account for three potential conflicts. First, the comments would need to be removed. Second, you would need to ensure the agent number (Sell1) did not conflict with an existing agent. If a character already had, say, two sell agents, you would need to rename all of this agent's data Sell3. Third, you would need to change the value in an additional line in the NumberVar subsection of UIVariables
--Total number of Sell Agents for this character (2) prior to import
to reflect the acutal number of sell agents that character has. If a character had zero sell agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had two sell agents and you imported a third sell agent, then you would need to update the line so that value=3
--Total number of Sell Agents for this character (3) after import
This particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with sell agent data, as the line is written when that character's second sell agent is created. If you import additional sell agents, but don't update this line, then not all sell agents will be shown in game. A character could have six sell agents, but if OrganizerSells value=3, only three of the six sell agents would been seen in game.
One additional line is written to the character file when you set a sell agent as the active agent.
--Active Sell Agent for this character
This line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select a sell agent in game. This line does not have to be manually updated, as value="" simply controls the sell agent which will run when you click the sell agent button. This line will automatically update as you select different sell agents in game.
Undress Agent
An undress agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of an undress agent to take off a hat and coat. This is the first undress agent for this character, so it is listed as "Undress1". If you had a second undress agent for this character, that agent's associated data would be listed as "Undress2", etc.
--Undress1 Item1
--Undress1 Item2
HatAndCoat --Name of Undress Agent 1
--Default container objectID (124589) for Undress Agent 1 (Undresses_Cont1)
--The number of items (value=2) in Undress Agent 1 (Undresses_Items1)
--Undress1 Item1 icon
--Undress1 Item1 color
--Undress1 Item1 objectID
--Undress1 Item2 icon
--Undress1 Item2 color
--Undress1 Item2 objectID
A default container is set for this undress (a container into which the undress will place the items) and is recorded in the line
--Destination container objectID for Undress 1
If no default container was set for this undress, then "value" would be 0
--No destination container for Undress 1
The entirety of this undress agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the undress agent. Unlike other agents, the data for this undress agent is stored as specific objectID data, not generic icon or hue data. Therefore this undress agent is not generic. If you wanted this undress to work with another character you would have to export both the undress agent and the specific pieces of gear to that other character. You could copy the blockquote above into any character file, but you would need to account for four potential conflicts. First, the comments would need to be removed. Second, you should reset the default container. Third, you would need to ensure the agent number (Undress1) did not conflict with an existing agent. If a character already had three undress agents, you would need to rename all of this agent's data Undress4. Fourth, you would need to change the value in an additional line in the NumberVar subsection of UIVariables
--Total number of Undress Agents for this character (3) prior to import
to reflect the acutal number of undress agents that character has. If a character had zero undress agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had three undress agents and you imported a fourth undress agent, then you would need to update the line so that value=4
--Total number of Undress Agents for this character (4) after import
This particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with undress agent data, as the line is written when that character's second undress agent is created. If you import additional undress agents, but don't update this line, then not all undress agents will be shown in game. A character could have four undress agents, but if OrganizerUndresses value=3, only three of the four undress agents would been seen in game.
One additional line is written to the character file when you set an undress agent as the active agent.
--Active Undress Agent for this character
This line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select an undress agent in game. This line does not have to be manually updated, as value="" simply controls the undress agent which will run when you click the undress agent button. This line will automatically update as you select different undress agents in game.
See Also
[[Enhanced Client]]
[[Enhanced Client Guide]]
Stratics Agents
UO.com wiki Agents
Block tree (JSON)
{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Agents are tools to help you reduce the amount of button-click, click-drag, and other repetitive tasks within the Enhanced Client UI. Agents process UI controls at the same speed as a mouse click or button press, but can dramatically reduce the amounts of those types of user inputs needed to interact with the game. For things you have to do over and over again as a player, which is most of UO's inventory management, agents help you get back to playing the game, instead of playing the UI. If you find yourself constantly having to bother with item management and are feeling less enjoyment for UO because of it, try setting up an agent or two. Agents can make a world of difference in your engagement and happiness with UO."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"If on the other hand, you really enjoy the fine control of moving each item from one place to another, you are free to continue doing so! Agents do not replace the basic discrete control over every item in the game, but instead provide a way to scale that control so that those players who do not enjoy moving each piece again and again, do not have to."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"Six Agents are present in the Enhanced Client, each with a unique function. The [[Enhanced Client Guide]] has a tutorial for each:"}],"attrs":{"align":null}},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"reference","attrs":{"target_type":"article","target_id":305,"label":"Buy Agent"}}],"attrs":{"align":null}}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"reference","attrs":{"target_type":"article","target_id":1289,"label":"Organizer Agent"}}],"attrs":{"align":null}}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"reference","attrs":{"target_type":"article","target_id":1485,"label":"Restock Agent"}}],"attrs":{"align":null}}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"reference","attrs":{"target_type":"article","target_id":1550,"label":null}}],"attrs":{"align":null}}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"reference","attrs":{"target_type":"article","target_id":305,"label":"Sell Agent"}}],"attrs":{"align":null}}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"reference","attrs":{"target_type":"article","target_id":1936,"label":"Undress Agent"}}],"attrs":{"align":null}}]}]},{"type":"heading","attrs":{"level":2},"content":[{"type":"text","text":"Agent backups and porting"}]},{"type":"paragraph","content":[{"type":"text","text":"Each character has their own unique agents. So, your fisher can have a different set of agents than your scribe. This is wonderful for customizing agents to fit each character's tasks, but also means there are no \"global\" agents. You will need to build each agent for each character. Building an agent once, or even a couple of times isn't bad. However, as you build more complex agents, or want to use the same agent on multiple characters, the task of building agents can become daunting. What follows is a set of instructions for finding your character's agent information. Once you know where the information is, you can back up an agent or agents to a .txt file, or export the agent to other characters."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"Every character has a unique [[Enhanced Client Character File |character file]]. Within each [[Enhanced Client Character File |character file]] is a set of data which record all of the information about that character's agents. Each agent has a unique set of data. The data is contained in the last section, , of the [[Enhanced Client Character File |character file]]. The section has four subsections: StringVar, WStringVar, BoolVar, and NumberVar. Some agents have data in each section, some do not."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"For most of the data, the entries will look something like Organizer1it1Name, which would be read \"organizer 1, item 1 name\". However, for certain lines of data the format is different. For example"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"is read as \"Organizer 1 Items = 6\", or there are 6 items in Organizer 1."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"The line"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"would be read as \"Organizer 2 Items = 8\", or there are 8 items in Organizer 2."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"These differences in syntax are called out in each example below, but are still worth highlighting in this introduction."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"The data for each agent is unique to an agent and will have that agent's identifier (Buy1, Sell3, Restock5, etc.) somewhere in the lines of code associated with that agent. Most of the data for an agent will be grouped together in UIVaraibles by subsection (StringVar, WStringVar, BoolVar, or NumberVar). So, all of Sell3's data in NumberVar is likely to be in sequential lines of code, or a code chunk. However, there are two data lines for each type of agent which are shared between all agents of that type. There are two lines of code within the character file which relate to all the buy agents, two lines of code which relate to all the organizers, two lines of code which relate to all the undress agents, etc. These two lines are always in the NumberVar subsection of UIVariables, but can be anywhere in the subsection, as the lines are written and updated as agents are created and deleted. The two lines look like \n \t\t\t--Total number of Buy Agents for this character (7) \n \t\t--Active Buy Agent for this character (3)\nwhere \"Buy\" will be replaced by \"Organizer\" or \"Restock\" depending on which agents the lines are associated with. When exporting or importing agents, these two lines do not need to be copied over, but they do need to be updated. As with syntax differences, these two lines are called out in each example below but are mentioned here to explicitly denote these two lines per agent as different from the other agent data."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"Now, let us go through an example of each agent's data, to detail how agent data is stored."}],"attrs":{"align":null}},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Buy Agent"}]},{"type":"paragraph","content":[{"type":"text","text":"A buy agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of a buy agent to purchase items for poisoning. This is the first buy agent for this character, so it is listed as \"Buy1\". If you had a second buy agent for this character, that agent's associated data would be listed as \"Buy2\", etc."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Buy1 Item1\n \t\t\t--Buy1 Item2\n \t\t\t--Buy1 Item3"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"PoisonTrain --Name of Buy Agent 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--The number of items(value=3) in Buy Agent 1 (Buys_Items1)"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Buy1 Item1 icon\n \t\t\t--Buy1 Item1 color\n \t\t\t--Buy1 Item1 quantity\n \t\t\t--Buy1 Item2 icon\n \t\t\t--Buy1 Item2 color\n \t\t\t--Buy1 Item2 quantity\n \t\t\t--Buy1 Item3 icon\n \t\t\t--Buy1 Item3 color\n \t\t\t--Buy1 Item3 quantity"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"The entirety of this buy agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the buy agent. Since all of the data for this buy agent is stored as icon data, not specific objectID data, this buy agent is generic. You could copy the blockquote above into any character file, but you would need to account for three potential conflicts. First, the comments would need to be removed. Second, you would need to ensure the agent number (Buy1) did not conflict with an existing agent. If a character already had, say, two buy agents, you would need to rename all of this agent's data Buy3. Third, you would need to change the value in an additional line in the NumberVar subsection of UIVariables\n \t\t\t--Total number of Buy Agents for this character (2) prior to import\nto reflect the acutal number of buy agents that character has. If a character had zero buy agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had two buy agents and you imported a third buy agent, then you would need to update the line so that value=3\n \t\t\t--Total number of Buy Agents for this character (3) after import\nThis particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with buy agent data, as the line is written when that character's second buy agent is created. If you import additional buy agents, but don't update this line, then not all buy agents will be shown in game. A character could have seven buy agents, but if OrganizerBuys value=3, only three of the seven buy agents would been seen in game."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"One additional line is written to the character file when you set a buy agent as the active agent.\n \t\t--Active Buy Agent for this character \nThis line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select a buy agent in game. This line does not have to be manually updated, as value=\"\" simply controls the buy agent which will run when you click the buy agent button. This line will automatically update as you select different buy agents in game."}],"attrs":{"align":null}},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Organizer Agent"}]},{"type":"paragraph","content":[{"type":"text","text":"An organizer agent stores data in all four subsections of : StringVar, WStringVar, BoolVar, and NumberVar. Here is a commented example of an organizer to move gems. This is the first organizer agent for this character, so it is listed as \"Organizer1\". If you had a second organizer agent for this character, that agent's associated data would be listed as \"Organizer2\", etc."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Organizer1 Item1\n --Organizer1 Item2\n \t\t--Organizer1 Item3\n \t\t--Organizer1 Item4\n \t\t--Organizer1 Item5\n \t\t--Organizer1 Item6\n --Organizer1 Item7\n \t--Organizer1 Item8\n \t--Organizer1 Item9\n \t--Organizer1 Item10"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"Gems\t--Name of Organizer Agent 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Do not close container when organizer completes"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Organizer1 Item 1 icon\n \t\t--Organizer1 Item 1 color\n \t\t--Organizer1 Item 1 objectID\n \t--Organizer1 Item 2 icon\n \t\t--Organizer1 Item 2 color\n \t\t--Organizer1 Item 2 objectID\n \t--Organizer1 Item 3 icon\n \t\t--Organizer1 Item 3 color\n \t\t--Organizer1 Item 3 objectID\n \t--Organizer1 Item 4 icon\n \t\t--Organizer1 Item 4 color\n \t\t--Organizer1 Item 4 objectID\n \t--Organizer1 Item 5 icon\n \t\t--Organizer1 Item 5 color\n \t\t--Organizer1 Item 5 objectID\n \t--Organizer1 Item 6 icon\n \t\t--Organizer1 Item 6 color\n \t\t--Organizer1 Item 6 objectID\n \t--Organizer1 Item 7 icon\n \t\t--Organizer1 Item 7 color\n \t\t--Organizer1 Item 7 objectID\n \t--Organizer1 Item 8 icon\n \t\t--Organizer1 Item 8 color\n \t\t--Organizer1 Item 8 objectID\n \t--Organizer1 Item 9 icon\n \t\t--Organizer1 Item 9 color\n \t\t--Organizer1 Item 9 objectID\n \t--Organizer1 Item 10 icon\n --Organizer1 Item 10 color\n \t\t--Organizer1 Item 10 objectID"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--The number of items (value=10) in Organizer Agent 1 (Organizers_Items1)\n --No destination container for Organizer 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"If a default container was set for this organizer (a container into which the organizer will place the gems), the final line would have a number instead of 0's.\n \t--Destination container objectID for Organizer 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"The entirety of this organizer agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the organizer agent. Since all of the data for this organizer agent is stored as icon data, not specific objectID data, this organizer agent is generic. You could copy the blockquote above into any character file, but you would need to account for four potential conflicts. First, the comments would need to be removed. Second, you should reset the destination container. Third, you would need to ensure the agent number (Organizer1) did not conflict with an existing agent. If a character already had an organizer agent, you would need to rename all of this agent's data Organizer2. Fourth, you would need to change the value in an additional line in the NumberVar subsection of UIVariables\n \t\t--Total number of Organizer Agents for this character (1) prior to import\nto reflect the acutal number of organizer agents that character has. If a character had zero organizer agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had one organizer agent and you imported a second organizer agent, then you would need to update the line so that value=2\n \t\t--Total number of Organizer Agents for this character (2) after import\nThis particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with organizer agent data, as the line is written when that character's second organizer agent is created. If you import additional organizer agents, but don't update this line, then not all organizer agents will be shown in game. A character could have four organizer agents, but if OrganizerOrganizers value=2, only two of the four organizer agents would been seen in game."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"One additional line is written to the character file when you set a organizer agent as the active agent.\n \t\t--Active Organizer Agent for this character \nThis line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select an organizer agent in game. This line does not have to be manually updated, as value=\"\" simply controls the organizer agent which will run when you click the organizer agent button. This line will automatically update as you select different organizer agents in game."}],"attrs":{"align":null}},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Restock Agent"}]},{"type":"paragraph","content":[{"type":"text","text":"A restock agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of a restock agent to pick up items for carpentry. This is the second restock agent for this character, so it is listed as \"Restock2\". The first restock agent for this character will have it's associated data listed as \"Restock1\" and if you added a third restock agent, that agent's associated data would be listed as \"Restock3\", etc."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Restock2 Item1\n \t\t\t--Restock2 Item2"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"Carpentry\t--Name of Restock Agent 2"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--The number of items (value=2) in Restock Agent 2 (Restocks_Items2)"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Restock2 Item1 icon\n \t\t\t--Restock2 Item1 color\n \t\t\t--Restock2 Item1 quantity\n \t\t--Restock2 Item2 icon\n \t\t\t--Restock2 Item2 color\n --Restock2 Item2 quantity"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Default container objectID (value=1103322826) for Restock Agent 2 (Restocks_Cont2)"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"A default container is set for this restock (a container into which the restock will place the items) and is recorded in the line\n --Destination container objectID for Restock 2\nIf no default container was set for this restock, then \"value\" would be 0\n \t\t--No destination container for Restock 2"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"The entirety of this restock agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the restock agent. Since all of the data for this restock agent is stored as icon data, not specific objectID data, this restock agent is generic. You could copy the blockquote above into any character file, but you would need to account for four potential conflicts. First, the comments would need to be removed. Second, you should reset the destination container. Third, you would need to ensure the agent number (Restock2) did not conflict with an existing agent. If a character already had two restock agents, you would need to rename all of this agent's data Restock3. Fourth, you would need to change the value in the additional line in the NumberVar subsection of UIVariables\n \t\t--Total number of Restock Agents for this character (2) prior to import\nto reflect the acutal number of restock agents that character has. If a character had zero restock agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had two restock agents and you imported a third restock agent, then you would need to update the line so that value=3\n \t\t--Total number of Restock Agents for this character (3) after import\nThis particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with restock agent data, as the line is written when that character's second restock agent is created. If you import additional restock agents, but don't update this line, then not all restock agents will be shown in game. A character could have four restock agents, but if OrganizerRestocks value=3, only three of the four restock agents would been seen in game."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"One additional line is written to the character file when you set a restock agent as the active agent.\n \t\t--Active Restock Agent for this character \nThis line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select a restock agent in game. This line does not have to be manually updated, as value=\"\" simply controls the restock agent which will run when you click the restock agent button. This line will automatically update as you select different restock agents in game."}],"attrs":{"align":null}},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Scavenger Agent"}]},{"type":"paragraph","content":[{"type":"text","text":"To switch scavengers, since no icon exists in game to do so, open the Agents Settings Window, select the scavenger you would like to be the active scavenger from the drop down menu and push the green \"+\" button, labeled \"Set As Default\", to the right of the \"Agents:\" drop down menu. If the current scavenger is already the active scavenger, the green \"+\" button will be replaced by the text \"Default\"."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"A scavenger agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of a scavenger agent to pick up gold at champion spawns. This is the first scavenger agent for this character, so it is listed as \"Scavenger1\". If you had a second scavenger agent for this character, that agent's associated data would be listed as \"Scavenger2\", etc."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Scavenger1 Item1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"Gold\t\t\t--Name of Scavenger Agent 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Default container objectID (1096317) for Scavenger Agent 1 (Scavengers_Cont1)"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--The number of items (value=1) in Scavenger Agent 1 (Scavengers_Items1)"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Scavenger1 Item1 icon\n \t\t\t\t--Scavenger1 Item1 hue"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"A default container is set for this scavenger (a container into which the scavenger will place the items) and is recorded in the line\n \t\t\t--Destination container objectID for Scavenger 1\nIf no default container was set for this scavenger, then \"value\" would be 0\n --No destination container for Scavenger 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"The entirety of this scavenger agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the scavenger agent. Since all of the data for this scavenger agent is stored as icon data, not specific objectID data, this scavenger agent is generic. You could copy the blockquote above into any character file, but you would need to account for four potential conflicts. First, the comments would need to be removed. Second, you should reset the default container. Third, you would need to ensure the agent number (Scavenger1) did not conflict with an existing agent. If a character already had two scavenger agents, you would need to rename all of this agent's data Scavenger3. Fourth, you would need to change the value in the additional line in the NumberVar subsection of UIVariables\n \t\t--Total number of Scavenger Agents for this character (2) prior to import\nto reflect the acutal number of scavenger agents that character has. If a character had zero scavenger agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had two scavenger agents and you imported a third scavenger agent, then you would need to update the line so that value=3\n \t\t--Total number of Scavenger Agents for this character (3) after import\nThis particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with scavenger agent data, as the line is written when that character's second scavenger agent is created. If you import additional scavenger agents, but don't update this line, then not all scavenger agents will be shown in game. A character could have three scavenger agents, but if OrganizerScavengers value=1, only one of the three scavenger agents would been seen in game."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"One additional line is written to the character file when you set a scavenger agent as the active agent.\n \t\t--Active Scavenger Agent for this character \nThis line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select a scavenger agent in game. This line does not have to be manually updated, as value=\"\" simply controls the scavenger agent which will run when you display object handles (Control+Shift by default). This line will automatically update as you select different scavenger agents in game."}],"attrs":{"align":null}},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Sell Agent"}]},{"type":"paragraph","content":[{"type":"text","text":"A sell agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of a sell agent to peddle reagents to shopkeepers. This is the first sell agent for this character, so it is listed as \"Sell1\". If you had a second sell agent for this character, that agent's associated data would be listed as \"Sell2\", etc."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Sell1 Item1\t\n \t\t--Sell1 Item2\n \t\t--Sell1 Item3\n \t\t--Sell1 Item4\n --Sell1 Item5\n \t\t--Sell1 Item6\n --Sell1 Item7\n --Sell1 Item8"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"Reagents\t--Name of Sell Agent 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--The number of items(value=8) in Sell Agent 1 (Sells_Items1)"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Sell1 Item1 icon\n \t\t--Sell1 Item1 color\n \t\t--Sell1 Item1 quantity\n \t\t--Sell1 Item2 icon\n \t\t--Sell1 Item2 color\n \t\t--Sell1 Item2 quantity\n \t\t--Sell1 Item3 icon\n \t\t--Sell1 Item3 color\n \t\t--Sell1 Item3 quantity\n \t\t--Sell1 Item4 icon\n \t\t--Sell1 Item4 color\n \t\t--Sell1 Item4 quantity\n \t\t--Sell1 Item5 icon\n \t\t--Sell1 Item5 color\n \t\t--Sell1 Item5 quantity\n \t\t--Sell1 Item6 icon\n \t\t--Sell1 Item6 color\n \t\t--Sell1 Item6 quantity\n \t\t--Sell1 Item7 icon\n \t\t--Sell1 Item7 color\n \t\t--Sell1 Item7 quantity\n \t\t--Sell1 Item8 icon\n \t\t--Sell1 Item8 color\n \t\t--Sell1 Item8 quantity"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"The entirety of this sell agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the sell agent. Since all of the data for this sell agent is stored as icon data, not specific objectID data, this sell agent is generic. You could copy the blockquote above into any character file, but you would need to account for three potential conflicts. First, the comments would need to be removed. Second, you would need to ensure the agent number (Sell1) did not conflict with an existing agent. If a character already had, say, two sell agents, you would need to rename all of this agent's data Sell3. Third, you would need to change the value in an additional line in the NumberVar subsection of UIVariables\n \t\t\t--Total number of Sell Agents for this character (2) prior to import\nto reflect the acutal number of sell agents that character has. If a character had zero sell agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had two sell agents and you imported a third sell agent, then you would need to update the line so that value=3\n \t\t\t--Total number of Sell Agents for this character (3) after import\nThis particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with sell agent data, as the line is written when that character's second sell agent is created. If you import additional sell agents, but don't update this line, then not all sell agents will be shown in game. A character could have six sell agents, but if OrganizerSells value=3, only three of the six sell agents would been seen in game."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"One additional line is written to the character file when you set a sell agent as the active agent.\n \t\t--Active Sell Agent for this character \nThis line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select a sell agent in game. This line does not have to be manually updated, as value=\"\" simply controls the sell agent which will run when you click the sell agent button. This line will automatically update as you select different sell agents in game."}],"attrs":{"align":null}},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Undress Agent"}]},{"type":"paragraph","content":[{"type":"text","text":"An undress agent stores data in three subsections of : StringVar, WStringVar, and NumberVar. Here is a commented example of an undress agent to take off a hat and coat. This is the first undress agent for this character, so it is listed as \"Undress1\". If you had a second undress agent for this character, that agent's associated data would be listed as \"Undress2\", etc."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Undress1 Item1\n --Undress1 Item2"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"HatAndCoat\t\t\t--Name of Undress Agent 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Default container objectID (124589) for Undress Agent 1 (Undresses_Cont1)"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--The number of items (value=2) in Undress Agent 1 (Undresses_Items1)"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"--Undress1 Item1 icon\n \t\t\t\t\t--Undress1 Item1 color\n \t\t\t\t--Undress1 Item1 objectID\n \t\t\t\t\t--Undress1 Item2 icon\n \t\t\t\t\t--Undress1 Item2 color\n \t\t\t\t--Undress1 Item2 objectID"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"A default container is set for this undress (a container into which the undress will place the items) and is recorded in the line\n \t\t\t\t--Destination container objectID for Undress 1\nIf no default container was set for this undress, then \"value\" would be 0\n \t\t\t\t--No destination container for Undress 1"}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"The entirety of this undress agent's data is in the blockquote above. If you copied that data to a .txt file, you would have a backup of the undress agent. Unlike other agents, the data for this undress agent is stored as specific objectID data, not generic icon or hue data. Therefore this undress agent is not generic. If you wanted this undress to work with another character you would have to export both the undress agent and the specific pieces of gear to that other character. You could copy the blockquote above into any character file, but you would need to account for four potential conflicts. First, the comments would need to be removed. Second, you should reset the default container. Third, you would need to ensure the agent number (Undress1) did not conflict with an existing agent. If a character already had three undress agents, you would need to rename all of this agent's data Undress4. Fourth, you would need to change the value in an additional line in the NumberVar subsection of UIVariables\n \t\t--Total number of Undress Agents for this character (3) prior to import\nto reflect the acutal number of undress agents that character has. If a character had zero undress agents and you imported one agent, then the line would need to be written value=1. However, as in our example, if the character already had three undress agents and you imported a fourth undress agent, then you would need to update the line so that value=4\n \t\t--Total number of Undress Agents for this character (4) after import\nThis particular line can be found anywhere in the NumberVar subsection of UIVariables, not necessarily grouped with undress agent data, as the line is written when that character's second undress agent is created. If you import additional undress agents, but don't update this line, then not all undress agents will be shown in game. A character could have four undress agents, but if OrganizerUndresses value=3, only three of the four undress agents would been seen in game."}],"attrs":{"align":null}},{"type":"paragraph","content":[{"type":"text","text":"One additional line is written to the character file when you set an undress agent as the active agent.\n \t\t--Active Undress Agent for this character \nThis line can also appear anywhere in the NumberVar subsection of UIVariables, as the line is written when you first select an undress agent in game. This line does not have to be manually updated, as value=\"\" simply controls the undress agent which will run when you click the undress agent button. This line will automatically update as you select different undress agents in game."}],"attrs":{"align":null}},{"type":"heading","attrs":{"level":2},"content":[{"type":"text","text":"See Also"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"[[Enhanced Client]]"}],"attrs":{"align":null}}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"[[Enhanced Client Guide]]"}],"attrs":{"align":null}}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Stratics Agents"}],"attrs":{"align":null}}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"UO.com wiki Agents"}],"attrs":{"align":null}}]}]}]}