Flashy score function! This script wil add some colors to your score if you're not full! You can easily change the colors to suit your needs if you want to. The script can also display % in your score if you toggle procent on. It also creates a report alias. You will need these: #action {^%1/%2 hits, %3/%4 mana, and %5/%6 moves.} {#script score "%1","%2","%3","%4","%5","%6"} #alias {procent} {#script procenttoggle "%1"} #message alias OFF #message sub OFF Usage: >procent - toggles procent in score ON/OFF. >report - reports your score. Paste the code to /settings/commonlib.scr The VB-script code: '### Score script ################################ '################################################# Function score (hps,mhps,mana,mmana,moves,mmoves) hp = FormatPercent(hps/mhps,0) man = FormatPercent(mana/mmana,0) mov = FormatPercent(moves/mmoves,0) jmc.parse("#alias report {comment status: " &hps &"/" &mhps &" hps [" &hp &"], " &mana &"/" &mmana &" mana [" &man &"], " &moves &"/" &mmoves &" moves [" &mov &"].}") if ((hp = "100%") = true and (man = "100%") = true and (mov = "100%") = true) then jmc.parse("#sub {%1/%2 hits, %3/%4 mana, and %5/%6 moves.} {%1/%2 hits, %3/%4 mana, and %5/%6 moves.}") end if ' ## These are the standard colors(the ones i use): score="" maxscore="" ' ## You can change the following colors below. Colors are currently set ' ## to my standard-settings. Here's a quick list of colors: ' ## Red "", Green "", Brown "", Blue "", Magenta "", ' ## Cyan "". ' ## If you want to use the "light colors" you simply add "[1" to the color. ' ## Here is for example light red: ' ## "[1[31m" ' ## So if you for an example want "light red" hps and "green" maxhps you simply ' ## change the hpf(hp) and mhpf(maxhp) variabels to: ' ## hpf="[1[31m" ' ## mhpf="" ' ## You can change all colors to suit your needs in "Colors" in jmc. if ((hp = "100%") = false) then hpf=score ' ## color of hps mhpf=maxscore ' ## color of maxhps procent=" |" &hp &"| " else procent=" " end if if ((man = "100%") = false) then manaf=score ' ## color of mana mmanaf=maxscore ' ## color of maxmana procent=procent &"|" &man &"| " else procent=procent &"  " end if if ((mov = "100%") = false) then movesf=score ' ## color of moves mmovesf=maxscore ' ## color of maxmoves procent=procent &"|" &mov &"|" else procent=procent &"  " end if jmc.parse("#sub {%1/%2 hits, %3/%4 mana, and %5/%6 moves.} {" &hpf &"%1/" &mhpf &"%2 hits, " &manaf &"%3/" &mmanaf &"%4 mana, and " &movesf &"%5/" &mmovesf &"%6 moves.}") if (ptoggle = "1") then jmc.parse("#showme { }") jmc.parse("#showme {" &procent &"}") end if End Function ' ## Function that toggles procent ON/OFF dim ptoggle Function ProcentToggle(toggle) if (toggle="1" or ptoggle="0") then jmc.parse("#showme {## Procent is now ON}") ptoggle="1" else if (toggle="0" or ptoggle="1") then jmc.parse("#showme {## Procent is now OFF}") ptoggle="0" else jmc.parse("#showme {## procent }") end if end if End Function