Solved Command not recognized by SK?

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

OneBigMeatball

New Member
Apr 8, 2019
8
0
0
21
command /buyshop [<text>]:
trigger:
if arg 1 is "irongen":
if {balance::%player%} is more than or equal to 100:
add 1 iron block named "&fIron &7Generator" to player
subtract 100 from {balance::%player%}
else if {balance::%player%} is less than 100:
message "&cYou need 100 coins to buy this object."
if arg 1 is "goldgen":
if {balance::%player%} is more than or equal to 1000:
add 1 gold block named "&6Gold &7Generator" to player
subtract 1000 from {balance::%player%}
else if {balance::%player%} is less than 1000:
message "&cYou need 1000 coins to buy this object."
if arg 1 is "diamondgen":
if {balance::%player%} is more than or equal to 10000:
add 1 diamond block named "&bDiamond &7Generator" to player
subtract 10000 from {balance::%player%}
else if {balance::%player%} is less than 10000:
message "&cYou need 10000 to buy this object."


heres the script and for some reason skript wont recognize it as a command? Please help normally it works fine stuff like this (and yes i reloaded the skript)
 
is this solved or not?

If yes then ok

If not, then why are you marking it as solved? This is like the 20th issue I have seen reported, that is marked as solved.
 
is this solved or not?

If yes then ok

If not, then why are you marking it as solved? This is like the 20th issue I have seen reported, that is marked as solved.
A person on the sk unity discord solved it :emoji_grinning: it didnt work because I had skemail
 
Status
Not open for further replies.