[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
script problems...
- Subject: script problems...
- From: Adrian <yahoo@xxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 13:15:19 +0100
Hi
have got the dawndusk module bit i cant get the scripts to work for it,
what i am doing wrong? I had some of tonyt's code which i modified (as
change the tonyt_dawn... to johnb_dawn...) as my dawndusk module is set
with johnb. I stripped the code so i could see what if any sub was
being hit (the heartbeat should be as you get one every 5 min) but none
of the global variables are being set suggesting this script isnt being
looked at. In the monitor, the heartbeat comes through as
"johnb-dawndusk.dawndusk", the script below is located in
JOHNB_DAWNDUSK_DAWNDUSK.xpl, what am i missing
thanks in advance
Adrian
' source script for JOHNB-DAWNDUSK.DAWNDUSK
Sub johnb_dawndusk_dawndusk_Trigger(xPLMessage)
' this comes from a state change
sys.setting("test1")="hit"
End Sub
Sub johnb_dawndusk_dawndusk_Status(xPLMessage)
' this comes from a status request
sys.setting("test2")="hit"
End Sub
Sub johnb_dawndusk_dawndusk_Heartbeat(xPLMessage)
' this comes from a heartbeat message
sys.setting("test3")="hit"
End Sub
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|