#Please help me with PlaceholderAPI
1 messages · Page 1 of 1 (latest)
var placeholder = '%guilds_prefix%';
function placeholderCheck() {
if (placeholder == '') {
return '%guilds_prefix% &r';
}
else {
return placeholder;
}
}
placeholderCheck();
Thanks, but I still have a problem...
When I put %javascript_guilds_prefix%, I have just an empty text in my chat when you are in the guild.
I hope the translation turned out well :3
There's a built-in function in the plugin...
But I want to change my own via PlaceholderAPI :C
Either configure %guilds_formatted% this.
The wisdom helped me to make a prefix in the back and not in the front
var placeholder = '%guilds_prefix%'
function placeholderCheck() {
if (placeholder == '') {
return '%guilds_prefix%';
}
else {
return 'help' + placeholder;
}
}
placeholderCheck()
Yes!!!
var placeholder = '%guilds_prefix%';
function placeholderCheck() {
if (placeholder == '') {
return '' + placeholder;
} else {
return '%guilds_prefix% &r';
}
}
placeholderCheck();