Originally Posted by Scripting View Post
This function doesnt return anything, you must use "return" .
There is no function that can return anything and if main returning anything would not solve the issue.

Originally Posted by zemzela View Post
Could you fix code, it is really important for me. thank you for your time
No one would do that for you unless you show your effort to do it yourself.