Issues with Skript Sign Variables

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Sword96_A

Member
Jul 11, 2017
1
0
0
33
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_language.skript:
on rightclick on sign:
   line 1 of event-block is "[Sell]"
   player has %line 2% %line 3%
   if player's balance is less than %line 4%:
       message "&cYou need more money for this!" to player
       stop trigger
   if player's balance is more than %line 4%:
       message "&aYou bought %line 2%x %line 3% for %line 4%" to player
 
Status
Not open for further replies.