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

 Related 
Contents
Settings
  %alias
  %btncol
  %btnenable
  %btnimage
  %charcomment
  %charnotes
  %class
  %defined
  %getglobal
  %handle
  %numbuttons
  %setglobal
  %state
  %trigger
  %window
  Settings
Function Reference
  %abs
  %additem
  %addkey
  %alarm
  %alias
  %ansi
  %array
  %arrget
  %arrhigh
  %arrset
  %ascii
  %average
  %begins
  %bitand
  %bitnot
  %bitor
  %bitxor
  %btncol
  %btnenable
  %btnimage
  %case
  %char
  %charcomment
  %charnotes
  %class
  %clip
  %color
  %colorname
  %comactive
  %comcreate
  %comget
  %comset
  %concat
  %copy
  %count
  %countlist
  %crtonl
  %db
  %dbget
  %dblist
  %dbmax
  %dbmin
  %dde
  %ddeclose
  %ddemacro
  %ddeopen
  %ddepoke
  %defined
  %delete
  %delitem
  %delkey
  %delnitem
  %destroom
  %dice
  %diceavg
  %dicedev
  %dicemax
  %dicemin
  %doorname
  %dups
  %ends
  %eval
  %exec
  %expand
  %expanddb
  %expandlist
  %filesize
  %find
  %float
  %format
  %getglobal
  %grep
  %gsl
  %handle
  %if
  %insert
  %int
  %inwalk
  %isfloat
  %iskey
  %ismember
  %isnumber
  %item
  %lastdir
  %left
  %leftback
  %len
  %literal
  %look
  %lower
  %match
  %mapfilter
  %maplocked
  %mapquery
  %mapvnum
  %max
  %mcp
  %min
  %mod
  %mss
  %nextdir
  %nltocr
  %norm
  %null
  %number
  %numbuttons
  %numitems
  %numkeys
  %numparam
  %numrec
  %numrooms
  %numwords
  %numzones
  %param
  %parsemode
  %pathcompress
  %pathexpand
  %pathfrom
  %pathreverse
  %pick
  %pop
  %portal
  %portalenabled
  %pos
  %prompt
  %proper
  %push
  %query
  %quote
  %random
  %read
  %regex
  %remove
  %repeat
  %replace
  %replaceitem
  %reversedir
  %right
  %rightback
  %roomcol
  %roomcom
  %roomcontents
  %roomcost
  %roomdesc
  %roomexit
  %roomflags
  %roomid
  %roomkey
  %roomkind
  %roomlink
  %roomload
  %roommob
  %roommode
  %roomname
  %roomnote
  %roomnum
  %roomobj
  %roomportal
  %roomvnum
  %roomzone
  %round
  %setglobal
  %sort
  %sqrt
  %state
  %stdev
  %string
  %stripansi
  %stripq
  %subchar
  %subregex
  %sum
  %time
  %trigger
  %trim
  %trimleft
  %trimright
  %upper
  %viewrec
  %walk
  %walkactive
  %walkconfirm
  %walkmode
  %walkroom
  %window
  %word
  %write
  %yesno
  %zonename
  %zonenum
  %zonevnum
Related Links:
  TriggerStatesTab
  Trigger Types
  Command Reference
  #ALARM
  #BEEP
  #RESUME
  #SUSPEND
  #WAIT
  Function Reference
  %alarm
  Trigger Command Options
  Terms and Definitions
  %alarm
  #ALARM
  #BEEP
  Triggers
  #RESUME
  #SUSPEND
  #WAIT
  Feature Summary
  Control
  Settings
  Trigger Types
  cmd
  Triggers
  Multistate triggers
  Pattern Wizard
%alarm [[%alarm]] 
alarm

Syntax: %alarm(pattern/id[, setTime])

Set or returns the time in milliseconds left until an exitisting alarm trigger fires.

Examples:

#ALARM "example" {+3} {#ECHO Fired.}

#ALARM {+2} {#SHOW ID:%alarm(example) Pattern:%alarm("+3")}

Creates 2 alarms, the second one fires after 2 seconds and displays the time remaning for the first. You computer speed will affect how close to 1000 both numbers are.

#ALARM "adjust" {*4} {#ECHO Fired.}

#ALARM {+2} {#NOOP %alarm(adjust,1000)}

Creates 2 alarms, the second one fires after 2 seconds and changes the time remaning for the first to 1 second. This changes only affects the alarm until it fires, then the pattern is back in full affect. To permanently change an alarms pattern use the #ALARM command.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net