diff --git a/scripts/client/chatbox.js b/scripts/client/chatbox.js index 7f70a015..dd762be1 100644 --- a/scripts/client/chatbox.js +++ b/scripts/client/chatbox.js @@ -32,6 +32,12 @@ addNetworkHandler("ag.m", function(messageString, colour) { // =========================================================================== +addNetworkHandler("ag.chatScrollLines", function(amount) { + scrollAmount = amount; +}); + +// =========================================================================== + function addToChatBoxHistory(messageString, colour) { chatBoxHistory.push([messageString, colour]); }