-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional <operators/constructors> Needed #27
Comments
Hello :) You can already reverse a condition with
So why adding a new operator if you can just reverse the conditon ? ==== For the AND and OR for multiple placeholder I thinks if it's added it should be available for every operator so maybe a new conditional types can be a good idea like and that can be used if it has an just above |
oh, i completely missed it.
For numbers, yes, but i was asking about STRINGS/text. Thank you. |
You can do the same with strings :)
a new conditional types can be a good idea like <or> and <and> that can be used if it has an <if> just above Not typos, just github that interprets <> |
Request: additional functional operators needed for some use-cases:
Please add a function for:
<> (not equal to, opposite of "=" (or "!="))
ex:
currently I cannot test a string that changes constantly,
or have a set of commands run if the value returns false for the statement:
some placeholders can't be checked for an exact string value, but can be tested for a null/empty value
%luckperms_expiry_time_essentials.fly% returns a time value, but as a string ex:"1h 5m 3s"
#==================lower priority/later on:
PS. can PAPI numerical values be tested for multiple values (with OR) the same way strings can?
ex: placeholder:%papi_value%=2|=4|=6 #(no spaces)
Is there an AND function?
ex: placeholder:%papi_value%=2 && %papi_value2%=test
or a multiple OR test on a single line?
ex: placeholder:%papi_value%=2 || %papi_value2%=test
There is a PlaceholderAPI MATH function that can do math functions with EvalEX, but that won't test multiple placeholders things in one statement. :/
Thank you.
The text was updated successfully, but these errors were encountered: