Hi again! So.. i'm not sure about this but this could work provided that you haven't changed any of the python scripts lines. A better way to do this is to write the channel and network in a .txt and then reading it with python to get the values. But this kinda worked for me.
do !py server channel
replace server with the server you want and channel with the channel you want!
Good luck!
ON *:TEXT:*:#: {
if ($1 == !py) {
write -l10 <script path here> HOST = $+(",$strip($2),")
write -l11 <script path here> CHAN = $+(",$strip($3),")
run py <script path here>
}
}
hey :D sorry i was testing it on my channel and forgot to change xD please change it to CHAN
Also thanks xD i actually wanted to add that but forgot! I'll do it later!