|
Doxedon Novice
Joined: 01 Dec 2007 Posts: 49
|
Posted: Sun Dec 02, 2007 4:16 am
[2.14] %alarm not working in Status Bar |
I've created the following alarm through a trigger, yet, when I want to display the time left before the alarm fires upon the status bar, it's not being showing the true time but a "-1".
Quote: |
Alarms:
+1200 -> #echo *** Testing Alarm *** [in 8:36]
|
Alarm Setup:
Code: |
#ALARM "testingalarm" {+1200} {
#echo *** Testing Alarm ***
}
|
Status Bar Value:
Code: |
%alarm(testingalarm)
|
I have no problem just putting an #ECHO %alarm(testingalarm) through the command line, which is returning a value greater than -1. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sun Dec 02, 2007 6:05 am |
This works for me. Make sure you have the name of the typed correctly and that the alarm is enabled.
|
|
_________________ Asati di tempari! |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Dec 03, 2007 5:58 pm |
Also, keep in mind that the status bar is only updated if a *variable* used in it is updated. So the status bar isn't going to constantly update as the value of %alarm changes...you'll need to have some other variable in the status bar that gets updated to cause the status bar to refresh.
|
|
|
|
|
|