Hi,
click on the door, search for "groups" in the properties, then "container", add object -> trigger. In that way, each trigger is related to each door. Can't explain it better (english isn't my motherlanguage).
You don't need anymore any variable for that action.
example: http://dl.dropbox.com/u/26932498/doors.cap