Skip to content

plugin_test

Alejandro Mora edited this page Mar 9, 2026 · 1 revision

Test plugin

This plugin provides two functions primary for testing purposes.


Functions:

test:bar(index, max, start, delta) returns a value between 0 and max
test::onoff(index) returns 1 and -1 in turn every time called

The test::bar function is used for testing bars. It keeps values for up to 10 bars (specified with the parameter) which are incremented and decremented between 0 and by amount every time they are read. Starting value is .

The test::onoff function is used for testing the visibility of icons. It provides up to 10 values (specified with the parameter) which switch between -1 and 1 every time it is called.


Clone this wiki locally