Resource scripts can be used to automate repetitive tasks in Metasploit. They contain a set of commands that are automatically and sequentially executed when you run the script in Metasploit. Historically, Metasploit users have only been able to run resource scripts from msfconsole. However, Metasploit 4.12.0-2016120707 includes the ability to run resource scripts directly from Metasploit Pro. So now, you can do anything you can do almost anything you'd do in the Metasploit Framework in Metasploit Pro. Read this guide to learn how you can import and run your own resource scripts.