Hello.
Have a look at my Fox Spells package.
There is a script in it:
fox_export_chars.
Its purpose is to export a player (or also all players).
If a player to export happens to be polymorphed, the script will ensure he retains all item properties.
The opening comment of the script explains its usage.
Hm. That script is practically stand-alone.
You may want to rip it and use it for your module -- no problem.
At best you have to delete a couple references to a constant I define elsewhere.
Nothing you can not handle on your own, I am sure.
-fox
Modifié par the.gray.fox, 09 avril 2011 - 04:04 .