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