As for the Verilog coding aspect, sensitivity lists have no effect in synthesized combinational hardware.
A hardware serializer could look like the corrected code in your previous thread
https://www.edaboard.com/threads/basic-serializer-verilog.402007/
Comparison for changed data needs a clock and a register to store the previous value, it could be supplemented to the serializer code. Consider that a receiver must be able to synchronize to the serial data frame, respectively there must be an unequivocal frame start criterion, e.g. a start bit or pattern.