#include global $hand = ["5C","KC","QC","JC","10C"]; this is a test array for this function _evaluatehand($hand) MsgBox("","","This is the test hand: " & $hand[0]&" "&$hand[1]&" "&$hand[2]&" "&$hand[3]&" "&$hand[4] &@crlf & _ $text &@crlf & _ "points: "&$points&@crlf)