How should I write a program to get a phone cal via GSM module if I get positive result with two sensors.

I have developed three codes one for GSM module to receive a phone call,Another for load cell sensor which will give output when a load is placed,and the next for PIR motion sensor if a human is detected. I'm in need of a code that would intimate through a phone call if I get positive resukts both in my load cell sensor and my PIR motion sensor. 

if (loadcell &PIR) then SMSmsg="Someone of mass has been" ;