Ghost-writer, the reason the regsubex loop wasn't used is that it'll message the whole room, including the client running the code.