Can you create a procedure, that you can call over and over and over again within mbot program?
Yes, that would be a Block. Under Data & Blocks.