Solved [Skript] Prevent Player From Dismounting

Discussion in 'Spigot Plugin Development' started by JRoy, May 22, 2016.

Thread Status:
Not open for further replies.
  1. Hello fellow Skripters!

    I have ran into a dilemma while trying to detect someone dismounting. I have attempted to google the problem but I found nothing. I looked on skunity as well but no luck.

    What I'm trying to accomplish:

    Code (Text):
    on dismount:
        if {game} is true:
            {player1} is not riding {player2}:
                make {player1} ride {player2}
    That Doesn't Work!
    This is just an example of what I want to be accomplished!

    If I have posted this in the wrong category, Devs feal free to move it.

    Thanks in advance!

  2. Go to skunity please. Spigot devs will most likely not help you here as a lot of them are biased towards Java programming. But from what I can see you're missing your "if" in line 3
    • Agree Agree x 2
  3. As @ExoticCode said, this is Spigot Plugin Development, not Skript Development (though developing skript is just.. not really developing.
    • Agree Agree x 2
    • Agree Agree x 1
  4. Choco


    That's "develop" as in the process of developing your body :p I think what you want is the definition of "program"
    "provide (a computer or other machine) with coded instructions for the automatic performance of a particular task."

    Skript is programming, yes. However, it's the "I don't know how to program" programming language. Kind of like BASIC or Scratch. Everyone above is however correct. This is a forum for Spigot, and not for Skript.
  5. or BrainFuck
    • Like Like x 1
    • Agree Agree x 1
    • Winner Winner x 1
  6. You do know that the first minecraft builds were made in BASIC? lol
  7. Choco


Thread Status:
Not open for further replies.