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
First, I feel like making conditions act like expressions would be nice, for example set {_isSet} to {variable} is set
This is most useful is functions where you would want to do something like this
function hasDiamond(p: player) :: boolean:
return {_p} has diamond
instead of
function hasDiamond(p: player) :: boolean:
if {_p} has diamond:
return true
return false
i know this is abit lazy but it also cleans the code abit. and doesn't cause confusion for people that use skript and java
Second, i don't even know why this isn't a thing but you can't do if true, you have to do if true is true which also causes confusion when using skript and java
Why?
Cleaning up code and makes skript similar to pretty much all scripting languages
Other
No response
Agreement
I have read the guidelines above and affirm I am following them with this suggestion.
The text was updated successfully, but these errors were encountered:
Suggestion
First, I feel like making conditions act like expressions would be nice, for example
set {_isSet} to {variable} is set
This is most useful is functions where you would want to do something like this
instead of
i know this is abit lazy but it also cleans the code abit. and doesn't cause confusion for people that use skript and java
Second, i don't even know why this isn't a thing but you can't do
if true
, you have to doif true is true
which also causes confusion when using skript and javaWhy?
Cleaning up code and makes skript similar to pretty much all scripting languages
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: