Well you can always use the $eval identifiers to evaluate 2 or 3 times the values...
like:
set %userchans $eval( $reptok(%a,$+($chan $+ *),$+($chan $+ $chr(124) $+ $ctime),1,32), 2)
the last numbers belong to the $eval method that will in this case evaluate 2 times de value and get the proper data...
hope this had help...