Parameter Name | Possible Values | Default Value | Usage |
countername | Any text string | Default | The countername parameter will be used to differenciate between counters. TWCounter.exe will create a DAT file of the same name on the server, in which it will store that counters current value. |
width | Integer > 0 | Automatic | If you do not want TWCounter.exe to resize your counter image automatically according to the width of the text, you may fix a size with this parameter. |
height | Integer > 0 | Automatic | If you do not want TWCounter.exe to resize your counter image automatically according to the height of the text, you may fix a size with this parameter. |
minchar | Integer > 0 | Automatic | If you want to have a minimum string of characters to be displayed, set this value and TWCounter.exe will pad the front of the strng with the appropriate number of zeros. |
color | HEX-RGB color | DCDCDC | Set this value to change the color of the counter's background. |
hasborder | 0 or 1 | 0 | Set this value to 1 if you wish to ahve a 1 pixel border around your counter. |
fontname | Any font installed on the server where TWCounter.exe is installed. | Arial | Set this value to changet the font used by the counter. |
fontcolor | HEX-RGB color | 000000 | Set this value if you want to change the color of the counter characters. |
fontsize | Integer > 0 | 10 | Set this value to change the size of the text that makes up the counter image. |
isbold | 0 or 1 | 0 | Set this value to make the text appear bolded. |
isitalic | 0 or 1 | 0 | Set this value to make the text appear italicized. |
isunderlined | 0 or 1 | 0 | Set this value to make the text appear underlined. |
stats | pie | None | Instead of returning a counter gif, TWCounter.exe will return a GIF displaying the number of impressions and a pie chart showing the percentages of all counters. |
month | 1 to 12 | Current Month | This value is only used in combination with the stats parameter. |
year | Integer > 0 | Current Year | This value is only used in combination with the stats parameter. |