incremental transform script...

http://www.scriptspot.com/3ds-max/scripts/incremental-transform
This Little script here is giving some errors when ran with Max 2015.

Looking for someone to A: Fix this script so it works with Max 2015, or B: create a new script.

Basically I need to transform objects in Increments, lets say when you move an object, we need to have it move a specific amount of units. For example 512 when dragging the transform Gizmo.