Help xDD

Discussion in 'Programming' started by Uhn, May 11, 2016.

  1. Uhn

    Uhn

    Basically, I was creating this command /build (Keep in mind I'm still a noob with skript ._.) And so, I wanted It so when they try to join It kicks them, but not the staff members. Only the players with a message like "We're currently In build mode"

    command /build:
    description: build mode
    usage: /build
    permission: build.mode
    trigger:
    if player has permission "build.mode":
    execute command "/acc say &7&l&m»----------------------------------«"
    execute command "/acc say &f"
    execute command "/acc say &7• &cBuild mode &aActivated! &7•"
    execute command "/acc say &f"
    execute command "/acc say &7&l&m»----------------------------------«"
    execute command "/acc say &f"
    wait for 2 seconds
    execute command "/acc say &c&lEcopt &7» &eWe're currently In &cBuild mode!"
    wait for 2 seconds
    execute command "/acc say &c&lEcopt &7» &eCome back &cLater!"
    wait for 2 seconds
    execute command "/acc say &c&lEcopt &7» &eKicking &cAll..."
    wait for 3 seconds
    execute command "/kickall &c&lEcopt &7» &eCurrently In &aBuild Mode!"
    else:
    message "&c&lEcopt &7» &eNope."

    What do i add In there ;3 Please help.