$arrayMap will create a map with the given array.
$arrayMap
$arrayMap[name;awaitedCommand;separator?;awaitData?]