Teleporting to other world

  • 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 comminuty!

    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.
Dec 19, 2019
31
2
8
19
Hello Forum,
I have a problem when I wanna send "arg-1" to my new world "ul_Parkour".
Thanks.

Code:
command /parkourteleport <player> <text> <integer>:
    permission: rank.admin
    permission message: &8[&f&lServer&8] &7No Permissions!
    trigger:
        if arg-3 is 1:
            send "&8[&f&lServer&8] Complete the previous ones first!" to arg-1
        if arg-3 is 2:
            if arg-2 is "plains":
                teleport arg-1 to location at 9.5, 15, 6.5 in world "ul_Parkour"
            if arg-2 is "sunflowerplains":
                teleport arg-1 to location at 134.5, 26, 196.5 in world "ul_Parkour"

Code:
Line 431: Can't understand this condition/effect: teleport arg-1 to location at 9.5, 15, 6.5 in world "ul_Parkour" (line 431: teleport arg-1 to location at 9.5, 15, 6.5 in world "ul_Parkour"') (The Parser doesn't support every syntax element.)

Line 433: Can't understand this condition/effect: teleport arg-1 to location at 134.5, 26, 196.5 in world "ul_Parkour" (line 433: teleport arg-1 to location at 134.5, 26, 196.5 in world "ul_Parkour"') (The Parser doesn't support every syntax element.)
 
Hey, try this:

Code:
command /parkourteleport <player> <text> <integer>:
    permission: rank.admin
    permission message: &8[&f&lServer&8] &7No Permissions!
    trigger:
        if arg-3 is 1:
            send "&8[&f&lServer&8] Complete the previous ones first!" to arg-1
        if arg-3 is 2:
            if arg-2 is "plains":
                teleport player to world "ul_Rarkour"
                teleport player to location at 9.5, 15, 6.5
                #teleport arg-1 to location at 9.5, 15, 6.5 in world "ul_Parkour"
            if arg-2 is "sunflowerplains":
                teleport player to world "ul_Rarkour"
                teleport player to location at 134.5, 26, 196.5
              #teleport arg-1 to location at 134.5, 26, 196.5 in world "ul_Parkour"
 
Hey, try this:

Code:
command /parkourteleport <player> <text> <integer>:
    permission: rank.admin
    permission message: &8[&f&lServer&8] &7No Permissions!
    trigger:
        if arg-3 is 1:
            send "&8[&f&lServer&8] Complete the previous ones first!" to arg-1
        if arg-3 is 2:
            if arg-2 is "plains":
                teleport player to world "ul_Rarkour"
                teleport player to location at 9.5, 15, 6.5
                #teleport arg-1 to location at 9.5, 15, 6.5 in world "ul_Parkour"
            if arg-2 is "sunflowerplains":
                teleport player to world "ul_Rarkour"
                teleport player to location at 134.5, 26, 196.5
              #teleport arg-1 to location at 134.5, 26, 196.5 in world "ul_Parkour"
It didn't work but I got it fixed
 
I suggest using set command then use variable for location

set {parkour} to player’s location

teleport player to {parkour}
 
Status
Not open for further replies.