Script help?

 From:  wheel
952.20 
Hi, I quite like the idea of changing the nudge distance to whatever the "grid snap" is set to, but am having problems getting it to work. I have tired setting the " var dist = moi.grid.snapSize; " in both Petr and Michaels nudge script versions. Should the hotkey settings be the same for Petrs and Michaels versions , the four arrow keys and page up and down ?