summaryrefslogtreecommitdiffstats
path: root/Plugins/SquirrelChatLog.nut
blob: 4ef0fd59528fecff021bc447890b65e66cffedb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
class SquirrelChatLog extends Plugin
{		
	function Initialize()
	{		
		this.AddHook(Hook.Chat);
		return true;
	}

	function OnChat(Message, Player)
	{
		::print(Player.GetName() + ": " + Message);
	}
}