Properties - Reetus/ClassicAssist GitHub Wiki
ClassicAssist Macro Commands
Generated on 9/8/2025 3:39:31 AM
Version: 4.5.5+9dcdae3abb08234cd395dd7f71acedb1f8f08c62
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)