how to move to other section in script

So to achieve that you can create a child state to go another section and just set options.next_state to that state. I mean suppose you have a script like this

[main]
    inputParser:Welcome to New Bot.
            thisFlow:
                This is a output of this flow.
            callAnotherFlow:
                :call default.anotherFlow
[anotherFlow]
    This is another flow.[[Wow, No]]
        Wow
            Thanks
        No
            Oh!

So in case if the message is 'another flow' you want the second flow to begin. So in the input parser you can create something like.

module.exports.main = {
    inputParser: (options, event, context, callback)=>{
        if(event.message.toLowerCase() === "another flow"){
            options.next_state = 'callAnotherFlow';
        }else{
            options.next_state = 'thisFlow';
        }
        callback(options, event, context);
    }
}

I think this is what you are looking for.