Howto save a 'MyVariable' when quitting

Posted by Eloge on Wed 22 Dec 2010 05:20 PM — 2 posts, 12,021 views.

#0
How can I save the contents of a variable that i have defined and frequently use (which I called Number_of_potions) when i quit the player from a mud, either to end mush-client or to continue with another char/mud.

Thank you.

Eloge
Amended on Wed 22 Dec 2010 10:52 PM by Eloge
Australia Forum Administrator #1
To save for the current world just use SetVariable in a script to save that variable. Variables are saved as part of the world file.