Timed Triggers
Timed Triggers are setup identically to reply triggers, with one
important distinction - instead of the TRIGGER: field, you use the
HOUR: field to specify the mud hour at which the socials are triggered.
Timed Triggers - Format
MOB: [
vnum] TIMED
FLAG: [
Flag Value]
CHANCE: [
Chance]
DELAY: [
Delay]
HOUR: [
HOUR: [Hour # (0-23)]
ACTION: [
Reply Cmd#]
[
Arguments/Parameters]
~
DONE
Example - Timed Command
at 11am, the mobile will announce the time.
MOB: 91394 TIMED
FLAG: 0 ;; no flags
CHANCE: 0 ;; 100%
DELAY: 0 ;; 0s
HOUR: 11 ;; 11am
ACTION: 17 ;; say
It is now 11 am!
~
DONE
Example - Chained Timed Command
At 5pm, the mobile will announce the commencement of his patrol, and then start on it.
MOB: 91394 TIMED
FLAG: 0 ;; no flag
CHANCE: 0 ;; 100%
DELAY: 0 ;; 0s
HOUR: 17 ;; 5pm
ACTION: 17 ;; say
Time to start my patrol of the Street of Wonders!
~
FLAG: 0 ;; no flag
CHANCE: 0 ;; 100%
DELAY: 20 ;; 5s
ACTION: 1004 ;; path init
1
~
DONE