Skip to main content

hope.set_expire

Overview

  • Cheat/test: directly overrides a currently-selected hope's remaining lifetime in in-game seconds, bypassing the hope's table LifeTimeSecond and the GLOBAL deselect_cooltime config (which only apply at selection time). Also unfixes the hope so it can expire. The hope must be selected (see hope.list).

Metadata

FieldValue
DisplaySet Hope Expire
Categoryhope
AccessScriptCheat
ScopeB2Authority
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)
hope_idnameyesHope ID to modify (must be currently selected)
remain_secondsintyesNew remaining lifetime in in-game seconds (> 0)

Returns

  • Return shape is not declared for this command.

Usage

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