|
Fizgar Magician
Joined: 07 Feb 2002 Posts: 333 Location: Central Virginia
|
Posted: Tue Sep 28, 2010 1:17 am
[3.29b] #alarm will not fire offline. |
This is tested with a fresh install of CMUD. No CMUD folder in program files or in my documents folder prior to install so it should all be clean. I install CMUD and create the following trigger in the untitled session.
Code: |
<trigger type="Alarm" priority="10" id="1">
<pattern>-00:01</pattern>
<value>#beep</value>
</trigger>
|
The trigger doesn't fire once I close the package editor. No beep, and nothing showing up in the script debugger.
I type
Code: |
#ses retromud.org 3000 |
on the command line which I pulled from the sessions window, and once connected the trigger will start to fire and beep every second. Type #dis on the command line and the trigger stops executing.
Are alarm triggers only supposed to work when a connection is present now? |
|
_________________ Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34 |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Sep 28, 2010 2:58 am |
* for when you want an alarm to also execute while offline.
- for when you want an alarm to only execute while online.
+ for when you want an alarm to fire once and then delete itself.
XX:XX:XX when you want an alarm to fire at a specific time of day.
As far as the interval goes, if you only specify seconds (ie, *120) the alarm will wait that many seconds before firing--with the origin being set to the exact time of day that the changes to the alarm were committed (ie, compiled). If you use the hours:minutes:seconds format, the alarm will fire when the time values match the alarm pattern (ie, -3:*:00 will only fire at the top of every minute--3:01:00, 3:02:00, etc.) |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|