Skip to content
Haru edited this page Oct 19, 2016 · 1 revision

Syntax

  • getelementofarray(<array></array>, <index></index>);

Description

This command retrieves the value of the element of given array at given index. This is equivalent to using:

 array[index]

The reason for this is, that this short form is internally converted into a call to getelementofarray, when the script is loaded.

Examples

 [[if]](@varl!=@vars)
 {
     [[mes]] "This will never be shown";
 }

Category:Script Command

Clone this wiki locally