Multibot programming is notoriously hard, generally because it's difficult to create the structure you need to program a bot, both in the DNA and in the structure of your multibot.
However, if you're willing to experiment in 2.4, you can use the *.timer to help bots decide what they're supposed to be.
*.timer is incremented every cycle, it's value automatically passed on to children, and modifiable by a bot.