Sorry for borrowing your thread, Kadir.
Do i return at the end of the function called by the command? Or where do i do it, because i have this problem.
Where ever you want the function to stop functioning. If you need the whole function to execute then you put it last.