01.07.2016, 21:51
Then either start from text[1] or put the @ in the specifier: "'@'u". You also need to add a string specifier to capture the chat. You can use a quiet specifier (enclose it in curly braces) if you're not interested in the text itself.