JumpIfZero / public-wiki-and-bugs

Issue tracker and wiki for plugins
0 stars 1 forks source link

Auto scripts with a null trigger block all other auto scripts when enabled - Auto-reported via JZbot by _____blank #206

Open JumpIfZero opened 5 months ago

JumpIfZero commented 5 months ago

If you have an autoscript with a null trigger, it will block all other auto scripts from doing anything when enabled.

Example:

[
  {
    "name": "TestTickTrigger",
    "group": "Test",
    "trigger": "TICK",
    "commands": "DEBUG TICK"
  },
  {
    "name": "TestNullTrigger",
    "group": "Test",
    "trigger": "",
    "commands": "DEBUG null"
  }
]

Null trigger auto scripts are useful for RUNSCRIPT. Keeping them disabled prevents this from happening, although it makes it more annoying when you use "Enable Group" as you have to either put them in their own group, or remember to manually disable them