What is $variable.property, how to use it? and other beginner questions

Welcome Summerstarlight,
There are many types of variables, they all have their proper use, and each allow for some things other types do not allow.
The basic variable is by far the most straightforward: it’s a variable with one name and one value.
The object is a comfort variable: it’s a variable with many values. Each of these values is associated to a property and can be called by the property.
The array is a very clever one: it’s a variable with many values too. Each value is to be called by the index of the variable.

Here’s a sequence of how you can create and call all these three variables.

Basic variable
<<set $Name to "Josh">><<set $Age to 20>>
$Name
$Age

Object variable with properties
<<set $MC to {Name:"Josh",Age:20}>>
$MC.Name
$MC.Age

Array variable with index, note the first index is 0, not 1
<<set $Hero to ["Josh",20]>>
$Hero[0]
$Hero[1]
3 Likes