All you need is your friends IP address and your Command Prompt.Through this trick you can chat with your friends on any network i.e either on LAN or internet.The steps are as follow:
1.Open your notepad and write the following code
2. Now save this file with name as "Messenger.Bat".
3.Now send a copy of this file to your friend.
4.And now both open this file by double-click.
5.for first time it will show you like this.
6.Now Type the IP Address of your friend and start chatting enjoy.