Multiple Configuration Files

Posted by Pokkie on Tue 27 Oct 2009 01:08 PM — 2 posts, 10,920 views.

#0
I am currently in the process of converting from zMud to Mush. I have quite a few variables/aliases/triggers in zMud and as I am busy converting them to Mush I cannot help but think that one day, my Mush world file is going to be so big that it is not going to be managable.

Therefor, I want to know if the current Mush client provides a feature where I can declare my various variables/aliases/triggers in their own files and then simply import them into the main world file?

Something like:



<muclient>
<world>

</world>

<imports>
 <import type="triggers" file="my_triggers.xml"/>
 <import type="aliases" file="my_aliases.xml"/>
</imports>

</muclient>



Regards,
-- pok
Amended on Tue 27 Oct 2009 01:11 PM by Pokkie
USA #1
You're looking for the Plugin functionality, I think. Plugins are XML files which contain triggers, aliases, variables, and so on, as well as loose scripting code (i.e. not specifically attached to any one trigger/alias/timer).

Nick made a video tutorial on creating plugins. Take a look: http://vimeo.com/80326690