I'm currently making a twitch bot, I've got mIRC setup and the bot is in the chat, and I've tested some commands and everything seemed fine. I don't know any mIRC, but I do know python well, so I was wondering if I could make mIRC execute a python script and give it the data from the command in the chat, and then on python process the data and send the answer back to mIRC to post it onto the chat? I was able to execute a python script on my computer that just printed "Your bot is working" through the chat with:
on *:TEXT:!python:#: { run C:\Users\Zenithsiz\Desktop\Test.py [arguments]}
But I don't know how through python I would pass the data, which is just a string to post in the chat and I can't find any way to do it.