Usually, a script like this should work:
$gameScreen.addGabWindow('helloWorld', { align: 'center', autoExpire: 60, eventId: 1, text: '\\C[1]Hello World!', })