I see no reason whatsoever not to add a native built encryption.

Something where we can $encrypt and $decrypt, and a built in encryption scheme for channels, nicknames, and windows.

As others have pointed out, scripting isn't feasible, since there would need to be a standard, and scripts don't provide that.

If this idea were added, a few things to consider. Keep the data "raw" in debug, and give options in channel logs as to show encrypted, decrypted, or hiding it altogether.