You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the 'sorted' function to create a /baltop command. It seems to work under only certain conditions and throws internal errors in others. From what I gathered the sorted function throws this error when one number does not have a decimal place (integer) and another number has decimal places. It seems that it does not know how to compare them? This is a code I have been trying that throws errors:
command /test2:
trigger:
add 5.02 to {_list::*}
add 2 to {_list::*}
add 2304 to {_list::*}
set {_list2::*} to sorted {_list::*}
message "%{_list2::*}%"
I have tried on both Skript dev23 and Skript dev24b
The text was updated successfully, but these errors were encountered:
I am trying to use the 'sorted' function to create a /baltop command. It seems to work under only certain conditions and throws internal errors in others. From what I gathered the sorted function throws this error when one number does not have a decimal place (integer) and another number has decimal places. It seems that it does not know how to compare them? This is a code I have been trying that throws errors:
I have tried on both Skript dev23 and Skript dev24b
The text was updated successfully, but these errors were encountered: