Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- do;
- //=================================== ENCANTAMENTOS / IT
- &enc1=;
- foreach(enchantments);
- &enc1=%&enc1%&8, &c%ENCHANTMENTNAME% %ENCHANTMENTPOWER%;
- next;
- setlabel(IT,"&9%ITEMNAME% %&enc1%",IT);
- //=================================== EFEITO DE POÇOES / POT
- &eff=;
- foreach(effects);
- &effname=%EFFECTNAME%:;
- #time=%EFFECTTIME%;
- #id=%EFFECTID%;
- if(%#time%>=60);
- #prim=%#time%/60;
- #seg=%#time%-(%#prim%*60);
- if(%#seg%<10);
- &seg=0%#seg%;
- else;
- &seg=%#seg%;
- endif;
- &efftime=%#prim%:%&seg%;
- else;
- if(%#time%<10);
- &efftime=0:0%#time%;
- else;
- &efftime=0:%#time%;
- endif;
- endif;
- if(%#time%<11);
- &efftime=&c&l%&efftime%;
- else;
- &efftime=&2%&efftime%;
- endif;
- &eff=%&eff%\n&f%&effname% %&efftime%;
- next;
- setlabel(POT,"%&eff%",POT);
- //== fps
- setlabel(FPS,&fFPS&8: &2%FPS%,FPS)
- //=================================== ARMADURA / ARM
- if(%HELMNAME%="None");
- &cap="&4Sem Helmo";
- else;
- &cap="&fCAPA&8: &2 %HELMDURABILITY%";
- if(%HELMDURABILITY% < 40);
- &cap="&fCAPA&8: &c&l%HELMDURABILITY%";
- endif;
- endif;
- if(%CHESTPLATENAME%="None");
- &pet="&4Sem Peitoral";
- else;
- &pet="&fPEITO&8: &2%CHESTPLATEDURABILITY%";
- if(%CHESTPLATEDURABILITY% < 80);
- &pet="&fPEITO&8: &c&l%CHESTPLATEDURABILITY%";
- endif;
- endif;
- if(%LEGGINGSNAME%="None");
- &cal="&4Sem Calça";
- else;
- &cal="&fCALÇA&8: &2%LEGGINGSDURABILITY%";
- if(%LEGGINGSDURABILITY% < 80);
- &cal="&6CALÇA&8: &c&l%LEGGINGSDURABILITY%";
- endif;
- endif;
- if(%BOOTSNAME%="None");
- &bot="&4Sem Bota";
- else;
- &bot="&fBOTA&8: &2%BOOTSDURABILITY%";
- if(%BOOTSDURABILITY% < 60);
- &bot="&fBOTA&8: &c&l%BOOTSDURABILITY%";
- endif;
- endif;
- setlabel(ARM,"%&cap%\n\n%&pet%\n\n%&cal%\n\n%&bot%",ARM);
- //=================================== INFOS / IN
- setlabel(IN,"&6Server: &f%SERVER%\n&6Nick: &f%PLAYER%\n&6Hora: &f%DAYTIME%\n&6Bioma: &f%BIOME%",IN);
- @#vida=%HEALTH%*5;
- loop;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment