I was wondering if there is any possible way to take a segment of someones sentence and write it to a file.
Lets say the giveaway bot has selected a winner - in the chat it will display "Giveaway ended - The winner is Bill". Is there anyway I can get the "The winner is Bill" part of the bots sentence and write it to a file. When I do the command "!Winner" the bot will say "The winner is Bill" + any other winners from any other giveaways. (If 3 people win it will say "the winner is bill" "The winner is jack" "the winner is aaron" and so on.
Thank you for any help, i'm not even 100% sure if this is possible. Thanks again!