You can keep adding map Id's by putting "&& m_mapId != Mapid" after each mapid (As you can see up top) So you will to find a map id list. 530 is Outlands.
The "if" means if your not on map 530 then you cant use a flying mount.
Really? Well Il try that next time I compile, Ive always wanted Mounts in an instance. But as far as mounts in a building, all private servers have a bug were you can ride mounts in buildings.