source wants a filename that will then be executed/loaded, so depending on where the cloud-function is defined, you need to source that file. This is all in the case of MEL scripts btw, for Python you have to do it differently - either use the python() function in the userSetup.mel or make a userSetup.py as passerby…
Thanks for the answer, Have i understood this correctly: 1. Create a file called userSetup.mel in my Maya script folder. 2. If the ordinary command for launching the script is "cloud;" Then i simply write in: source cloud; in the mel file?