Skip to content

Properties

Reetus edited this page Mar 10, 2026 · 303 revisions

ClassicAssist Macro Commands

Generated on 3/10/2026 3:07:34 AM
Version: 5.0.1+cb2bfafc8ca61e99043cebfbd4c89fcbe562551b

Properties

Property

Method Signature:

Boolean Property(System.Object, System.String)

Parameters

  • obj: An entity serial in integer or hex format, or an alias string such as "self".
  • value: String value - See description for usage.

Description:

Returns true if the given text appears in the items item properties.

Example:

if Property("item", "Defense Chance Increase"):  

PropertyValue

Method Signature:

T PropertyValue[T](System.Object, System.String, Int32)

Parameters

  • obj: An entity serial in integer or hex format, or an alias string such as "self".
  • property: String value - See description for usage.
  • argument: Integer value - See description for usage. (Optional)

Description:

Returns the argument value of the given property name. Optional argument index.

Example:

val = PropertyValue[int]("backpack", "Contents")  

WaitForProperties

Method Signature:

Boolean WaitForProperties(System.Object, Int32)

Parameters

  • obj: An entity serial in integer or hex format, or an alias string such as "self".
  • timeout: Timeout specified in milliseconds.

Description:

Wait for item properties to be received for specified item.

Example:

WaitForProperties("backpack", 5000)  

Clone this wiki locally