Capture Variable in Custom Alarm Piston Help


Glad if someone could help me.

I create a custom alarm with Location modes: Stay, Arm and Disarmed.

I checked if some window or door was open, and if some motion sensor was active.

If somethig is true, the Unknown device (BigTalker) Shouts, “Intruder” and a SMS is sent to me.
All the above works fine, but I´ll like if I can determine which door or sensor activated the alarm.

Somebody know how to do it?