User:NunoLava1998's Bot/chat.js

$('[name="message"]').keypress(function (e) {   if (e.which === 32 || e.which === 13) {        switch (this.value) { case 'Hi, bot!':    this.value = 'Hi!';    break;

} } });