This API now supports custom expressions/conditions by usage of skript-mirror. Makes a lot of sense, since the API was depending on skript-mirror anyway.
2.1
- Added custom expressions & conditions as replacement for functions
- functions from 2.0 are still kept in the file and are functional (outcomment if not needed)
- tweaked the scoreboard-tag-wand a bit
Expressions:
Conditions:
- %entity%'s [scoreboard(-| )]tags ~~~ (get/loop/set/add/remove/delete/reset)
- %entity%'s [scoreboard(-| )]tag(-| )value %string% ~~~ (get/set/delete/reset)
Examples:
- %entity% (0¦does(n't| not) have|1¦has [got]|does have) [scoreboard(-| )]tag[s ] %strings%
- %entity% (0¦does(n't| not) have|1¦has [got]|does have) [scoreboard(-| )]tag(-| )value[s ] %strings%
Code (Skript):
command /test: trigger: add "this", "is", "just", "an", "example" to command sender's tags loop command sender's tags: send "%loop-value%" remove "this", "is", "just" from command sender's tags send "%command sender's tags%" set command sender's tag value "IsTest" to "true" command sender has tag value "IsTest": command sender's tag value "IsTest" = "true" send "&atrue!, command sender has the tags: %command sender's tags%" delete command sender's tag value "IsTest" remove "an", "example" from command sender's tags send "%command sender's tags%"
-
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.

API jaylawl's (scoreboard) TagAPI 2.1.2
Allows storage of persistent data on any entity
Tags: