- Joined
- Nov 8, 2013
So if you're a new player and you want to know how to add a mana bar on your screen I made this easy tutorial vid on how to do it.
You'll also need this (I adjusted it so it changes colors as you get lower on mana):
IFMATCHES(%CHATCLEAN%,"^Mana: (.+?) - (.+?)%",&mana,2);
SET(@#mana,%&mana%);
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
FILTER;
ENDIF;
IFMATCHES(%CHATCLEAN%,"^MANA (.+?)%",&mana,1);
SET(@#mana,%&mana%);
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
FILTER;
ENDIF;
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
If anything does not work or you have further questions feel free to leave a reply.
IFMATCHES(%CHATCLEAN%,"^Mana: (.+?) - (.+?)%",&mana,2);
SET(@#mana,%&mana%);
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
FILTER;
ENDIF;
IFMATCHES(%CHATCLEAN%,"^MANA (.+?)%",&mana,1);
SET(@#mana,%&mana%);
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
FILTER;
ENDIF;
SETLABEL(ManaLabel, "Mana: %@#mana%%");
SETPROPERTY(ManaBar,colour,#FF00FFC0);
IF(@#mana<51);
SETPROPERTY(ManaBar,colour,#FFFFFF00);
ENDIF;
IF(@#mana<26);
SETPROPERTY(ManaBar,colour,#FFFF0000);
ENDIF;
If anything does not work or you have further questions feel free to leave a reply.