Problem with looping my VoidLoop

I don't see how this works in either version

if(ircode == 2231601134)

Earlier you have

ircode = ir.read() ;

so as far as I can see IRcode will never hold anything except a single byte

Can you write a short version of the sketch without using LCD stuff as it just confuses things and I don't have an LCD to test it on.

...R