There is so much missing from your post that it is hard to know where to begin.What kind of XBees do you have?How are they connected to the Lilypads?How are they configured?Where is the code for each Lilypad?
I am not sure what type of xbees they are.
The lilypad is connected to the xbee through insulated thread.
I am trying to figure out how to configure them to send the value of an integer to the other xbee to set an integer to that same value.
All of mine say right on top of them what kind they are.Well, I didn't expect that you'd use hot melt glue or duct tape. What is connected to what?Configuration is about enabling them to talk to each other. It has nothing to do with kind of data to share, or what to do with that data. That is what programming the Lilypads is about.