Menu

Getd

Brynner

[Category:Script_Command]

Syntax

Description

Returns a reference to a variable, the name can be constructed dynamically.
Refer to [Setd] for usage.

This can also be used to set an array dynamically:

 setarray getd(".array[0]"), 1, 2, 3, 4, 5;

Examples

[Set] .@mob_id, 1002;
[Dispbottom] getd(".prize_" + .@mob_id); // displays the value of .prize_1002

Related

Wiki: Setd
Wiki: Variables

MongoDB Logo MongoDB