Solved Portal Command

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

BrettPlayMC

Supporter
Jan 26, 2017
715
53
28
SkUnity Street
Category: Teleport

Suggested name: PortalCommander

What I want:
I would like a script that when a player enters some coordinates (In my case, a portal), the player runs a command that I can specify.

Ideas for commands:
None
Ideas for permissions:
None
When I'd like it by: 2 days? :emoji_slight_smile:
 
Just use

code_language.skript:
on entering a portal:
    make player execute command "Whatever"
 
Just use

code_language.skript:
on entering a portal:
    make player execute command "Whatever"
The following does not seem to work:
code_language.skript:
on entering a portal:
    if player's world is "KitPvP":
        wait 10 ticks
        execute player command "hub"
 
If your using Skellett

Try
code_language.skript:
teleport to world
maybe idk