The ChatBar is a GuiTextEditCtrl and you can access it just like one. The object's name is "ChatBar". Example:
PHP Code:
with (ChatBar) {
useOwnProfile = true;
profile.fillColor = "0, 0, 0, 255";
}
And one other:
PHP Code:
function ChatBar.onAction() {
if (ChatBar.text == "/command") {
// do command here
ChatBar.text = "";
}
}
As far as the GUI laying over the ChatBar, try calling ChatBar.showTop()