Saving and distributing a script


The idea

KVirc attempts to manage scripts in a slightly different way than other clients.
I've tried to join the 'script' and the 'theme' idea all in one.
At the same time I wanted to develop an easy way to create,install and transfer the 'script'.
So here we go:
The 'script' in KVirc is a single file,containing events,popups,aliases,color preferences, color mappings,the interface options (backgrounds,colors and fonts) and the contents of some directories.
It is easy to transport,easy to create and hopefully portable between different platforms.
All the parts of the scripts are optional ; that means that you can save your aliases but not save your color mappings...or save the interface options and some background files and not save your aliases and events....

Setting up the script

Here I assume that you want to save a complete 'script'.

Notes

-The file that you want to ship should use the 'kvs' exension (scriptname-version.kvs).
-If you're planning to make it available to the public domain, you should ship it in an archive (something like a tar.gz) , that contains also a README file with a short description.
-If you want to ship other files,remeber to install everything in $KVIRCHOME/kvirc ; don't install in $KDEDIR/share/apps...and so on.
Index