summaryrefslogblamecommitdiffstats
path: root/MCServer/Plugins/SquirrelChatLog.nut
blob: d90cef126aba66904df7361d6014a1ece0da0adb (plain) (tree)
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);
	}
}