Retrieve application paths via script

Posted by Krenath on Sat 22 Jun 2002 04:29 PM — 4 posts, 19,474 views.

USA #0
Since plugins will eventually become more common, but users can install MUSHclient in a variety of places on a variety of systems, it would definitely be helpful if the following paths were remembered by MUSHclient, and their settings accessible via script

MUSHclient application path
Media files default path
World files default path
Log files default path
Script files default path
plugin files default path

Storing these different paths separately might make MUSHclient a little friendlier when browsing for files as well. If you've ever browsed for a sound effect, then a world/log/trigger/color file, then a sound effect again, you'll find that the folder that pops up is merely the last accessed folder, not the last accessed folder for that type of file.

Once plugins are shared more commonly, being able to easily access the user's preferred locations for various file types will ensure that if a plugin requires any external files (such as sound files) it will know precisely where they should be located.
Australia Forum Administrator #1
Good idea.
Canada #2
Related post here:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=1480&page=999999
Australia Forum Administrator #3
Added extra selectors to world.getinfo:

56 MUSHclient application path name
57 World files default path (directory)
58 Log files default path (directory)
59 Script files default path (directory)
60 Plugin files default path (directory)