Hi there, I was wondering if there's a way to have functions only register for one file specifically. For clarification:
File 1 contains a "local" function test(). Because test() is local to file 1, file 2 cannot use it.
Is this a thing?
Thanks.
[doublepost=1678218233,1677305222][/doublepost]I love how supportive the forums are. Anyways, I found a possible solution; using skript-reflect's local expressions and effects. It's unfortunate that I have to rely on an addon for something that *should* be doable in vanilla Skript, but I'm not the dev behind it.
File 1 contains a "local" function test(). Because test() is local to file 1, file 2 cannot use it.
Is this a thing?
Thanks.
[doublepost=1678218233,1677305222][/doublepost]I love how supportive the forums are. Anyways, I found a possible solution; using skript-reflect's local expressions and effects. It's unfortunate that I have to rely on an addon for something that *should* be doable in vanilla Skript, but I'm not the dev behind it.