Skip to content

Conflict with other addons and skript #175

@Fusezion

Description

@Fusezion

Description

Other addons using two expressions like X %string% and X id of %string% will conflict with ExprIDOfGUI when using a variable due to base syntax being id of %gui%

Steps to Reproduce

Have two expressions one like blah id of %something% and another like blah %string%
use a variable for the first expression like blah id of {-something}
and be parsed as blah %string%

Expected Behavior

Other expressions using blah id of x not be overridden by id[entifier] of %gui% expression when there's a secondary expression like blah %string%

Errors / Screenshots

image

Server Information

image

Additional Context

While this is mostly due to poor conventions the expressions used should of been unique enough to be separated the issue lies in ExprIDOfGUI not having a something to make it stand out like gui id of {-gui} issue even if unrelated needs fixed as this would conflict with just about anything using blah %string%

A straight way to say this is recipe %string% and recipe id of %string% are conflicting with id of %gui% when I do code like

set {_recipe} to recipe "blah:blah"
broadcast recipe id of {_recipe}

this is parsed as recipe id of GUI

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompletedBug fix / enhancement will be available in the next release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions