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
➜ Plugins
➜ Plugins w/changeable aliases, triggers, etc.
Plugins w/changeable aliases, triggers, etc.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Silencher
(55 posts) Bio
|
Date
| Sat 06 Apr 2013 08:19 PM (UTC) |
Message
| Hello there.
I tried making a plugin with the plugin wizard and actually it worked. I made it for some useful triggers/aliases for a particular mud I play. The problem is that while everything works exactly as it is typed in, I can't seem to edit the aliases and triggers.
Is there a way to make a plugin that effectively imports the aliases/triggers/etc. so you can access them from game->configure and edit them? The reason I ask is certain minor changes need to be made with each character who uses the plugin. | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #1 on Sat 06 Apr 2013 08:54 PM (UTC) Amended on Sat 06 Apr 2013 09:01 PM (UTC) by Fiendish
|
Message
| You can if you use the ImportXML function.
And the lua addxml module provides a cleaner interface to it.
ImportXML adds directly to the world configuration, not to the plugin private members. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Silencher
(55 posts) Bio
|
Date
| Reply #2 on Sat 06 Apr 2013 11:36 PM (UTC) |
Message
| Can you explain that a little less technically? I am trying to get into scripting and stuff but I'm a newbie at it really. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Mon 08 Apr 2013 08:51 AM (UTC) |
Message
| What do you mean by "edit the triggers"?
Each world shares the same plugin file, so they are read-only. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
14,064 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top