!!!!warning this post is heavy!!!!
this post is about changing mirc to allow it to launch GameChat from irc!!!!!
I have changed my Mirc script to allow the Gamechat to be launched off irc ie the #donationcoder irc I have tested it on my local machine but not across the network yet (I invited myself to play) Gamechat.exe has to be either in the mirc directory or in the execution path for windows i added
InviteGameChat:{ /msg $1 runGameChat
/run gamechat.exe server
}
to the popup tab in edit sript this sends a private message to the highlighted nickname in the nickname window when right clicked and InviteGamechat clicked on the popup window and runs GameChat with server passed as the commandline function telling it to run as server.Two seperate events are then added to handle the invitation on the recieving computer in the Remote tab.
on 1:DNS: /run gamechat.exe $dns(1).addr
on 1:TEXT: runGameChat*:?: /dns $nick
The Second responds to the Private message sent from the invitatin computer and does the domain name search dns on the nickname of the sending computer the dns function in turn calls the on DNS handler in the first line that runs gamechat and passes in the addr of the invitation computer allowin gamechat to connect to the invitation computers (server)Gamechat and Play Gamechat.To use this feature you need the latest version of GameChat that takes the commandline data from
http://www.members.optusnet.com.au/~martyjn/GameChat.zipnote changing the dns handler as above means that any dns lookup will launch GameChat and attempt to connect to the lookup.
I dont know if a similar thing can be accomplished in other irc clients.What i am trying to accomplish is to be able to challenge other users on the #donationcoder channel (or any irc for that matter) to games that are part of Game chat(presently chess,checkers,Reversi and norts and crosses) and games that i add to this list.For any one that wants to attemp this in another irc client program Game chat needs to be passed server on the commandline to act as a server.And address on the commandline(where address is the address of the server or its IP number) to act as the client to connect to the server.
Note i do plan on adding dialogs to ask the reciever before connecting i need to test it first.
I am sorry if i didnt explain this very well.