mirror of
https://github.com/PlaceholderAPI/Javascript-Expansion.git
synced 2025-12-13 11:54:51 +00:00
Updated Advanced Scripts (markdown)
@@ -40,9 +40,9 @@ Example (assuming the identifier is called _check_):
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```javascript
|
```javascript
|
||||||
kitName = args[0];
|
var kitName = args[0];
|
||||||
placeholder = "essentials_has_kit_" + kitname;
|
var placeholder = "essentials_has_kit_" + kitname;
|
||||||
hasKit = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");
|
var hasKit = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");
|
||||||
|
|
||||||
function hasKit(){
|
function hasKit(){
|
||||||
if(hasKit == "yes"){
|
if(hasKit == "yes"){
|
||||||
|
|||||||
Reference in New Issue
Block a user