Skript Version: 2.2-dev34
Skript Author: Njol, Mirreski, bensku, TheBentoBox, tim740, Tuke-Nnuke, TheLimeGlass, xXAndrew28Xx, Sashie, RoyCurtis, nfell2009, Syst3ms and Snow-Pyon
Minecraft Version: 1.12.2
---
Full Code:
Errors on Reload:
None.
Console Errors:
None.
Other Useful Info:
Doing "/test" will broadcast some info and check if you have a certain item in your inventory.
Doing "/test 1" will give you the item you are supposed to have and then check if your inventory contains it, but for some reason this does not work...
Addons using (including versions):
I am not sure if the script I have provided is using any addons, but I will list the ones installed.
skDragon (0.14.0)
SkQuery (3.6.0-Lime)
Skellett (1.9.4a)
TuSKe (1.8.2)
Troubleshooting:
Don't know what I am supposed to put here...
Have you tried searching the docs? N/A, not searching for a condition, effect, etc.
Have you tried searching the forums? No, but I have searched google and have not found a sollution.
What other methods have you tried to fix it?
I have tried putting it directly as an item, but skript makes the mistake of thinking it is a list(I am using a trade item function, it takes buy and sell, with comma separated.) I also tried putting a void variable between those 2, still does not work.
Tried parsing text as item, but it does not register the item's names.
Skript Author: Njol, Mirreski, bensku, TheBentoBox, tim740, Tuke-Nnuke, TheLimeGlass, xXAndrew28Xx, Sashie, RoyCurtis, nfell2009, Syst3ms and Snow-Pyon
Minecraft Version: 1.12.2
---
Full Code:
code_language.skript:
command /test [<integer>]:
trigger:
set {_currency::coal} to coal:0 named "&8Coal &7[&a1&7]"
set {_sell} to "coal"
broadcast "1. %{_sell}%"
set {_sell-amount} to 9
broadcast "2.1. %{_sell}%"
broadcast "2.2. %{_sell-amount}%"
set {_sell} to {_sell-amount} of {_currency::%{_sell}%}
broadcast "3.1. %{_sell}%"
broadcast "3.2. %{_sell-amount}%"
if arg 1 is set:
give {_sell} to player
if player's inventory contains {_sell}:
send "&aTrue."
else:
send "&cFalse."
Errors on Reload:
None.
Console Errors:
None.
Other Useful Info:
Doing "/test" will broadcast some info and check if you have a certain item in your inventory.
Doing "/test 1" will give you the item you are supposed to have and then check if your inventory contains it, but for some reason this does not work...
Addons using (including versions):
I am not sure if the script I have provided is using any addons, but I will list the ones installed.
skDragon (0.14.0)
SkQuery (3.6.0-Lime)
Skellett (1.9.4a)
TuSKe (1.8.2)
Troubleshooting:
Don't know what I am supposed to put here...
Have you tried searching the docs? N/A, not searching for a condition, effect, etc.
Have you tried searching the forums? No, but I have searched google and have not found a sollution.
What other methods have you tried to fix it?
I have tried putting it directly as an item, but skript makes the mistake of thinking it is a list(I am using a trade item function, it takes buy and sell, with comma separated.) I also tried putting a void variable between those 2, still does not work.
Tried parsing text as item, but it does not register the item's names.
Last edited: