scripts/ctcp: convert to symbols
scripts/ctcp: restructure for less indentation