BBot - The best bot of the world
Copy part of message and save in variable - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Copy part of message and save in variable (/thread-21078.html)



Copy part of message and save in variable - Mindria - 07-21-2019

Hello.
I need a script/macro that copies part of the message appearing on server log (system message) and save in a variable.

Like that:

12:49 [Sistema Anti-Bot] Responda a pergunta a seguir através do comando !r ". Se não responder corretamente será banido. PERGUNTA: Qual é o soul point atual do seu personagem? [Exemplo de resposta: !r 182]

I need to copy the bold words after the word "PERGUNTA:" until the parentheses.
Is there a way to do that?


RE: Copy part of message and save in variable - gusttavomarinho - 07-23-2019

and for radbr?


RE: Copy part of message and save in variable - Mindria - 07-26-2019

(07-23-2019, 02:45 AM)gusttavomarinho Wrote: and for radbr?

Yeah ahahahah