Optional procedure argument

does anyone know if this is possible? it'd be great to have a proc that didn't require arguments.

for example if i had a proc that required an argument, if the user tries to run the command without an argument, it pops up a help window, describing how to use the proc...