!752

!include #1003380 // Chat

static new Chat chat;

p {
  chat.onEnter_post = r {
    chat.append("Bot: Yo, " + chat.input() + "\n");
  };
  
  showFrame("Chat with Bot!", chat);
  chat.requestFocus();
}