Linking Skript Files

  • 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.
Well. If it’s on one server there is no need
There is, I made an ffa gamemode which is quite large for skript. It has /ffa join and /ffa leave. I want a feature that uses those in a different file without recoding the whole thing. Therefore I want to be able to use variables on different skript files if it is possible.
 
There is, I made an ffa gamemode which is quite large for skript. It has /ffa join and /ffa leave. I want a feature that uses those in a different file without recoding the whole thing. Therefore I want to be able to use variables on different skript files if it is possible.
I mean if the variable is {blabla::%player%} or whatever but list variables you can use them anywhere
 
What Runakai is saying, is all Skript variables are in 1 file (variables.csv) and these variables can be used in any script on your server. They are all already linked together.
 
What Runakai is saying, is all Skript variables are in 1 file (variables.csv) and these variables can be used in any script on your server. They are all already linked together.
But when I try calling For it, it doesn't show anything. It's like it's a whole new variable.
 
Which version of Spigot are you using?
Which version of Skript are you using?
 
yes
/ver <-- for server version
/ver skript <-- for skript version
 
upload_2019-3-4_22-3-26.png
 
yikes that is old. And which version of spigot are you using?
 
Okay, so basically it should work.
Why its not, I have no clue.
You are using a 3 year outdated version of Spigot/MC
You are using a 4 year old, abandoned version of Skript.

Variables are saved to one file, and are accessible in any script you have. Why its not working for you, I have no clue.
 
Okay, so basically it should work.
Why its not, I have no clue.
You are using a 3 year outdated version of Spigot/MC
You are using a 4 year old, abandoned version of Skript.

Variables are saved to one file, and are accessible in any script you have. Why its not working for you, I have no clue.
is there a version of skript that works on 1.8.8 thats new?
 
the newest and last version for 1.8.8 is 2.2Dev37c, it has been claimed to have a few memory leaks, so the highest recommended is 2.2Dev36
The issue with upgrading is it may break some addons, so you need to make sure to upgrade your addons as well
 
Status
Not open for further replies.