From 38459c9c171fc8bea3a0d7fd54141aa16dc195ca Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Mon, 9 Jul 2012 20:25:50 +0000 Subject: Removed some debug messages and removed an old file git-svn-id: http://mc-server.googlecode.com/svn/trunk@653 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- Plugins/SquirrelChatLog.nut | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'Plugins') diff --git a/Plugins/SquirrelChatLog.nut b/Plugins/SquirrelChatLog.nut index df43c3fb3..4ef0fd595 100644 --- a/Plugins/SquirrelChatLog.nut +++ b/Plugins/SquirrelChatLog.nut @@ -1,20 +1,13 @@ class SquirrelChatLog extends Plugin -{ - name = "SquirrelChatLogger"; - +{ function Initialize() - { - ::print("SquirrelChatLog initialize()"); - + { this.AddHook(Hook.Chat); - return true; } - function OnChat( Message, Player ) + function OnChat(Message, Player) { - ::print("CHAT"); ::print(Player.GetName() + ": " + Message); - } } -- cgit v1.2.3