In the script-fu console (Filters>Script-fu>Console) hit the "Browse..." button. Everything is documented there.
Now, if you want to keep your sanity, use Python instead of script-fu. More readable, more powerful... and you can later use your acquired Python skills for many other things.
Now, if you want to keep your sanity, use Python instead of script-fu. More readable, more powerful... and you can later use your acquired Python skills for many other things.