summaryrefslogblamecommitdiffstats
path: root/MCServer/Plugins/SquirrelChatLog.nut
blob: 4ef0fd59528fecff021bc447890b65e66cffedb3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                     
                 
                              
                         
                                         


                             
                                         



                                                            
class SquirrelChatLog extends Plugin
{		
	function Initialize()
	{		
		this.AddHook(Hook.Chat);
		return true;
	}

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