Help changing this IR sketch to RF

Ok, what do I write in the loop to make it show up in the serial monitor?

I'm SOOOOOO close to getting this to work!