Help using variables in Show Picture script

I am trying to create a small mini game which would require showing pictures based on the users choice. There are 66 pictures I have available and I am trying to use the show picture script below;

screen.pictures[index].show(file_name, position, x, y, x zoom, y zoom, opacity, blend type)

I am trying to use a variable in the file name section to display picture 1-66 based on what the user input is. I have the users input stored in a variables, but I now need a way to use the variables to display the correct picture. I have tried the following methods, but receive errors;


screen.pictures[1].show([('Card'+$game_variables[99]), 0, 25, 300, 0, 50, 255, 0)
-----> Named the Picture "Card1"

screen.pictures[1].show([$game_variables[99]], 0, 25, 300, 0, 50, 255, 0)
-----> Named the picture "1"

Is it possible for the show picture script to use variables in the file_name section? is there something I am missing or syntax I have wrong? Or perhaps is there an easier way to do this?

My mini game would have a 5 card hand and with the opponent's hand if would be at least 660 if statements just to display the hands, I am trying to find a script command that would help me avoid making 66 if statements for each handslot.

Any help with this would be greatly appreciated!
Using these [ ] signals is just inserting the variable into an Array, the dialog box function will not be able to read it, and unlike Javascript it does not accept reading a number as a String.

Edit:
Kyonides has already explained better how to convert the intenger number into a String :LZYcool:
You have to add .to_s (dot included) to your string if you want any variable holding a number to turn into text on the fly. Example:

Ruby:
var.to_s
Thank you both very much for the info, and fast responses.

I have got it working using the addition you mentioned.

The [ ] s were my incorrect attempt at turning the variable into something that could be read as a file name. I had not seen the .to_s function before, but it has worked perfectly adding it to my show picture script command.

screen.pictures[1].show($game_variables[99].to_s, 0, 25, 300, 0, 50, 255, 0)

I very much appreciate your time and help.

Original thread: https://forums.rpgmakerweb.com/threads/help-using-variables-in-show-picture-script.164503/