Skip to content

Combat commands

Attacks the target.

ParameterTypeDescription
targetstringThe name of the target to attack.

Cancels the target.

Exits combat.

Uses a skill, regardless if there’s a target or not.

ParameterTypeOptionalDefaultDescription
skillstring | numberThe skill to use.
waitbooleanfalseWhether to wait for the skill to be available or not.

Jumps to a monster’s cell.

ParameterTypeOptionalDefaultDescription
targetstringThe name or monMapId of the monster.
mostbooleanfalseWhether to jump to the cell where the target is most present.

Kills the target.

ParameterTypeDescription
targetstringThe name of the target to kill.
optionsPartial<KillOptions>?The options for the kill command.

Kills the target for an inventory item, until the specified quantity is reached.

ParameterTypeDescription
targetstringThe name of the target to kill.
itemstring | numberThe name or ID of the item.
quantitynumberThe quantity of the item.
optionsPartial<KillOptions>?The options for the kill command.

Kills the target for a temporary item, until the specified quantity is reached.

ParameterTypeDescription
targetstringThe name of the target to kill.
itemstring | numberThe name or ID of the item.
quantitynumberThe quantity of the item.
optionsPartial<KillOptions>?The options for the kill command.

Rests the player.

ParameterTypeOptionalDefaultDescription
fullbooleanfalseWhether to rest fully or not.

Uses a skill.

ParameterTypeOptionalDefaultDescription
skillstring | numberThe skill to use.
waitbooleanfalseWhether to wait for the skill to be available or not.