Turns out I couldn't get it to work, because Styx.WoWInternals.WoWObjects.LocalPlayer.ContinentName seems to return null no matter what you do - Bot Devs, is this correct??
Got around it by creating a bool using Styx.WoWInternals.WoWObjects.LocalPlayer.RealZoneText and comparing it to a list of zone names for the continent in question.