https://forums.totalwar.org/vb/showthread.php?t=76357

The bit with the Hobilars shows how to use a 'not' condition