Although the question has already been answered by ohrenkine, this FAQ entry is an almost perfect match to your question: How do I create a new action?
Although the question has already been answered by ohrenkine, this FAQ entry is an almost perfect match to your question: How do I create a new action?