def __init__(self, world_list, regionset, options, backup_worlds):
        Cmd.__init__(self)
        self.world_list = world_list
        self.regionset = regionset
        self.world_names = [str(i.name) for i in self.world_list]
        # if there's only one world use it
        if len(self.world_list) == 1 and len(self.regionset) == 0:
            self.current = world_list[0]
        elif len(self.world_list) == 0 and len(self.regionset) > 0:
            self.current = self.regionset
        else:
            self.current = None
        self.options = options
        self.backup_worlds = backup_worlds
        self.prompt = "#-> "
        self.intro = ("Minecraft Region-Fixer interactive mode.\n(Use tab to "
                      "autocomplete. Type help for a list of commands.)\n")

        # Possible args for chunks stuff
        possible_args = ""
        first = True
        for i in list(c.CHUNK_PROBLEMS_ARGS.values()) + ['all']:
            if not first:
                possible_args += ", "
            possible_args += i
            first = False
        self.possible_chunk_args_text = possible_args

        # Possible args for region stuff
        possible_args = ""
        first = True
        for i in list(c.REGION_PROBLEMS_ARGS.values()) + ['all']:
            if not first:
                possible_args += ", "
            possible_args += i
            first = False
        self.possible_region_args_text = possible_args