You can either store your data in an XML file, or in the registry. XML file is the "standard" for most apps I guess, but I suggest the registry because if a user updates the script, all previous settings won't be lost, where as with XML if the file is in the Script directory, they will be.
Here are some ways to access the registry.
http://www.mpscripts.net/code.php?cat=90