Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Multiple Configuration Files

Multiple Configuration Files

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Pokkie   (11 posts)  Bio
Date Tue 27 Oct 2009 01:08 PM (UTC)

Amended on Tue 27 Oct 2009 01:11 PM (UTC) by Pokkie

Message
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
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #1 on Tue 27 Oct 2009 07:41 PM (UTC)

Amended on Tue 26 Nov 2013 12:47 AM (UTC) by Nick Gammon

Message
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

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,464 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.