I’m working on a simple irc bot in C#, and I can’t figure out how to embed the typical mirc control codes for bold/color etc into string literals.
Can someone point me towards how to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The mIRC color code format is described here. I guess you’re asking how to embed a ^C in a string.
This is known as Caret notation. According to C0 and C1 control codes, ^C is:
Embedded in a string: