http://manual.conitec.net/on_level.htm

In the example, the event function is defined as
function on_level_event(percent)

But shouldn't it rather be
function on_level_event(var percent)?