You need to package GameConnection::getSpawnPoint and return the position/rotation to use.
Use brick groups to get a random brick with the name to spawn at.
You can just use fxDTSBrick::getPosition to get the position to spawn at, but it's very likely that the player will be stuck.
Here's a better way of doing that:
vectorAdd(setWord(<brick>.getPosition(), 2, getWord(<brick>.getWorldBox(), 5)), "0 0 0.1")