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
➜ Lua
➜ Accessing plugin functions from world file
|
Accessing plugin functions from world file
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Eritheyl
(2 posts) Bio
|
| Date
| Wed 04 Mar 2015 02:47 PM (UTC) Amended on Wed 04 Mar 2015 02:51 PM (UTC) by Eritheyl
|
| Message
| Hi there. I'm pretty new to writing my own stuff for MUSHclient, so apologies first and foremost if this is 1) stupid easy stuff or 2) already addressed somewhere that I cannot for the life of me find.
Problem:
I can't seem to find a method of accessing functions within a plugin script from the world file itself.
Details:
A plugin I've written for the game I play works well. But getting the most use out of it (for others and myself) requires being able to create aliases on the fly that run the functions -within- the plugin, that technically don't exist so far as the world file is concerned.
I know it's possible to just write the aliases into the plugin file itself, but that's a little unwieldy. So, is there a workaround or simple solution I've skipped over? | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #1 on Wed 04 Mar 2015 03:05 PM (UTC) |
| Message
| |
https://github.com/fiendish/aardwolfclientpackage | | 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.
13,984 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top