getVert Selection

I created and editable mesh with a volume select and I'm running the script below and I have no idea why it does not work.

I followed the help file and it still seems to bug out.
Any help would be greatly appreciated.
Thanks

userSel = getCurrentSelection()
for obj in userSel do
(
	vertCount = obj.numVerts
	print vertCount
 
	for v = 1 to vertCount do
	(
		meshop.getVSelectWeight obj v  --getVertsSelection weight
 
	--	meshop.setVertColor obj 0 v green
	--	getVert obj v
	--	format "% %\n" v obj to:listener
 
	)
 
)