1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

If Gamemode Is

Discussion in 'Skript' started by ElementAstronaut, May 14, 2022.

Thread Status:
Not open for further replies.
  1. ElementAstronaut

    Joined:
    May 11, 2022
    Messages:
    11
    Likes Received:
    1
    I'm not very sure on how to specify a username in the command, "if gamemode of player is spectator:" I'd like my command to be, "if gamemode of ElementAstronaut is spectator:"
     
  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    650
    Likes Received:
    39
    Code (Text):
    1. if gamemode of "player" is
    or
    Code (Text):
    1. set {_player} to "player" parsed as a player
    2. if gamemode of {_player} is
     
Thread Status:
Not open for further replies.

Share This Page

Loading...