Hello!
In one of my Skripts I want to use a command which sets a variable to true and after a given time to false. This is an example:
If I create a new file within this code, I always get this resonse:
I really need anything like this that works and I have no plan how to solve this.
In one of my Skripts I want to use a command which sets a variable to true and after a given time to false. This is an example:
code_language.skript:
command /wait <number>:
trigger:
message "&2The value has been set to true for %argument% seconds"
set {value.%player%} to true
wait argument seconds
message "&4The value has been set to false"
set {value.%player%} to false
If I create a new file within this code, I always get this resonse:
code_language.skript:
'seconds' is not a type (example.sk, line 5: wait argument seconds')
I really need anything like this that works and I have no plan how to solve this.