Skip to main content

hope.list

Overview

  • Returns the target character's currently selected hopes (wishes): hope_id, expire tick, fixed flag.

Metadata

FieldValue
DisplayList Hopes
Categoryhope
AccessPublic
ScopeB2Authority
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
entity_identityIdyesTarget entity id
max_hope_sizeintyesMax simultaneous hope slots
selected_countintyesNumber of selected hopes
selectedarrayyesCurrently selected hopes
selected[].hope_idstringyesHope id
selected[].expire_ticksintyesExpiration time in ticks
selected[].fixedboolyesWhether the hope is pinned

Usage

await inzoi.cli.execute('hope.list', {
entity_id: 0, // optional
});