I’m from Central Ameirca. I have survived 5 over 7.5 quakes, and 2 8 pointers.
What the guys have said: basically: wait it out. If it is a really strong one, you won’t make it to the door. You will fall or worse, the strenght of te shaking can throw you against something like a heavy piece of furniture… nad that hurts. So if you are in bed and nothing like a chandelier can fall on you, stay there.
It is always advisable -and makes you feel as if you are doing something- to prepare an emergency backpack. We have complete instructiosn here in case of typhoon but the same one applied even if yoiu are here for a short visit: something you can grab and run. Works for fires, too -which are also more likely than a quake. We need to talk about monoxide poisoning, too.
Basically, your passport, some cash, your charger, a sweater, a waterproof jacket/parka water, some non perishable food, first aid kit, medications you are in, a flashlight and batteries. Think of this: if you had to evacuate your home in a minute, what would you like to have there in a bag just to grab and go?
Yes, do not take the elevator. Trust me, I was trapped in one, no fun. No pity from the rescuers.
Back in teh ol country, we get out and head for a park or open area as soon as we can. But Taipei being a densely populated area, that may not be possible. Poles fall here -in the ol country they can sway over 45 degrees, really cool- lines are love and dangerous. So locals do not go out unless it is totally necessary. There are evacuation routes and designated areas for that. You can look them up when you move in. For 921, we spent the night at the park. We were the only ones. Very few locals did that…unless their building was not safe. So follow the lead of the locals. Trust your gut.
The biggest danger in Taipei comes from random scooters and blue trucks. Look twice even on one way roads. Stay alert. If it come sbetween you and a scooter, swat the scooter. It works.
EDIT: slippers! ad slippers to teh bag!