if ((($OV + 1) % 2), $OV, $OV+1)
Used it to control the number of sides on a gear HDA so the spokes would always have a gap between them. Not super useful but a fun challenge for my first hscript and adds a bit of user friendliness.
Can it be optimized? Would it be better to write it in VEX or Python maybe?
Image Not Found