import re


def rule(event):
    if re.match(
        r"(?i)&&set.*(\\{\\d\\}){2,}\\\\\"\\s+?-f.*&&.*cmd.*/c",
        event.deep_get("ScriptBlockText", default=""),
    ):
        return True
    return False
