Skip to content

Anstring

Replaces the text from this command to a medal or item's prepender string from the game data.

Syntax

(1)

|anstring,item|

(2)

|anstring,medal,ismedal|

Parameters

item: int | varint

The Item to obtain the prepend string from. The int form must be a valid Items id or an exception will be thrown. The varint form must have an int portion be a valid flagvar slot containing a valid Item is or an exception will be thrown.

medal: int | varint

The Medal to obtain the prepend string from. The int form must be a valid Medal id or an exception will be thrown. The varint form must have an int portion be a valid flagvar slot containing a valid Medal is or an exception will be thrown.

ismedal: int

When a non zero value is specified, syntax (2) is used. If the value is 0 or not specified, syntax (1) is used. This must corresponds to a valid int value or an exception will be thrown.

Remarks

This command will cause SetText to resume processing at the same character position to accommodate the text replacement of the input string at the position this command is being processed.