Icons Randomly Chosen

Hi,
I have a hiring pop up in my game that I would like to have different icons to be chosen for randomly. The images would be little faces.
1. Random Icon is chosen of a set of 20.
2. The number of the icon is stored in an array and referenced later for the hired agent.

The problem I'm facing using Yanfly's EvalText and \i[] is that when I put in code like this:
\i\evalText<<$gameVariable.value(200)[Math.random]>> the \i portion of the code just shows up as blank. I tried another method and evalText by Yanfly just doesn't work this way.

Is there some way to display an icon based on some code, so the icons shown are random?
try this script call
$gameVariables.setValue(ID, Math.floor(Math.random() * maxRange));
then $gameVariable.value(ID)
Hm, that doesn't answer the question; the icons themselves won't appear with that code call.

Original thread: https://forums.rpgmakerweb.com/threads/icons-randomly-chosen.121802/