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!

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

Need Help With TusKe "If click type"

Discussion in 'Requests' started by Brot, Oct 25, 2019.

  1. Brot

    Brot Member

    Joined:
    Aug 12, 2019
    Messages:
    11
    Likes Received:
    0
    Hello i Need help with my Code:
    I want to test if the player has clicked with "Shift left click"
    Addons:

    Skript 1.14.4
    SkQuery 1.14.4
    TuSKe 1.14.4


    Code (Text):
    1. #CODE
    2. #+
    3.  
    4.         if arg-1 is "+1":
    5.             add 1 to {am.%player%}
    6.             make player execute command "/enchant"
    7.             if click action is shift left mouse button:
    8.                 add 10 to {am.%player%}
    9.                 make player execute command "/enchant"
    10. # -
    11.         if arg-1 is "-1":
    12.             subtract 1 from {am.%player%}
    13.             make player execute command "/enchant"
    14.             if click action is shift left mouse button:
    15.                 subtract 10 from {am.%player%}
    16.                 make player execute command "/enchant"
    17. #CODE
    if you have questions please ask
     
  2. Runakai1

    Runakai1 Well-Known Member

    Joined:
    Apr 27, 2018
    Messages:
    398
    Likes Received:
    22
    This does not belong here as it's not a request. Please delete this and post your question in the correct section
     
  3. Brot

    Brot Member

    Joined:
    Aug 12, 2019
    Messages:
    11
    Likes Received:
    0
    where do i do that deleting?
     
Loading...