@@ -163,7 +163,12 @@ $(document).ready(function () {
|
||||
chat.historyMsgs.pop();
|
||||
}
|
||||
|
||||
chat.historyMsgs.unshift(value);
|
||||
if (value.toLowerCase().startsWith("/changepw") && value.length >= "/changepw ".length) {
|
||||
chat.historyMsgs.unshift("/changepw * *");
|
||||
} else {
|
||||
chat.historyMsgs.unshift(value);
|
||||
}
|
||||
|
||||
chat.currentIndex = 0;
|
||||
var elmnt = document.getElementById("chat_messages");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user