Quit actively running Python script from within MMF2.

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I have MMF2 running a Python IRC bot - so far, initializing the code works - the bot connects to IRC and prints content submitted to the IRC chan back into MMF2, but I notice that when I exit MMF2 or attempt to open a different .py file, the bot code continues running.

    I need MMF2 to be able to end the execution of the IRC python code itself - preferrably without having to exit the MMF2 project or destroying the Python object. Any solutions? I've tried loading a seperate python file with the content:
    import os
    os._exit(0)

    ...but the python object seems to treat it like a completely individual python file instead of applying the command to the currently running IRC.py. Admittedly, I don't know much about Python. It's more my girlfriend's thing - but she wants me to create a GUI for her Py code. -_-

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!