Plugins w/changeable aliases, triggers, etc.

Posted by Silencher on Sat 06 Apr 2013 08:19 PM — 4 posts, 18,169 views.

#0
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.
USA Global Moderator #1
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.
Amended on Sat 06 Apr 2013 09:01 PM by Fiendish
#2
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.
Australia Forum Administrator #3
What do you mean by "edit the triggers"?

Each world shares the same plugin file, so they are read-only.