function main()
{
variable index:entity Entities
Aion:GetEntities[Entities]
echo Populating Entities List:: ${Entities.Used} Entities total
;; testing
echo The second entity in the array is: ${Entities.Get[2].Name}, level ${Entities.Get[2].Level}, at ${Entities.Get[2].Location}.
echo The third actor in the array is: ${Entities.Get[3].Name}, level ${Entities.Get[3].Level}, at ${Entities.Get[3].Location}.
}