Method Calling
This new feature allows you to call methods on placeholders to check string properties before comparing them in conditions
placeholders:
something:
placeholders:
- '%placeholder%.methodname() == something'
output: 'something'For example:
placeholders:
- '%player_name%.length() == 4' # Name is exactly 4 charactersplaceholders:
- '%vault_eco_balance%.length(!".") == 4' # 4 chars excluding dotsAvailable Methods:
Last updated