PIR and gsm shield

your problem is to complex while mine isnt.
im new in gsm shield. pls bro. can you send the code for

if i send "on" to gsm shield from my phone the led turns on.
the gsm shield will notify and text you back if the led is turned on.

if i send "off" to gsm shield from my phone the led turns off.
the gsm shield will notify and text you back if the led is turned off.

i think, you are the only person who can answer me back.