def getCommands(args):
    """Split (if needed) and obtain the list of commands that were sent into Skelebot"""
    commands = []
    command = []
    for arg in args:
        if arg == '+':
            commands.append(command)
            command = []
        else:
            command.append(arg)
    commands.append(command)
    return commands
