diff --git a/pattern.py b/pattern.py index e02e2b2..7bdf713 100644 --- a/pattern.py +++ b/pattern.py @@ -14,9 +14,6 @@ this.values = { "stack4": 0, "stack5": 0, "stack6": 0, - "stackr": 0, - "stackg": 0, - "stackb": 0, "r": 0, "g": 0, "b": 0, @@ -71,15 +68,14 @@ def jez(target, arg, index): def _apply(index, target, arg, func): if type(arg) is int: - print("{} {} {}".format(func, target, arg)) return func(target, arg, index) elif type(arg) is str and arg in this.values: - print("{} {} {}".format(func, target, this.values[arg])) return func(target, this.values[arg], index) def apply(index, targets, args, func): for target in range(len(targets)): + print("{} {} {}".format(func, targets[target]['channel'], args[target])) if this.values[targets[target]['channel']] != None: if target < len(args): val, jump = _apply(