read the maya documentation and help files. cause ya know... they help but basically mel scripts can do anything from turning a complex task into a simple button to push to adding another ability to maya that you might need but it didn't have already.