Hi, all. No, I don't need help with a script I currently have, but rather I need to know if what I'm about to do is even possible using Skript or an add-on. I will try my best to explain, but even me saying it in my head is confusing. Here goes.
I'm creating a script that will search a variable list (known in my script as a "database", but it's just a list), show this list to the player, and then the player can do as they wish with that info. I'm wondering if it's possible to search a list (based on command arguments) for specific results, but ONLY show results matching a certain argument (negating the rest of the info in the lists). I will be using multiple lists. I do not want to do this all manually, but I can if need be. If you're still reading this, I hope I haven't confused you by now.
TL;DR
Search a variable list for a specified argument, and show only the matching results in chat
Minecraft Version: 1.14.3 (for certain reasons)
Server Version: PaperSpigot, git-Paper-134 (MC: 1.14.3) (again, for certain reasons)
Skript Plugin Version: Skript-2.4-beta7 (fork by bensku)
Addons: SkQuery 4.1.1, Ersatz 1.0
I'm creating a script that will search a variable list (known in my script as a "database", but it's just a list), show this list to the player, and then the player can do as they wish with that info. I'm wondering if it's possible to search a list (based on command arguments) for specific results, but ONLY show results matching a certain argument (negating the rest of the info in the lists). I will be using multiple lists. I do not want to do this all manually, but I can if need be. If you're still reading this, I hope I haven't confused you by now.
TL;DR
Search a variable list for a specified argument, and show only the matching results in chat
Minecraft Version: 1.14.3 (for certain reasons)
Server Version: PaperSpigot, git-Paper-134 (MC: 1.14.3) (again, for certain reasons)
Skript Plugin Version: Skript-2.4-beta7 (fork by bensku)
Addons: SkQuery 4.1.1, Ersatz 1.0