rogue777 Posted June 25, 2010 Report Share Posted June 25, 2010 Make the display columns programmable by exposing the variables currently used to an interpretted programming language.For example, two of the exposed values would be Seeds and Peers, with subvalues .active and .total. So the program for the "Seeds" column might look like this: print "$Seeds.active ($Seeds.total)"; # assuming $ interpolates value into stringThe standard columns would be preprogrammed and unchangeable (always available), but the user could add their own. For example, this would show a number comparing the total seeds to total peers: if (Peers.total == 0) { print "$Seeds.total / 0"; # number followed by "/ 0" } else { print round(Seeds.total / Peers.total, 2); } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.