Thread: ChatBar Changes
View Single Post
  #2  
Old 12-01-2012, 07:04 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
The ChatBar is a GuiTextEditCtrl and you can access it just like one. The object's name is "ChatBar". Example:

Graal Script Code:
with (ChatBar) {
  
useOwnProfile true;
  
profile.fillColor "0, 0, 0, 255";

And one other:

Graal Script 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()
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote