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 SkQuery [1.13-1.19+] 4.1.8

The original Skript Addon.

  1. Bug fixes, Where filter and past movement

    - Added former movement location. Uses the getFrom() in the on any movement that never existed.
    Code (Skript):
    1. ([the] (past|former) move[ment] [location]
    - Added settable relative option to the time relative syntax.
    Code (Skript):
    1. (relative|player) time of %player% [with relative %-boolean%]
    3. #or
    5. %player%'s (relative|player) time [with relative %-boolean%]
    - Fixed Time Relative throwing null when trying to reset http://skunity.com/search?search=time+rel#
    - Fixed the where filter expression not working. (Throws some errors if the predicate contains an unknown expression/value. Looking into fixing that.)
    - Fixed some minor bugs.

    Example script:

    Code (Skript):
    1. function isInSwamp(p: player):
    2.     loop all players where [distance between {location} and {_p} <= 10]:
    3.         message "&2Get out of my Swamp!" to loop-player
    4. command /where:
    5.     trigger:
    6.         loop all players where [player input is "LimeGlass" parsed as player]:
    7.             message "&aOh hi there Lime" to loop-player
    8. function flyingEntities(empty: boolean = false) :: entities:
    9.     return all entities where [ground state of entity input is false]
    10. function betterContains(objects: objects, contains: object) :: boolean:
    11.     if {_objects::*} where [object input is {_object}] is empty:
    12.         return false
    13.     else:
    14.         return true
    15. command /test:
    16.     trigger:
    17.         set {_objects::*} to "Stuff", "Test", "Skript" and "Testing"
    18.         if betterContains({_objects::*}, "Testing") is true:
    19.             broadcast "yes"
    20.         else:
    21.             broadcast "no"
    KorkugunuB and Goetheus like this.
Return to update list...