The two parts in red, arrange as you like
on !*^:quit:{
var %i = 1
while $comchan($nick,%i) {
echo $v1 15 $timestamp $nick [color:red]( $+ $address $+ )[/color] <Message for quitting> [color:red]( $+ $1-)[/color]
inc %i
}
haltdef
}
Same thing goes for the others as far as addresses.
Parts might have a $1- message as well.