Expression or Object Aliases

  • Thread starter Deleted member 21504
  • Start date
  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
D

Deleted member 21504

Script Version (do not put latest): 2.6.3
Script Author: SkriptLang? Not sure, that's what pops up in /sk info
Minecraft Version: 1.19.1
Full Code: N/A
Errors on Reload:
N/A
Console Errors: (if applicable)
N/A

Other Useful Info:
I remember maybe a year back, someone had shown me something they did at the top of a file, similar to the options: or on load: sections. It allowed them to refer to a list of objects as one name, like "all_armor = leather cap, chainmail helmet, iron helmet", and any reference to all_armor afterwards would be considered as leather cap, chainmail helmet, and iron helmet. I've been finding more and more possible uses for this and fewer and fewer references to anything similar online. My closest thought is that it's something skript-reflect related, but I can't confirm it.
Also, a related question: is it possible to do something similar with expressions? Like, for example, skript-reflect allowing you to type "as %string%" when importing methods.

Thanks

Addons using (including versions):
N/A
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the Forums? Yes
What other methods have you tried to fix it?
Random guessing, honestly
 
Status
Not open for further replies.