We will be happy to write your custom currency scripts for you; just
let us know what you need. But if you're a techie, feel free to give it a go
yourself. This section is for advanced users.
- Each currency definition has an optional initialization script, and a
required loop script.
- The initialization script is run once, before flight records are processed.
It is used for declaring variables to accumulate totals into.
- The loop script is run once for each flight record, starting from the most
recent, until either the currency check passes or all flight records
have been processed.
- The loop script is where you'll perform your checks (landings, approaches,
aircraft type, etc). Once the currency parameters are satisfied, the
loop script will use the predefined statement "currency_ok = 1;" to