It will return an integer value, I didn't provide the name because modder should know them and write their own functions to get them.
New script function jumptobranch,
jumptobranch(name, immediately);
Name is the branch name in current set, if immediately is set to 1, you will go to that level immediately, or, when this level is completed, you will go to there.