-
-
Notifications
You must be signed in to change notification settings - Fork 54
Actions
Generated on 3/10/2026 3:07:34 AM
Version: 5.0.1+cb2bfafc8ca61e99043cebfbd4c89fcbe562551b
Method Signature:
Void Attack(System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Attack mobile (parameter can be serial or alias).
Example:
Attack("last") Method Signature:
Boolean BandageSelf()
Description:
Applies a bandage to the player.
Example:
BandageSelf() Method Signature:
Void ClearHands(System.String)
- hand: Hand - "left", "right", or "both". (Optional)
Description:
Clear hands, "left", "right", or "both"
Example:
ClearHands("both") Method Signature:
Void ClearUseOnce()
Description:
Clear UseOnce list.
Example:
ClearUseOnce() Method Signature:
Void ClickObject(System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Single click object (parameter can be serial or alias).
Example:
ClickObject("last") Method Signature:
Int32 Contents(System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Returns the item count for given container.
Example:
if Contents("backpack") > 120: Method Signature:
Void ContextMenu(System.Object, Int32)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- entry: Context menu entry index number.
Description:
Request a context menu option.
Example:
ContextMenu(0x00aabbcc, 1) Method Signature:
Void EquipItem(System.Object, System.Object)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- layer: String representing a layer, such as "OneHanded" or "Talisman" etc. See Also: Layer
Description:
Equip a specific item into a given layer. Use object inspector to determine layer value.
Example:
EquipItem("axe", "TwoHanded") Method Signature:
Void EquipLastWeapon()
Description:
Send quick switch weapon packet (probably not supported on pre-AoS servers.
Example:
EquipLastWeapon() Method Signature:
Void EquipType(Int32, System.Object)
- id: ItemID / Graphic such as 0x3db.
- layer: String representing a layer, such as "OneHanded" or "Talisman" etc. See Also: Layer
Description:
Equip a specific type into a given layer. Use object inspector to determine layer value.
Example:
EquipType(0xff, "TwoHanded") Method Signature:
Void Feed(System.Object, Int32, Int32, Int32)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- graphic: ItemID / Graphic such as 0x3db.
- amount: Integer representing an amount, ie 10. (Optional)
- hue: Item Hue or -1 for any. (Optional)
Description:
Feed a given alias or serial with graphic.
Example:
Feed("mount", 0xff) Method Signature:
Boolean FindLayer(System.Object, System.Object)
- layer: String representing a layer, such as "OneHanded" or "Talisman" etc. See Also: Layer
- obj: An entity serial in integer or hex format, or an alias string such as "self". (Optional)
Description:
Returns true and updates found alias if an item exists in the specified layer, option serial/alias for mobile to check.
Example:
if FindLayer("OneHanded"): Method Signature:
Boolean InRegion(System.String, System.Object)
- attribute: String value - See description for usage. See Also: RegionAttributes
- obj: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Returns true if the region of the target has the specified attribute.
Example:
if InRegion("Guarded", "self") Method Signature:
Int64 Ping()
Description:
Retrieve an approximated ping with server. -1 on failure.
Example:
Ping() Method Signature:
Void Rename(System.Object, System.String)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- name: String representing a name, ie "Snoopy".
Description:
Sends rename request.
Example:
Rename("mount", "Snoopy") Method Signature:
Void ShowNames(System.String)
- showtype: Show type - "mobiles" or "corpses". See Also: ShowNamesType
Description:
Display corpses and/or mobiles names (parameter "mobiles" or "corpses".
Example:
ShowNames("corpses") Method Signature:
Void ToggleMounted()
Description:
Unmounts if mounted, or mounts if unmounted, will prompt for mount if no "mount" alias.
Example:
ToggleMounted() Method Signature:
Void UseObject(System.Object, Boolean)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- skipqueue: Not specified - See description for usage. (Optional)
Description:
Sends use (doubleclick) request for given object (parameter can be serial or alias).
Example:
UseObject("mount") Method Signature:
Boolean UseOnce(Int32, Int32)
- graphic: ItemID / Graphic such as 0x3db.
- hue: Item Hue or -1 for any. (Optional)
Description:
Use a specific item type (graphic) from your backpack, only once
Example:
UseOnce(0xff) Method Signature:
Void UseTargetedItem(System.Object, System.Object)
- item: An entity serial in integer or hex format, or an alias string such as "self".
- target: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Uses specified item and targets target in one action. Requires server support (OSI / ServUO)
Example:
UseTargetedItem('bandage', 'pet') Method Signature:
Void UseType(System.Object, Int32, System.Object, Boolean)
- type: An entity serial in integer or hex format, or an alias string such as "self".
- hue: Item Hue or -1 for any. (Optional)
- container: An entity serial in integer or hex format, or an alias string such as "self". (Optional)
- skipqueue: Not specified - See description for usage. (Optional)
Description:
Sends use (doubleclick) request for given type, optional parameters of hue and container object (defaults to player backpack) (parameters can be serial or alias).
Example:
UseType(0xff) Method Signature:
Boolean WaitForContents(System.Object, Int32)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- timeout: Timeout specified in milliseconds. (Optional)
Description:
Wait for container contents for given container.
Example:
WaitForContents("backpack", 5000) Method Signature:
Boolean WaitForContext(System.Object, Int32, Int32)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- entry: Context menu entry index number.
- timeout: Timeout specified in milliseconds.
Description:
Request or wait for a context menu option.
Example:
# select by index number
WaitForContext('self', 2, 5000)
# select by entry name
WaitForContext('self', "Open Item Insurance Menu", 5000) Method Signature:
Boolean WaitForContext(System.Object, System.String, Int32)
- obj: An entity serial in integer or hex format, or an alias string such as "self".
- entryname: String value - See description for usage.
- timeout: Timeout specified in milliseconds.
Description:
Request or wait for a context menu option.
Example:
# select by index number
WaitForContext('self', 2, 5000)
# select by entry name
WaitForContext('self', "Open Item Insurance Menu", 5000) - Invalid
- OneHanded
- TwoHanded
- Shoes
- Pants
- Shirt
- Helm
- Gloves
- Ring
- Talisman
- Neck
- Hair
- Waist
- InnerTorso
- Bracelet
- Unused_xF
- FacialHair
- MiddleTorso
- Earrings
- Arms
- Cloak
- Backpack
- OuterTorso
- OuterLegs
- InnerLegs
- Mount
- ShopBuy
- ShopResale
- ShopSell
- Bank
- LastValid
- None
- Guarded
- Jail
- Wilderness
- Town
- Dungeon
- Special
- Default
- Mobiles
- Corpses