|
braumen Beginner
Joined: 28 May 2002 Posts: 17 Location: USA
|
Posted: Sat Apr 17, 2004 12:27 am
Status Line & Variables |
Ok... what i am trying to do is make a counter in the status line
What i would like it to do is keep track of three different variables (that much i have working properly) and then add those three variables into a single value that will show up on the status line... that is the part i cant get to work.... any suggestions would be much appreciated |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Apr 17, 2004 1:12 am |
#math totalval {@val1+@val2+@val3}
then put @totalval in your #ST
#ST {@totalval} |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Apr 17, 2004 1:12 am |
#ST %eval( @Var1 + @Var2 + @Var3)
|
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Apr 17, 2004 3:19 am |
Hmmm I REALLY need to start drinking coffee and pick a less hectic time of the day before I attempt to answer :P
|
|
|
|
|
|