summaryrefslogtreecommitdiffstats
path: root/Plugins/SquirrelChatLog.nut
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/SquirrelChatLog.nut')
-rw-r--r--Plugins/SquirrelChatLog.nut13
1 files changed, 3 insertions, 10 deletions
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);
-
}
}