Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Doxedon
Novice


Joined: 01 Dec 2007
Posts: 49

PostPosted: 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.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: 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!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net