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:
[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