Feature report arena flyer % in session logs, similar to insults

slyz

Developer
Try this alias:
Code:
alias fml => ashq int fml = get_property("flyeredML").to_int(); float fpercent = 100.0*fml/10000.0; print("Flyer ML: "+min(100.0,fpercent)+"% ( "+fml+"/10,000 )");

Code:
> fml

Flyer ML: 100.0% ( 10021/10,000 )

For a fancy version:
Code:
alias fml2 => ashq buffer num(buffer b,int n,int l){if(n>= 10)num(b,n/10,l+1);b.append(to_string(n%10));if(l>0&&l%3==0)b.append(",");return b;}int fml=get_property("flyeredML").to_int();buffer b;float fper=100.0*fml/10000.0;print_html("<b>Flyer ML:</b> "+min(100.0,fper)+"% ( "+num(b,fml,0)+" / 10,000 )");

Code:
> fml2

[B]Flyer ML:[/B] 100.0% ( 10,021 / 10,000 )
 
Top