GHI_Load

Pilus edited this page Aug 11, 2015 · 2 revisions

Syntax:

GHI_Load(index)

Arguments:

GHI_Load() has one required argument. This API call requires a variable saved by [GHI_Save]

index
''String''
This string is the name of a variable you saved previously with GHI_Save(). This variable is saved even after log out. So be very careful what you name your variables.

Returns:

var
''Any''
Returns the data stored in the variable passed with "index".

Example:

local strRate = GHI_Load("str")

print("Strength: "..strRate)

This script loads the variable strRate and then prints a sentence containing it.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.