If you want to create your own widget, based on any script, just create a new folder in the WIDGETS directory (name containing 10 or less characters), and add a main.lua text file, containing the following line of code:
where the yourLuaFileLocation is refering to the lua file, noted WITHOUT the ".lua" extension, that is added by the widgetcreator.
The default widget options are automatically created, and allow you to adapt the widget to your liking.
IF YOUR SCRIPT IS NOT CONVERTED CORRECTLY, PLEASE SEND A COPY BY MAIL WITH THE REQUEST TO CHECK IT FOR CONVERSION COMPATIBILITY.
Most of times it can be solved within a day, free of charge. Sometimes not, so no guarantees for conversion success are granted.