hotkey to toggle Show pts

 From:  co3Darts (CO3DPRINTS)
8119.1 
Looking through forums, I'm not able to find the script syntax to execute a toggle of the command "Show pts".

I wish to have a toggle on selected curve(s) or geometry that will toggle their points quickly.

"Show pts" when executed in the command line works but not in the hotkey editor and variations aren't work for me either.

y=script:moi.command.DoShowPoints();
y=script:moi.command.ShowPoints();
y=ShowPoints

Thanks in advance

Jason

Solved: y=ShowPoints

EDITED: 2 Oct 2016 by CO3DPRINTS