1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon Bitshift 1.0.0

Skript addon for more operators

Tags:
  1. pesekjan
    Supported Minecraft Versions:
    • 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19
    BitShift
    Skript addon for custom classes.

    Requirements:

    Syntax:
    Conditions
    Code (Text):
    1. <condition> && <condition> - Conditional-AND operator
    2. <condition> || <condition> - Conditional-OR operator
    3. !<condition> - Inverts the result of a condition
    4. %booleans%? - Checks if all booleans are true
    Bitwise Operators
    Code (Text):
    1. %number% & %number% - Bitwise AND
    2. %number% | %number% - Bitwise inclusive OR
    3. %number% ^^ %number% - Bitwise exclusive OR
    4. ~%number% - Unary bitwise complement
    Shift Operators
    Code (Text):
    1. %number% << %number% - Signed left shift
    2. %number% >> %number% - Signed right shift
    3. %number% >>> %number% - Unsigned right shift
    Unary Operators
    Code (Text):
    1. !%boolean% - Inverts the value of a boolean
    Bitshift also supports hexadecimal and binary number formats.
    Code (Text):
    1. set {_result} to 0xFF - 0xAA
    2. set {_result} to 0b1100 | 0b0011
    GitHub repository for reporting issues here, happy Skripting! ♥