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 our 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 {mana::%player's uuid%} is more than {@1}-1:

Discussion in 'Skript' started by powershooter83, Aug 6, 2019.

Tags:
Thread Status:
Not open for further replies.
  1. powershooter83

    Joined:
    Apr 20, 2018
    Messages:
    14
    Likes Received:
    0
    Hey.

    if {mana::%player's uuid%} is more than {@1}-1:
    It's not working and there are 0 errors.
     
  2. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    406
    Likes Received:
    14
    Send the complete code, please.
     
  3. Mich7272

    Mich7272 Well-Known Member

    Joined:
    Apr 12, 2019
    Messages:
    49
    Likes Received:
    0
    I think the problem is you need to use a variable and not an array like {mana.%player's uuid%}
     
  4. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    304
    Likes Received:
    20
    What the fuck is @1
     
  5. Mich7272

    Mich7272 Well-Known Member

    Joined:
    Apr 12, 2019
    Messages:
    49
    Likes Received:
    0
    Don't need to be rude and probably is an option because you can do for example
    Options:
    Logo: &8test

    Command /test
    Message "{@logo}"
     
    • Agree Agree x 1
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    What the fuck is with your attitude? You keep acting like you are some hot shit on these forums, yet no one knows who the heck you are, and you write terrible Skript code. Stop acting like you are the shit when you are no one.
    If you KNEW proper Skript, you would know that `{@1}` is called an OPTION, DUH!

    I recommend putting more code, example, what is your option set to?
    Also explain a bit more, what's not working? what are you expecting to work?
    Based on that tiny bit of code I really have no clue what isn't working, you could try wrap the math in parenthesis, ex:
    Code (Skript):
    1. if {mana::%player's uuid%} is more than ({@1} - 1):
    Im not really sure what other advice to give you here, since you provided a very small piece of your code with next to no explanation as to whats going on here.
     
    • Informative Informative x 1
  7. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    304
    Likes Received:
    20
    No shit @1 is a fucking option???
    [​IMG]

    I asked what is it, what's it defined as, never claimed to be something on this forum lmao who tf cares it's internet you weeb
     
  8. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    406
    Likes Received:
    14
    Please guys, avoid rudeness or offensive vocabulary.
     
    • Agree Agree x 1
Thread Status:
Not open for further replies.
Loading...