Got a little tip that you might like:
You can set a var to another var, and then inc that var or check its value by using $eval
accordingly, as you can see here, it shortens the code a whole lot.
var %a = $+(%,rl.,$wildsite)
inc -u3600 $(%a)
if $(%a,2) == 1 { }
elseif $(%a,2) == 2 { }
else { }
Greets