Arrays

In my game, I'm trying to make it so that when the player clicks on a fire when he is within one 32x32 space of it (or "touching" it), it displays a message that shows only the names of the variables in the list that are greater than one. I thought the best way to do this would be with a script that would test every variable that applies and see if its value is greater than 0. If it is, then the variable name (or just a string, doesn't matter, really) would be added to the list. The GameMaker tutorial/help service doesn't say hardly ANYthing about arrays, so I have absolutely no idea what I'm doing with them. The only experience I have with them is what I've done in Python, where you would input something like:

array = [] //Creates array "array"
if var_rabbit_cooked > 0 //Tests whether it should be put into the array
{array += "Cooked Rabbit"}
if var_steak_cooked > 0
{array += "#Cooked Steak"}
//And so on, until all variables had been tested...
//At the end, show the array, which is a list of all of the available options that the player can cook
show_message(string(array))

Basically, my question is; how do arrays work? What functions are there that are to be used with them?
I'm not entirely certain, but I think the equivalent of "+=" would be this:

array_set(array, "[]");

Where "array is your array.

"[]" sets it to the size of the array, so setting the value at "[]" essentially adds a new item onto the array.

The best guide I could find on it is this: http://gmbase.cubedwater.com/index.php?page=arrays <-- not sure if this is any use.
I tried and the function "array_set()" doesn't exist. I also tried to use the "list" functions, but they're Pro Edition only, so I think it's a dead end. I'll find another way! Thanks so much for your help though, I appreciate it. 😀

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=77797