3FGTFEHSZ2MHUL2RIOL2JGUCUGRG2KIYD7E47FMYVTPR4YJIQS3QC
OF3H5VU2V3YWNALAFGB5AVZBDCKDBSU5VJUGTOCCCKTQ3ZJVIWYQC
H73SZ4LP4TNY6A2F3O3BYDXGUOQ2EEHQ5XZIXZZDE4YARDQ453KAC
JNH3WFMLVA7LQTESIA56TXIPGG2XD4L67XT55YTKQ7KCYHYTMBVQC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
IYLSA6ZGOCMHNFXRZ6LIXHWN5AAD7Q2BYFDD65HHNV2NQLK3EXAAC
SX4IAP27IQ7B5QFX74GKQYRX4IJSJTZ4CLH7EPFSJWATV7LVXR4AC
CGPQSMRFAEGSEMLDQWPHLEOAF26HVF3IC6BEKRCOSV2H6QLIBEAQC
4VNZQBWQEJCH3Q7RQWSWOCLBKHUCFR4WLHFQUODWW3UFIC7LB7XAC
pub fn ctcp_decode(msg string) ?string {
// vlang regex not supported: r'^\x01.*$'
if msg[0] == 1 {
return msg[1..msg.len - 1]
} else {
return error('not a CTCP command')
}
}