#colors / symbols depends of requirements
1 messages · Page 1 of 1 (latest)
Changeoutput might be what you are looking for. It can be also achieved with a single JS placeholder + easier to change
function run() {
if (!args || args.length < 2) return "Missing arguments";
let required = parseInt(args[0]);
let progress = parseInt(args[1]);
if (progress >= required) return "&a" + progress + "&f / &7" + required + "&a ✅️";
else return "&c" + progress + "&f / &7" + required + "&c ❌️";
}
run();```
You need the javascript expansion and after you register this script you call it like this %javascript_<name>_<required-amount>,{placeholder for progress}%
e.g. &f- Mob Kills: %javascript_<name>_20,{statistic_mob_kills}%
@lunar flare
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
Requested by: gabytm • paste
After my edit?
seems like yes
Do /papi reload again, the error should not be the same..
i tried to click some buttons idk what i did but it works now. Thank you a lot ! ❤️