Posted by member 31 on 2006-03-06 15:05:40 link

#define MAX_BANGCOMMAND 64 // length of !bangcmd name
#define MAX_BANGARGS 256 // length of arguments

The argument length is enforced when a bang command is executed from LM_BANGCOMMAND message handler and for any bang command that was registered from a module which is loaded as threaded.

Since any bang command executed from the command line or from an external process must use WM_COPYDATA (which in turn uses LM_BANGCOMMAND), they are limited to MAX_BANGARGS char count.