Ouch! Good point, PunkTured...I totally overlooked this. Thanks for the reminder. So I figure this should do the trick:
on !*:QUIT: { var %x = $comchan($nick,0) while (%x) { writeini wb.ini $comchan($nick,%x) $nick yes dec %x } }