-
-
Notifications
You must be signed in to change notification settings - Fork 46
Agents
Generated on 9/2/2024 10:46:49 PM
Version: 4.425.19+0c26057dbb7e7e285dbbb7378d1639f9d9112e29
Method Signature:
Void Autoloot(System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Causes autoloot to check a particular container, even when not enabled, and bypassing the corpse type check
Example:
Autoloot("found")
Method Signature:
Boolean Autolooting()
Description:
Returns True if currently checking corpse / autolooting items.
Example:
if Autolooting():
Method Signature:
Void ClearTrapPouch()
Description:
Clears the items in the trap pouch agent...
Example:
ClearTrapPouch()
Method Signature:
Int32 Counter(System.String)
- name: Agent entry name.
Description:
Returns the count of the given counter agent.
Example:
Counter("bm")
Method Signature:
Void Dress(System.String)
- name: Agent entry name. (Optional)
Description:
Dress all items in the specified dress agent.
Example:
Dress("Dress-1")
Method Signature:
Void DressConfig()
Description:
Adds all equipped items to a temporary list that isn't persisted on client close.
Example:
DressConfig()
Method Signature:
Boolean Dressing()
Description:
Returns true if the Dress agent is currently dressing or undressing.
Example:
if Dressing():
Method Signature:
Void Organizer(System.String, System.Object, System.Object)
- name: Agent entry name.
- sourcecontainer: An entity serial in integer or hex format, or an alias string such as "self". (Optional)
- destinationcontainer: An entity serial in integer or hex format, or an alias string such as "self". (Optional)
Description:
Executes the named Organizer agent.
Example:
Organizer("Organizer-1")
Method Signature:
Boolean Organizing()
Description:
Returns true if currently running an organizer agent, or false if not.
Example:
if Organizing():
Method Signature:
Void SetAutolootContainer(System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Sets the container for the Autoloot agent to put items into...
Example:
SetAutolootContainer("backpack")
Method Signature:
Void SetOrganizerContainers(System.String, System.Object, System.Object)
- entryname: Agent entry name.
- sourcecontainer: An entity serial in integer or hex format, or an alias string such as "self". (Optional)
- destinationcontainer: An entity serial in integer or hex format, or an alias string such as "self". (Optional)
Description:
Set the source and destination for the specified Organizer name
Example:
SetOrganizerContainers("Organizer-1", "backpack", "bank")
Method Signature:
Void SetScavenger(System.String)
- onoff: "on" or "off". (Optional)
Description:
Enable/Disable/Toggle the Scavenger agent
Example:
SetScavenger("off")
Method Signature:
Void SetTrapPouch(System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Adds the specified item to the trap pouch agent item list...
Example:
ClearTrapPouch()
if FindType(0xe79, -1, 'backpack'):
Cast('Magic Trap', 'found')
SetTrapPouch('found')
Method Signature:
Void SetVendorBuyAutoBuy(System.String, System.String)
- listname: List name.
- onoff: "on" or "off". (Optional)
Description:
Enables or disables autobuying of the specified vendor buy list name...
Example:
# set on
SetVendorBuyAutoBuy("regs", "on")
# set off
SetVendorBuyAutoBuy("regs", "off")
# default will toggle
SetVendorBuyAutoBuy("regs")
Method Signature:
Void StopDress()
Description:
Stops the dress agent is it is currently running
Example:
StopDress()
Method Signature:
Void StopOrganizer()
Description:
Stops the organizer agent if currently running
Example:
StopOrganizer()
Method Signature:
Void Undress(System.String)
- name: Agent entry name.
Description:
Undress all items in the specified dress agent.
Example:
Undress("Dress-1")
Method Signature:
Void UseTrapPouch()
Description:
Uses the first item in the Trap Pouch agent list...
Example:
UseTrapPouch()