Skript db Sql LIKE search

  • 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 community!

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

rburski

Member
Sep 1, 2026
1
0
1
So i dont know if im just stupid but i keep failing to do a like wildcard search.


execute "SELECT * FROM Active WHERE searchName LIKE '%%%arg-1%%%';" in {ah} and store the result in {_load::*}
im trying to get a auction search but it keeps returning none


if i do
execute "SELECT * FROM Active WHERE searchName LIKE '%%diamo%%';" in {ah} and store the result in {_load::*}
it works


here's my info
Server Version: 1.21.11-132-c5eb079 (MC: 1.21.11)
Skript Version: 2.16.1 (skriptlang-github)
Installed Skript Addons:
skript-gui v1.4.0 (https://github.com/APickledWalrus/skript-gui)
skript-yaml v1.7.2
SkBeePlusPlus v0.5.1
skript-reflect v2.6.3 (https://github.com/SkriptLang/skript-reflect)
skript-db v1.5.0
skript-simple-voice-chat v1.0.3
SkBee v3.25.3 (https://github.com/ShaneBeee/SkBee)
Skript-LuckPerms v1.0.3
Installed dependencies:
Vault v1.7.3-b131