Main doc link:
http://www.cisco.com/univercd/cc/td/doc/product/iaabu/csids/index.htm
4.1 Specific Docs from above:
http://www.cisco.com/univercd/cc/td/doc/product/iaabu/csids/csids10/index.htm
Custom Sig specific docs from above:
Signature Engines:
http://www.cisco.com/univercd/cc/td/doc/product/iaabu/csids/csids10/idmiev/swappa.htm
Custom Signature Wizard in IDM:
http://www.cisco.com/univercd/cc/td/doc/product/iaabu/csids/csids10/idmiev/swchap3.htm#31623
Sounds like what you want is signature for a TCP packet signature with the TCP SYN flag set with a destination port of 6667.
OR a UDP packet signature with a destination port of 6667.
Both of these can be created through the Custom Signature Wizard.
If you are using IDS MC, then I still recommend using IDM to create the initial Custom Signature in the Custom Signature Wizard. You can then look at the created signature in IDM or in the CLI with "show configuration" and then you can use the generated paramters to create the same signature in IDS MC and push it to the sensors.