[quote author=-AdZero- link=msg=725727 date=1286364458]The problem is that I don't know how to create the column with the lines of code that are given in the doc. I know how to create a custom column with a simple pattern on a single line, but not with several lines of script.[/quote]
What happens if you put the code on one line?
$puts(r3,%_dynamic_rating%)$puts(r4,$ifgreater($get(r3),0,$get(r3),1))$puts(maxdar,10800)$puts(mindar,7800)$puts(minmax,$sub($get(maxdar),$get(mindar)))$puts(darind1,$sub($get(r4),$get(mindar)))$puts(darind2,$div($mul($get(darind1),10),$get(minmax)))$puts(darind3,$ifgreater($get(darind2),1,$get(darind2),1))$puts(display,$rgb(150,150,150)$repeat(?,$get(darind3)))$puts(notplayed,$rgb(200,200,200)- n/a -)$ifgreater(%play_count%,0,$get(display) $rgb(200,200,200)$get(darind3),$get(notplayed))
C.