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.

Issues with Skript Sign Variables

Discussion in 'Skript' started by Sword96_A, Jul 11, 2017.

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

    Sword96_A Member

    Joined:
    Jul 11, 2017
    Messages:
    1
    Likes Received:
    0
    Hi so i was creating some scripts in skript and i was thinking about making a essentials-like sign:
    [Sell] and [Buy] for example and i was wandering the sign's variables like variable for event-block line1 , line2 ecc...

    Here is the code i was making it gives me errors on the variables, the ones i don't know:

    Code (Skript):
    1. on rightclick on sign:
    2.    line 1 of event-block is "[Sell]"
    3.    player has %line 2% %line 3%
    4.    if player's balance is less than %line 4%:
    5.        message "&cYou need more money for this!" to player
    6.        stop trigger
    7.    if player's balance is more than %line 4%:
    8.        message "&aYou bought %line 2%x %line 3% for %line 4%" to player
     
Thread Status:
Not open for further replies.
Loading...