Help with code !!

I want to make a project in Lilypad Arduino ATMega 328.

I want to read temperature and humidity from a DHT11 sensor and then turn on a led when temp is 30C and a second led when humid is up to 60%. I also have a pir motion sensor and i want it to turn on a led when motion detected. I have done all of the connections and i can't make it with the code no matter how much I tried.. :(

Anyone can help?? I would appreciate any kind of help!

Anyone can help?

Post the code you have. Explain what it does. Explain how that differs from what you want.

. .and a drawing of how you have your circuit connected.