This is a strange question, but I just want to see if it's possible.
Basically, would I be able to safely connect the 3.3 or 5v cable to another GPIO pin as a sort of jumper? So for example, if if the cable is not connected, a script will not run, however if the pin is connected to another 3.3v/5v output on the Pi, run that script?