This commit is contained in:
deathbybandaid 2022-02-24 07:11:36 -05:00
parent b1f96a494d
commit b1bc6a6dbf

View File

@ -29,6 +29,8 @@ def prerun(rulematch=False):
trigger_command = sb.commands.get_command_from_trigger(trigger) trigger_command = sb.commands.get_command_from_trigger(trigger)
if trigger_command != commands[0]["trigger_command"]: if trigger_command != commands[0]["trigger_command"]:
sb.commands.dispatch(commands[0]) sb.commands.dispatch(commands[0])
print(commands[0]["trigger_command"])
print(trigger_command)
return return
# Get list of trigger command(s) by | split # Get list of trigger command(s) by | split
@ -37,6 +39,8 @@ def prerun(rulematch=False):
# Validate | split # Validate | split
trigger_command = sb.commands.get_command_from_trigger(trigger) trigger_command = sb.commands.get_command_from_trigger(trigger)
if trigger_command != commands[0]["trigger_command"]: if trigger_command != commands[0]["trigger_command"]:
print(commands[0]["trigger_command"])
print(trigger_command)
trigger_dict = rebuild_pipes(commands) trigger_dict = rebuild_pipes(commands)
sb.commands.dispatch(trigger_dict) sb.commands.dispatch(trigger_dict)
return return