Does that just include userhost-in-names, or a more general customization of CAP?
Right now, in order to do SASL Authentication for example, one has to add events for on LOGON in order to get some custom CAPs added to the ACK (at least thats what I noticed while writing my SASL script). Initially, I thought I could just piggyback and wait for the CAP LS reply, but mIRC got ahead of me and sent its ACK/END before mine got through. And thats pretty much what I've seen with the other scripts (such as sasl and sasl-lite from Freenode).
Unless I did something wrong there, I can only imagine that adding scripts to deal with other CAPs would involve the same.