Need help with commands!

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

Shawn11564

New Member
Feb 28, 2017
7
1
3
33
Skript Version: Skript 2.1.1
Skript Author: njol
Minecraft Version: 1.8
---
Full Code:
None yet

So, I am trying to make a command with Skript that when someone types /spawn it instead executes /mvs as that player.
Ex. Player types /spawn, the script turns that into /mvs, the player is teleported to the multiverse spawn.
I tried having it setup so that the /spawn command would do this: execute command as player /mvs
But that didnt work. Any help would be great!
 
Try this.
code_language.skript:
on command:
    if command is "spawn"
        cancel event
            make player execute command "/mvs"

Or, Permission Problem?
code_language.skript:
on command:
    if command is "spawn":
        cancel event
        make console execute command "/mvs %executor%"
 
Try this.
code_language.skript:
on command:
    if command is "spawn"
        cancel event
            make player execute command "/mvs"

Or, Permission Problem?
code_language.skript:
on command:
    if command is "spawn":
        cancel event
        make console execute command "/mvs %executor%"
Would on command require a skript addon? Thanks for the help!
 
Status
Not open for further replies.