Here's more. My original code did what I wanted it to do, although I saw some gaping holes in the strategy. Here are most of the holes plugged up. I think the robots are good enough to play in a normal pickup game queue without getting confused with war declarations now. I did a test run outlined in the patch. And robots worked as I wanted the code to work. I was thinking the robots should check to see if the 3rd space scummer leaves the game, or gets forced onto a t-mode team, and declare peace right then and there. But that would involve ALOT of message decoding on the robots part (and alot of code to be written on my part)... So instead, declare_intents() gets called (the peace part only), everytime the robots die. It's a compromise, but I think it will work for now. Again, thanks to Quozl and others for providing commentary on my code. Jimmy -------------- next part -------------- A non-text attachment was scrubbed... Name: further-fixes-to-war-decs.dpatch Type: application/octet-stream Size: 12354 bytes Desc: 858096852-further-fixes-to-war-decs.dpatch Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060702/673079f5/attachment-0001.obj