The best place for you to see what variables are and how they work is in one of the maps that blizzard put in with the editor. I think it's called Monolith or something, but the triggers are heavily commented and most of it is easy to grasp...at least that's how I learned...if I learned...well, just check it out. It should help.