Mod will now compile on local host as requested by @Shadowblitz16
The issue was me having both tickets.as and ticketHooks.as included in the gamemode.cfg instead of including only ticketHooks.as.
I think that since ticketHooks.as also includes tickets.as itself there are issues with the compiler including some files multiple times.

Tickets 1.2.3
Adds tickets to CTF, each team gets to spawn only a specified number of times