mirror of
https://github.com/PlaceholderAPI/Javascript-Expansion.git
synced 2025-05-24 20:02:44 +00:00
Updated Advanced Scripts (markdown)
parent
b532a52f03
commit
83d44fde09
@ -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"){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user