Skript Version (do not put latest): Skript 2.2 (dev36)
Skript Author: bensku
Minecraft Version: 1.8.8
---
I'm trying to add the message [message is going to be a number] to a variable which serves as a balance [/bal], but it does not add.
Full Code:
Code (Skript):
N/A - This reloads without any errors, but does not add the message to the variable.
Console Errors: (if applicable)
N/A
Addons using (including versions):
SkRayFall 1.8.17, SkQuery 3.6.1-Lime, Skellett 1.9.6b, SkUtilities 0.9.2
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? I have tried adding the chat message to different variables.
Skript Author: bensku
Minecraft Version: 1.8.8
---
I'm trying to add the message [message is going to be a number] to a variable which serves as a balance [/bal], but it does not add.
Full Code:
Code (Skript):
Code:command /test: trigger: set {spec.amount.%player%} to true command /bal: trigger: send "%{balance.%player%}%" to player on chat: if {spec.amount.%player%} is true: if player's money is greater than or equal to {_message}: cancel event set {_message} to message add message parsed as number to {bank.%player%} execute console command "eco take %player% %message%" set {spec.amount.%player%} to false else: stop
N/A - This reloads without any errors, but does not add the message to the variable.
Console Errors: (if applicable)
N/A
Addons using (including versions):
SkRayFall 1.8.17, SkQuery 3.6.1-Lime, Skellett 1.9.6b, SkUtilities 0.9.2
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? I have tried adding the chat message to different variables.