Code:
var test1 = function() {
var people = array("Peter", "Joe", "Glenn", "Cleveland");
if (in_array("Glenn", people)) {
$gameMessage.add('Glenn');
};
};
thank you
learn from this
https://www.w3schools.com/php/func_array_in_array.asp
and this
https://stackoverflow.com/questions...-not-equal-to-multiple-string-values/19950682