# ZoneScript (global functions): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/ZoneScript

## Functions

### GetAreaText

```lua
text = GetAreaText()
```

Returns:
- `text`: cstring

### GetMinimapZoneText

```lua
text = GetMinimapZoneText()
```

Returns:
- `text`: cstring

### GetRealZoneText

```lua
text = GetRealZoneText([mapID])
```

Arguments:
- `mapID`: number, may be nil

Returns:
- `text`: cstring

### GetSubZoneText

```lua
text = GetSubZoneText()
```

Returns:
- `text`: cstring

### GetZoneText

```lua
text = GetZoneText()
```

Returns:
- `text`: cstring

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
