XBee Newbie needs help getting started

 if (x=3) irsend.sendNEC(myNumber.UL, 32);

I just KNOW that before this project is complete, you WILL remember when to use = and when to use ==. This is NOT the place for =.

I don't see the pictures, so I can't comment on them.

You could copy and paste the text...