Hi Andrew,
To answer your question, when i create the custom function it converted by {@Site} formula from this:
select {@group}
case "The Jokers", "ICU", "Vanguard": "Perth
case "Jumping the Shark", "Invincibles": Sydney
to this:
Function (stringVar v1)
select v1
case "The Jokers", "ICU"...