Package io.github.syst3ms.skriptparser.expressions
@ParametersAreNonnullByDefault
package io.github.syst3ms.skriptparser.expressions
-
ClassDescriptionA very general condition, it simply compares two values.See if a given list of objects contain a given element.Check if a given date is a certain duration before or after the current date.Check if a given number is divisible by another number.Check if a given string or list is empty.Check if a given number is a prime number.Check if a given expression is set (null on the Java side) or not.Check if the given strings match a certain regex expression.Check if a given string starts or ends with a certain string.Basic list operators that return the following elements:
pop: the last elementshift/poll: the first elementextract: a specific (or just the first/last) elementsplice: elements in a certain bound However, this syntax can also be used as an effect.Replaces certain occurrences in a string with another string and returns those applied strings.The amount of elements in a given list.Retrieve the last input of the user in aEffAskeffect.Various arithmetic expressions, including addition, subtraction, multiplication, division and exponentiation.Miscellaneous math functions taking in two arguments.Basic boolean operators.A color specified by its hexadecimal value.A color specified by its RGB value.Certain color values of a given color.The date that was a certain duration ago or is a certain duration in the future.Formats a date as a string using the given format.The date from a (unix) timestamp.Information of a certain date.The current date, the one from yesterday or the one from tomorrow.The timestamp of a date.Today at a given time.A shorthand expression for giving things a default value.The difference between two values.Compares the given date with the current date.A certain element or multiple elements out of a list of objects.Length of a string.The currently looped value.Reverse, shuffle or order a given list.Convert a number to a different base (like binary, octal or hexadecimal) or convert a string to its decimal form.The object parsed as a given type.Generate a random number (double) or integer.Returns a range of values between two endpoints.Converts a given string into a certain case type.The character at a given position in a string.All uppercase, lowercase, or digit characters in a string.The index of the first or last occurrence of a given string in a string.Joins multiple strings together using a delimiter, splits a given string using a delimiter, or splits that string in multiple string of a certain length.Extracts a part of the string.Returns a value depending of a boolean.Miscellaneous math functions taking in a single argumentAll indices of a given list variable.A wrapper that turns a condition into a boolean expression than can be used anywhere.The name of the current executed script, without the extension.Midnight and noon time constants and the ability to use expressions like12 o' clockfor literal usage.