Set the value of a unit as a counter.
set value of (name of pseudo unit)
to (number, any real number. 10, 4.5, 0.567, -5.23)
by (number, any real number to add to existing value. 5, -45, 3.1415, -9.3)
with no script (stops the executing of the script)
--increment a counter
set value of "Inside Motion Count" by 1
Setting the value to 0 will execute the OFF script, if any. Setting the value to a non-zero value will run the ON script if any.
You can use this verb to dim a real unit, but the values are limited to integers between 0 and 100 then.