to immediately consider /goto as a quick and easy fix rather than restructuring your code is, admittedly, bad practice; but that's not really an issue here.
here we're seeing /goto being used analogous to switch/case in other languages, which most certainly isn't surrounded by stigma, and is in this instance a very clear and easy method to follow and maintain. i've used and have seen /goto used very elegantly in mirc ;PI concur wholeheartedly.