Turns out you can use escape sequences after all, just not to escape the initial quote. So if the nick starts with a quote surround it with the other kind of quote and escape all the occurence of that other kind inside the string. Done.
Turns out you can use escape sequences after all, just not to escape the initial quote. So if the nick starts with a quote surround it with the other kind of quote and escape all the occurence of that other kind inside the string. Done.