Accessing plugin functions from world file

Posted by Eritheyl on Wed 04 Mar 2015 02:47 PM — 3 posts, 14,539 views.

#0
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?
Amended on Wed 04 Mar 2015 02:51 PM by Eritheyl
USA Global Moderator #1
Template:function=CallPlugin
CallPlugin

The documentation for the CallPlugin script function is available online. It is also in the MUSHclient help file.

#2
Thanks much!