UI:Check box

This creates a check box in the ui panel for the script. The specified variable will contain "True" if the box is checked, and "false" if it is not. In the below script, checking the box causes a sub routine to run. Leaving it unchecked would not let the sub execute.