Command argument multiplication
Viboten opened this issue ยท 1 comments
Skript/Server Version
[15:38:20 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[15:38:20 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[15:38:20 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[15:38:20 INFO]: [Skript] Server Version: git-Paper-409 (MC: 1.20.4)
[15:38:20 INFO]: [Skript] Skript Version: 2.8.3 (skriptlang-github)
[15:38:20 INFO]: [Skript] Installed Skript Addons: None
[15:38:20 INFO]: [Skript] Installed dependencies: None
Bug Description
Multiplying an argument in a command leads to it getting subtracted.
Expected Behavior
The argument is multiplied.
Steps to Reproduce
Example skript:
command /debug <integer>: trigger: set {_integer} to arg-1 * 10 #The varibale will be set to arg-1 minus 10 instead of it being multiplied. message "%{_integer}%" to player
Errors or Screenshots
No response
Other
Workaround skript:
command /workaround <integer>: trigger: set {_arg} to arg-1 set {_integer} to {_arg} * 10 message "%{_integer}%" to player
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Duplicate of #5901