Setup guide

[admin@Wandy] >
delay - this action does nothing for a given amount of time. It takes one argument, an amount of
time to wait, whish defaults to one second.
time - this action calculates the amount of time needed to execute given console commands. It takes
one argument, which holds console commands the time action should be applied to. The commands
are executed once and the total amount of time taken is returned.
[admin@Wandy] > :put [:time {:delay}]
1s34.31ms
[admin@Wandy] >
log - this action adds an entry to the system logs. It two parameters, message which contains the
string needed to be added and facility which, in turn, specifies by which logging facility the
message should be logged. The facility parameter defaults to System-Info
[admin@Wandy] > :log facility=Firewall-Log message="Very Good \
\... Thing happened. We have received our first packet!"
[admin@Wandy] >
environment print - this action prints information about variables. All global variables in the
system are listed under the heading Global Variables. All variables that are introduced in this script
(local variables introduced by :local or created by :for or :foreach statements, global variables
introduced by :global, in short, all variables that can be used within the current script) are listed
under the heading Local Variables.
[admin@Wandy] > :environment print
Global Variables
g1=this is global variable
Local Variables
g1=this is global variable
l1=this is local variable
counter=2
[admin@Wandy] >
beep - this action forces the built-in beeper to beep a signal for length seconds at frequency Hz.
[admin@Wandy] > :beep length=2s frequency=10000
[admin@Wandy] >
Special Actions
Description
Monitor
It is possible to access values that are shown by most monitor actions from scripts. If monitor
action has do argument, it can be supplied either script name (see /system scripts), or console
commands.
Get
It is also possible to access from scripts values that are shown by most print actions. Most
command levels that have print action, also have get action. It has one or two arguments. If this
command level's get action deals with a list of items, the first argument is a name or an internal
number of an item. The second argument is a name of item's property which should be returned.
Notes