When i reloading this script then come an error ("'%arg-2%' is not an entity type (globalcoins.sk, line 35: add %arg-2% to {globalcoins.%player%}')"). It always worked that way. That's why I'm wondering that it does not work now
Can someone help me please?
Spigot: 1.8.8
Plugins: WildSkript, UmbsakaJave7, skUtilities, Skungee, SkStuff, skRayfall, Skript, SkQuerym SkMorkaz. SkExtras, Skellett, SkAction, SharpSk, RandomSk, PiratSK
~ HerrUngelachtHD, Alexander
Can someone help me please?
Code:
if arg 1 is "add":
if arg 2 is set:
message "&8Setup/Edit the database"
delete file "{@path}%player%.html"
send player title "&a&l." with subtitle "&8Deleting database from you..." for 5 seconds
wait 10 tick
add %arg-2% to {globalcoins.%player%}
send player title "&a&l.." with subtitle "&8Create file of added coins..." for 5 seconds
wait 10 tick
create file "{@path}%player%.html"
send player title "&a&l..." with subtitle "&8Create new database frpm you..." for 5 seconds
wait 10 tick
wf "%{globalcoins.%player%}%" to "{@path}%player%.html"
send player title "&a&l." with subtitle "&8Move Coins file in your database..." for 5 seconds
wait 1 second
send player title "&a&l.." with subtitle "&8Move Coins file in your database..." for 5 seconds
wait 1 second
send player title "&a&l..." with subtitle "&8Move Coins file in your database..." for 5 seconds
wait 1 second
message "{@prefix} &6%arg-2% Global Coins&a was added to your Account!"
send player title "&a&l✔" with subtitle "&8Coins added!" for 5 seconds
Spigot: 1.8.8
Plugins: WildSkript, UmbsakaJave7, skUtilities, Skungee, SkStuff, skRayfall, Skript, SkQuerym SkMorkaz. SkExtras, Skellett, SkAction, SharpSk, RandomSk, PiratSK
~ HerrUngelachtHD, Alexander