http://www.wowwiki.com/Interface_Customization
Has a tutorial section where you should start because you really should create a xml file if only to hold a single frame.
http://www.wowwiki.com/Category:HOWTOs
Should show you how to add a slash command.
HTH