I noticed the %chan vs. $chan too.

Here's what I ended up doing to get it to work:

set %z $wildtok(%a,$chan $+ *,1,32)
set %userchans $reptok(%a,%z,$+($chan,$chr(124),$ctime),0,32)