Try looking in bomb status, there's a menu that allows admins to teleport to a bomb site(a/b). But the code is pretty complicated so I'm not sure you will understand.
So, what do you need? Spawn a planted bomb or move the carrier to a random bombsite?