2012-07-08 21:01:08 +00:00
|
|
|
class SquirrelChatLog extends Plugin
|
2012-07-09 20:25:50 +00:00
|
|
|
{
|
2011-11-08 01:25:01 +00:00
|
|
|
function Initialize()
|
2012-07-09 20:25:50 +00:00
|
|
|
{
|
2012-07-08 21:01:08 +00:00
|
|
|
this.AddHook(Hook.Chat);
|
2011-11-08 01:25:01 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2012-07-09 20:25:50 +00:00
|
|
|
function OnChat(Message, Player)
|
2011-11-08 01:25:01 +00:00
|
|
|
{
|
|
|
|
::print(Player.GetName() + ": " + Message);
|
|
|
|
}
|
|
|
|
}
|