The Colloquy plug-in uses Perl regex to correct typos in your last message sent through IRC. It helps to improve accuracy in communication.
By taking the regular expression and re-sending the sentence with the spelling correction, this plugin allows you to correct your typo with ease. To use it, simply enter the following: s/[typo]/[typo-correction]/, replacing [typo] with the word you misspelled and [typo-correction] with the correct spelling.
If you want to install the Colloquy Fix Your Last Input (Regex) plugin, the steps are straightforward. First, unzip the file, then move it to ~/Library/Application Support/Colloquy/PlugIns/. If that folder doesn't exist, create it. If this is your first time installing the plugin, go to Colloquy and type /reload plugins. If it's an update or the script fails to load, re-launch Colloquy.
It's worth noting that this plugin only works for your last sent message. However, for anyone who's ever wished they could correct a typo in an IRC chat, the Colloquy Fix Your Last Input (Regex) plugin is a welcome addition to their toolkit.