Change this part
Code:
  set $+(%,mode.,$chan) $1- 


To

Code:
  set $+(%,mode.,$chan) $chan(#).mode 


So it saves the current channel modes.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!