#trying to make a skript to run events
1 messages · Page 1 of 1 (latest)
doesnt tp them
cause you’re trying to teleport them to a string not a location
there are cords in the string, but skript still can’t teleport to strings
Oh
So how do I make it a location?
I tried doing it to the co odds
But got an error msg
use the location function to make a location out of coords
Ok thank youu
if you’re confused by the syntax, open examples
Okay will do tyyy man
Also use code blocks
And you can use %nl% instead of broadcasting 20 lines
And why execute the teleport command through console? Just put that code into the periodical
Code blocks are formatted code on discord, which makes code easier to read: ```code ```
The periodical is the every %timespan% event
https://sovdee.gitbook.io/skript-tutorials/ is a good beginners tutorial
its still coming up with this error msg not sure why
No need for world function
the map is in another world tho
Just put it in as a parameter in the location function
okay ill give it ago 🙂
You can always check the docs for things like these
well, it allows him to start them manually
broadcast "---------------------"
broadcast ""
broadcast "&a&lFACTIONFRENZIE: &bEvent In 5 Minutes!"
broadcast "&a&lFACTIONFRENZIE: &bDo /event To Join!"
broadcast ""
broadcast "---------------------"
wait 10 second
execute console command "teleportqueue"
command /event:
trigger:
if player is in {queue::*}:
add player to {queue::*}
send "&badded to queue" to player
else:
remove player from {queue::*}
send "&bremoved from queue" to player
command /teleportqueue:
permission: op
trigger:
teleport {queue::*} to location(10.4,-34,-19.5,"event")
```
ive added a remove player function and ive looked it up part cant see why it still teleports the player even if there not in the queue
Ah, true
you could send the list in chat to see what fails
send everytime after /event as a debug info