You are very correct Spanky. Giving someone the power to open a window on your computer should be done with more caution than any other script. The result of an invite flood on this script would be your computer crashing.
Iron Clad flood protection for this script is a must, as it creates a major exploit.